Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Add message folder #7

Open
MatDvlp opened this issue May 23, 2022 · 3 comments
Open

Suggestion: Add message folder #7

MatDvlp opened this issue May 23, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@MatDvlp
Copy link

MatDvlp commented May 23, 2022

Hey, you can use message.yml folder or enum java class for stock all your message and easly use your message 😄

@toydotgame
Copy link
Owner

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.

@toydotgame toydotgame added the enhancement New feature or request label May 25, 2022
@MatDvlp
Copy link
Author

MatDvlp commented May 25, 2022

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.

@toydotgame
Copy link
Owner

A language system actually sounds like a cool concept. I'll definitely do something like that if/when I implement a language system.

@toydotgame toydotgame self-assigned this May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants