JoelGodOfwar / SinglePlayerSleep

SinglePlayerSleep
https://www.spigotmc.org/resources/single-player-sleep.68139/
MIT License
20 stars 8 forks source link

Feature: Prefix #12

Closed winnipeg21 closed 1 year ago

winnipeg21 commented 4 years ago

Allow for the ability to change prefix with color codes, I like to keep the plugins under the same message format and this would make it a lot better!

JoelGodOfwar commented 4 years ago

can you give me an example of what you're talking about? https://discord.gg/Bh5YDRC

winnipeg21 commented 4 years ago

Like when you do /sps reload it says "SinglePlayerSleep SinglePlayerSleep has been reloaded." (with the first singleplayersleep being the prefix). So I could change it to be like "[SPS] Plugin has been reloaded!". with all command outputs having the prefix and define that in the lang file

JoelGodOfwar commented 4 years ago

You can get rid of the double SinglePlayerSleep by modifying the lang file enUS.yml, and removing the leading SinglePlayerSleep in the file. Somehow that made it past my beta testing. But I need the SinglePlayerSleep part to let me review logs for issues, So I probably will not add a custom prefix. I may offer a config to shorten it to SPSv?.???.??.??

winnipeg21 commented 4 years ago

I mean sure add a shorten option.. Or allow custom prefixes and make a debug option that dumps everything to a seperate folder kinda like some other plugins. The debug would just display your plugin issues and excludes the other plugin garbage that builds up in console.

JoelGodOfwar commented 1 year ago

No longer needed as this is now an option in the config.yml.