Begad666 / cps

Advanced ServerList and Maintenance plugin
https://www.spigotmc.org/resources/customprotocolsettings.69385/
MIT License
2 stars 0 forks source link

Bugs Found | Lang and pull problem #21

Closed MastoryMd5 closed 3 years ago

MastoryMd5 commented 3 years ago

The messages are duplicated, although in the config i set up the "it" lang in the console i can see the translated message and the default one even after deleting en.yml.

a126126a8d0f48b5b63a5955b872ee10

Second problem happens when pulling from database the config, after the reload the plugin shutsdown and commands motd etc don't work

Begad666 commented 3 years ago

I made it send also a message to the console, try in game

Begad666 commented 3 years ago

"I hope I didn't create another bug"

Begad666 commented 3 years ago

But did you change the language section in the config?

MastoryMd5 commented 3 years ago

Yes, the languace is in 'it', i will try now with the in-game commands

Begad666 commented 3 years ago

That's weird, it always uses the language section in the config. I tried changing the values and it worked. Might be something related to loading files other than "en"

Begad666 commented 3 years ago

I just tried creating a new file, renaming it and changing everything in it and it worked. If it doesn't find the message, it sends a hardcoded message, that's why when you deleted the en.yml file, it's still sending like it is there.

MastoryMd5 commented 3 years ago

Okay so the important thing is to not delete en.yml

Begad666 commented 3 years ago

Nope it's not important, you can delete it.

Begad666 commented 3 years ago

Did you fix this problem?

Begad666 commented 3 years ago

Tomorrow should be the new version. I have to go.