srnyx / personal-phantoms

Plugin for per-player phantom spawning
MIT License
3 stars 3 forks source link

Config for translating messages #2

Closed hilltty closed 1 year ago

hilltty commented 1 year ago

What and How?

messages:
   no-permission: "&cYou do not have permission to use this command!"
   ivalid-player: "&4{player} &c is an invalid player!"
   must-be-player: "&cYou must be a player to use this command!"
   cooldown: "&cYou must wait &4 {timer}&c seconds before using this command again!"
   # and so is everyone else

Why?

I think this would be incredibly handy, because now you need to recompile the plugin every time to change the messages.

Are there alternatives?

Change the message in the source code and compile the plugin

Checks

Anything else

No response

srnyx commented 1 year ago

Update released!