Ok, to hide join & leave messages you need to set the perm pocketmine.broadcast.user for all groups
This will also hide messages like achievements and players’ deaths
After you do so,make the following commands:
/cmd create connect Login and leave event | Not for manual use
/cmd add connect if args1 = \“login\” then message onlineplayers() p has joined the server
/cmd add connect if args1 = \“leave\” then message onlineplayers() p has left the server
/cmd unregister connect
/cmd trigger login connect
/cmd trigger leave connect
That’s for changing join & leave messages, “p has joined/left the server” is the message that will be sent, you can change it to anything you like, colors are supported too.
/cmd create death Death event | Not for manual use
/cmd add death dead-player = args2
/cmd add death killer = args3
/cmd add death method = args5
/cmd add death message onlineplayers dead-player was killed by killer using the method method.
/cmd unregister death
/cmd trigger death death
That’s for the death message
CREDITS :: Ammar
This will also hide messages like achievements and players’ deaths
After you do so,make the following commands:
/cmd create connect Login and leave event | Not for manual use
/cmd add connect if args1 = \“login\” then message onlineplayers() p has joined the server
/cmd add connect if args1 = \“leave\” then message onlineplayers() p has left the server
/cmd unregister connect
/cmd trigger login connect
/cmd trigger leave connect
That’s for changing join & leave messages, “p has joined/left the server” is the message that will be sent, you can change it to anything you like, colors are supported too.
/cmd create death Death event | Not for manual use
/cmd add death dead-player = args2
/cmd add death killer = args3
/cmd add death method = args5
/cmd add death message onlineplayers dead-player was killed by killer using the method method.
/cmd unregister death
/cmd trigger death death
That’s for the death message
CREDITS :: Ammar