Jsou dvě možnosti, jak změnit MOTD serveru, nejjednodušší možností je úprava souboru server.properties. Druhou možností je instalace pluginu, který poskytuje více možností jako například jiné MOTD pro každého hráče nebo přidání tabulky po najetí na počet hráčů.
Nastavení MOTD v server.properties
Nastavíme ho v server.properties na řádku
motd=A Minecraft Server
Můžete využít tento generátor k vytvoření.
Nastavení MOTD přes plugin
Existuje celá řada pluginů které umí nastavit MOTD a zároveň mají spoustu dalších funkcí.
V tomto návodu využijeme plugin MiniMOTD.
INSTALACE
- Stáhněte si plugin MiniMOTD
- Nahrajte plugin přes Správce Souborů v administraci do složky plugins
- Restartujte server
KONFIGURAČNÍ SOUBOR MINIMOTD
# MiniMOTD Main Configuration
# Enable server list icon related features
icon-enabled=true
# Enable MOTD-related features
motd-enabled=true
# The list of MOTDs to display
#
# - Supported placeholders: <online_players>, <max_players>
# - Putting more than one will cause one to be randomly chosen each refresh
motds=[
{
# Set the icon to use with this MOTD
# Either use 'random' to randomly choose an icon, or use the name
# of a file in the icons folder (excluding the '.png' extension)
# ex: icon="myIconFile"
icon=random
line1="<rainbow>help.hostify.cz - první - řádek"
line2="druhý řádek <gradient:blue:red>Gradienty"
},
{
# Set the icon to use with this MOTD
# Either use 'random' to randomly choose an icon, or use the name
# of a file in the icons folder (excluding the '.png' extension)
# ex: icon="myIconFile"
icon=random
line1="<blue>help.hostify.cz <bold><green>- <red>první řádek"
line2="<italic><underlined><gradient:red:green>druhý řádek"
}
]
player-count-settings {
# Should the displayed online player count be allowed to exceed the displayed maximum player count?
# If false, the online player count will be capped at the maximum player count
allow-exceeding-maximum=false
# Setting this to true will disable the hover text showing online player usernames
disable-player-list-hover=false
# Settings for the fake player count feature
fake-players {
# Modes: add, constant, minimum, random, percent
#
# - add: This many fake players will be added
# ex: fake-players="3"
# - constant: A constant value for the player count
# ex: fake-players="=42"
# - minimum: The minimum bound of the player count
# ex: fake-players="7+"
# - random: A random number of fake players in this range will be added
# ex: fake-players="3:6"
# - percent: The player count will be inflated by this much, rounding up
# ex: fake-players="25%"
fake-players="25%"
# Enable fake player count feature
fake-players-enabled=false
}
# Setting this to true will disable the player list hover (same as 'disable-player-list-hover'),
# but will also cause the player count to appear as '???'
hide-player-count=false
# Changes the Max Players to be X more than the online players
# ex: x=3 -> 16/19 players online.
just-x-more-settings {
# Enable this feature
just-x-more-enabled=false
x-value=3
}
# Changes the Max Players value
max-players=69
# Enable modification of the max player count
max-players-enabled=true
}