I was wondering if it is possible to change the default ban/kick message a player receives when kicked/banned. I know you can do it with plugins, but I would like to change the default "banned by admin" or "kicked by admin" text, and reformat the reason layout. Is there a way to do this by going to src-defaults-commands? Thank you for the help.
If you listen to PlayerPreLoginEvent you will be able to detect if a player is banned or not. For kicking however you would need to override the Kick command to change it when someone uses /kick
But how would I do that? It’s getting annoying when I use a tempban plugin and it says the following: Kicked by admin. Reason: You have been banned for 5 hours, 6 minutes. I’m trying to get rid of the first part. It would be much smoother if it wasn’t there.
If you think the plugin could be better, then contact plugin's author and tell him what you want to make better... ..I can't tell you what you should edit if I haven't any code.