You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2025. It is now read-only.
When creating a parameter, you must define the parameter name inside the constructor, like so:
new PrefixedParameter("Name goes here"){}
Finally, you must create the use(Player player, String message) method, which will be called when a player chats, as long as it is defined in the Prefixed configuation.
##Example
This code adds the parameter "-CAPNAME", which returns the player's name in uppercase.
Then, when the parameter "-CAPNAME" is defined in the prefixed config format node, it will place the players name in caps where the "-CAPNAME" parameter is.