People not gona use this for a alert/broadcast if you must to change the message in the config file and reload the server its not gona work
go work with agrs so players can do /bc hi and your ting say [alert] hi
I'll will rek you i start with coding now
This will also prevent you from getting THIS MESSAGE IS NOT ALLOWEDmultiple times if the message contains more than onw blocked phrase.
Also could you make it so the user can define the blocked words and the replaced words/replacements in a config file that is read in when the plugin is loaded?
And maybe a reload command if the user wants to edit the file while the server is running.
This will also prevent you from getting THIS MESSAGE IS NOT ALLOWEDmultiple times if the message contains more than onw blocked phrase.
Also could you make it so the user can define the blocked words and the replaced words/replacements in a config file that is read in when the plugin is loaded?
And maybe a reload command if the user wants to edit the file while the server is running.
The reason because it isn't added is simple: I wanted to check the reaction (and opinion) of the people on the forums, once the reaction its good, I'll make better things :P
The reason because it isn't added is simple: I wanted to check the reaction (and opinion) of the people on the forums, once the reaction its good, I'll make better things :p
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.