-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenerate.js
37 lines (35 loc) · 940 Bytes
/
generate.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
const firstLine = (feature) => `&r&7&cCr&6af&ete&an &2Se&3rv&9er&r&7&8 | &6${feature} &e+ viel mehr&8 | &71.9-1.11`
const news = [
'Jetzt mit End!',
'Besser als je zuvor!',
'Kann Spuren von Creepern enthalten.',
'Keep calm and play on Craften.'
]
const dynamicSecondLines = [
'Worauf wartest du noch, &6%player&c?',
'Deine Insel wartet auf dich, &6%player&c!'
]
const features = [
'Skyblock',
'Survival',
'Build',
'Creative',
'Paintball',
'Mob Arena'
]
console.log('motds:')
console.log(' generic:')
features.forEach((feature) => {
news.forEach((newsLine) => {
console.log(` - '${firstLine(feature)}%newline&c${newsLine}'`)
})
})
console.log(' dynamic:')
features.forEach((feature) => {
news.forEach((newsLine) => {
console.log(` - '${firstLine(feature)}%newline&c${newsLine}'`)
})
dynamicSecondLines.forEach((line) => {
console.log(` - '${firstLine(feature)}%newline&c${line}'`)
})
})