Olá amigos da Gamer's Board
Hoje ensinarei como adicionar 3 linhas de MOTD no seu servidor
(Tem um método antigo já postado por um usuário: Link)
1. Baixe e instale na pasta plugins o ServerListMOTD (e sua dependência, ProtocolLib) e ligue o servidor.
2. Após isso, abra a config.yml que está na pasta do ServerListMOTD.
# ----------------------------------------- [ Configuration File ] ------------------------------------------ #
# Questions or problems? Go to http://dev.bukkit.org/bukkit-plugins/serverlistmotd/
# Need help with the config? Go to http://dev.bukkit.org/bukkit-plugins/serverlistmotd/pages/config-explanation/
# If you want to see your server on my plugin page, pm me on Bukkit! This is the best advertisement you can get!
# Have fun! Kind regards, Strumswell.
Motd:
Message:
Regulars: ' &a&l&kii&f&l&kii&f&l >>> &b&lSky&9&lSpace &f&lNetwork <<< &f&l&kii&a&l&kii&f&l%line%&fBem-vindo &e&l%player%&f!'
Newbies: ' &a&l&kii&f&l&kii&f&l >>> &b&lSky&9&lSpace &f&lNetwork <<< &f&l&kii&a&l&kii&f&l%line%&a&lNovato a vista! &f&lBem-vindo&f&l!'
RandomMessages:
Enable: true
Regulars:
- ' &a&l&kii&f&l&kii&f&l >>> &b&lSky&9&lSpace &f&lNetwork <<< &f&l&kii&a&l&kii&f&l%line%&fBem-vindo &e&l%player%&f!'
- ' &a&l&kii&f&l&kii&f&l >>> &b&lSky&9&lSpace &f&lNetwork <<< &f&l&kii&a&l&kii&f&l%line%&fBem-vindo &e&l%player%&f!'
- ' &a&l&kii&f&l&kii&f&l >>> &b&lSky&9&lSpace &f&lNetwork <<< &f&l&kii&a&l&kii&f&l%line%&fBem-vindo &e&l%player%&f!'
- ' &a&l&kii&f&l&kii&f&l >>> &b&lSky&9&lSpace &f&lNetwork <<< &f&l&kii&a&l&kii&f&l%line%&fBem-vindo &e&l%player%&f!'
Newbies:
- ' &a&l&kii&f&l&kii&f&l >>> &b&lSky&9&lSpace &f&lNetwork <<< &f&l&kii&a&l&kii&f&l%line%&f&lEncontramos +1! Bem-vindo&f&l!'
- ' &a&l&kii&f&l&kii&f&l >>> &b&lSky&9&lSpace &f&lNetwork <<< &f&l&kii&a&l&kii&f&l%line%&f&lNovato a vista! &f&lBem-vindo&f&l!'
- ' &a&l&kii&f&l&kii&f&l >>> &b&lSky&9&lSpace &f&lNetwork <<< &f&l&kii&a&l&kii&f&l%line%&f&lEncontramos +1! Bem-vindo&f&l!'
- ' &a&l&kii&f&l&kii&f&l >>> &b&lSky&9&lSpace &f&lNetwork <<< &f&l&kii&a&l&kii&f&l%line%&f&lNovato a vista! &f&lBem-vindo&f&l!'
BanMessage:
Enable: true
MessageTempBan: '&c&lBANIDO! Razao: &e%reason%%line%&c&lAcaba em: &e%expdate% as %exptime%'
MessageForeverBan: '&c&lBANIDO! Razao: &e%reason%%line%&c&lAcaba ao INFINITO E ALEM!'
FormatDate: DD/MM/YYYY
FormatTime: hh:mm:ss
TimeVariable:
NightText: noite
DayText: dia
World: world
WeatherVariable:
RainText: chuvoso
SunText: limpo
World: world
Slots:
FakeMaxPlayer:
Enable: false
Number: 200
FakeOnlinePlayer:
Enable: false
Number: 122
RandomNumber:
Max: 20
Min: 15
VersionText:
Enable: true
Message: '&a&lEntre! &e&l1.8.X &f&l-> &f&l%realonline%&e&l/&f&l%realslots%'
UnknownSlots:
Enable: false
SlotsPlusOne:
Enable: false
MinSlots: 5
MaxSlots: 100
AddSlotsToOnline: 1
OnlineMultiplier:
Enable: false
MinSlots: 100
MaxSlots: 2500
AddSlotsWhenOnline>Slots: 1
MultiplyBy: 5
HoverText:
Enable: true
Messages:
- '&a&l&kiiiiii&f&l >>> &b&lSky&9&lSpace &f&lNetwork &f&l<<< &a&l&kiiiiii'
- '&a&l+ Entre!'
- '&b&l+ Um mundo de aventura o(a) aguarda.'
- '&a&l+ Entre!'
AutoSaveConfig:
IntervalInMin: 30
RestrictedMode:
Enable: false
Motd:
AccessGranted: '&4Server is in restricted mode! You are able to join.'
AccessDenied: '&4Can''t connect to server.'
Slots:
VersionText: ''
KickMessage: 'java.net.ConnectException: Connection timed out: no further information.'
DoNOTtouchMe: 5.0
3. Procure por MOTD, lá contém as suas linhas de nº 2 e 3.
Motd:
Message:
Regulars: ' &a&l&kii&f&l&kii&f&l >>> &b&lSky&9&lSpace &f&lNetwork <<< &f&l&kii&a&l&kii&f&l%line%&fBem-vindo &e&l%player%&f!'
Newbies: ' &a&l&kii&f&l&kii&f&l >>> &b&lSky&9&lSpace &f&lNetwork <<< &f&l&kii&a&l&kii&f&l%line%&a&lNovato a vista! &f&lBem-vindo&f&l!'
4. Em Message, irá ter 2 tipos de MOTD's:
Regulars: Players que já entraram nesse servidor.
Newbies: Players novos
OBS: Como padrão, caso NÃO exista a tag %line%, o texto irá ficar apenas na linha 2. Por isso, quando for fazer a 3ª linha, coloque a tag após ter escrito tudo o que quiser na linha 2 (a lista completa das tags está no tópico oficial, no site do Bukkit).
5. Após ter feito as linhas 2 e 3, procure por VersionText. Ele é a sua 1ª linha.
VersionText:
Enable: true
Message: '&a&lEntre! &e&l1.8.X &f&l-> &f&l%realonline%&e&l/&f&l%realslots%'
6. Em Enable, digite true (caso contrário... lógicas da vida) e em Message, coloque o texto desejado.
OBS: Se quiser colocar textos acentuados, use um conversor para caractéres UTF-8
O resultado fica nesse estilo:
(claro, essas já são minhas customizações...)
Espero ter ajudado de alguma maneira, e me desculpe caso já exista um tutorial desse plugin (sabe... meu 1º tópico...). Se gostou, dá um like aí no tópico, não cai a mão...