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
I've already got a DataStorage class which kinda works in that way. I could probably add the messages to a String[] and correspond each message in that array to an error code…
Is there really enough different message outputs that would warrant storing them all separately though? They're all also used just once, so it doesn't seem that worth it to me to have them separate.
I indeed agree with you on the first point, but having in addition to that a visualization on all the messages of your Plugin can indeed be useful and even more useful if for example in the future you decide to make a language system.
Hey, you can use message.yml folder or enum java class for stock all your message and easly use your message 😄
The text was updated successfully, but these errors were encountered: