how would i set a custom restart message ?

Hi, im trying to set a custom message whenever i restart my server i am currently running paper 1.19.4
34 Replies
ProGamingDk
ProGamingDk2y ago
spigot.yml has it iirc else its bukkit.yml
SrWinter
SrWinterOP2y ago
whenever i try doing that it just doesnt work
ProGamingDk
ProGamingDk2y ago
how are u restarting it?
SrWinter
SrWinterOP2y ago
/restart the message never goes to my command
ProGamingDk
ProGamingDk2y ago
what message do u get
SrWinter
SrWinterOP2y ago
the default message, Server is restarting
MrRazamataz
MrRazamataz2y ago
defo spigot.yml
No description
SrWinter
SrWinterOP2y ago
ah how would i add extra lines? \n?
Mortis
Mortis2y ago
@SrWinter you'd use \n , try it and see if it works. If your issue has been solved let us know
SrWinter
SrWinterOP2y ago
alright
SrWinter
SrWinterOP2y ago
Not sure if this is correct but this is what i put for my stuff
No description
SrWinter
SrWinterOP2y ago
and this is in spigot.yml
Mortis
Mortis2y ago
mhm try it
SrWinter
SrWinterOP2y ago
did it and it crashed the server
Mortis
Mortis2y ago
share the Error
SrWinter
SrWinterOP2y ago
it doesnt have one it just starts then once it done starting just crashes
Mortis
Mortis2y ago
can u share the msg here put ``around it `` the restart one
SrWinter
SrWinterOP2y ago
gotcha oops didnt mena to do that
Mortis
Mortis2y ago
all good i'll look in logs
SrWinter
SrWinterOP2y ago
"§1SERVER§r is restarting!\n\nOur Server should be back online shortly.\nIf any issues happen contact our staff on discord!\n\ndiscord" there
Mortis
Mortis2y ago
restart-message: '&1SERVER&r is restarting!\n\nOur Server should be back online shortly.\nIf any issues happen, contact our staff on discord!\n\n&1&1https://discord.gg/[code]' use this and get back to me @SrWinter any issues?
SrWinter
SrWinterOP2y ago
it worked once i changed it but the stuff you sent me didnt i got no clue
Mortis
Mortis2y ago
hm
SrWinter
SrWinterOP2y ago
it added another restart: server is restarting
Mortis
Mortis2y ago
try restart-message: '&1SERVER&r is restarting! || Our Server should be back online shortly. || If any issues happen, contact our staff on discord! || &1&1https://discord.gg/FeGunMu9e5'
SrWinter
SrWinterOP2y ago
also whenever i restarted, it asys it was detected in a crash state which isnt good i hope
Mortis
Mortis2y ago
mmh please get back to me if the above works or not
SrWinter
SrWinterOP2y ago
course
SrWinter
SrWinterOP2y ago
same thing just says it crashed & its back to the default message
No description
No description
SrWinter
SrWinterOP2y ago
i tried to change the message from restart-message to restart but that also broke the server
Mortis
Mortis2y ago
I feel like the string might be too long
SrWinter
SrWinterOP2y ago
oh
ProGamingDk
ProGamingDk2y ago
thats just pterodactyl
SrWinter
SrWinterOP2y ago
ah

Did you find this page helpful?