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