ShieldCommunity / SternalBoard

Lightweight & animated scoreboard, packet-based designed for easy usage
https://www.spigotmc.org/resources/sternalboard-lightweight-animated-scoreboard.89245/
MIT License
64 stars 18 forks source link

Persist toggled data #69

Closed Folas1337 closed 5 months ago

Folas1337 commented 7 months ago

Is your feature request related to a problem? Please describe. Nope, I wouldn't consider this a problem necessarily.

Describe the solution you'd like I would like it so that if you once '/board toggle', it stays turned off, at least as a config option. So basically add the option in the config for

settings:
  persist-toggle-data: false

(or something similar) and if you set it to true, it will save it to disk who has it turned on or off and you'll not always have to use '/board toggle' just to turn it back off :)

Describe alternatives you've considered I could probably create two scoreboards with permissions and create a custom command or something that sets the permission and removes it but that's super tedious.

Additional context Don't really have anything here :D

xism4 commented 7 months ago

Is your feature request related to a problem? Please describe. Nope, I wouldn't consider this a problem necessarily.

Describe the solution you'd like I would like it so that if you once '/board toggle', it stays turned off, at least as a config option. So basically add the option in the config for

settings:
  persist-toggle-data: false

(or something similar) and if you set it to true, it will save it to disk who has it turned on or off and you'll not always have to use '/board toggle' just to turn it back off :)

Describe alternatives you've considered I could probably create two scoreboards with permissions and create a custom command or something that sets the permission and removes it but that's super tedious.

Additional context Don't really have anything here :D

Hi, thanks for suggest that feature. Is really necesary? Because i would not like to save on a file or db that information. Maybe cache for some time.

Folas1337 commented 6 months ago

I personally think it's necessary but I have actually found another solution to what I was doing with SternalBoard so I have now stopped using SternalBoard altogether.

If you still want to do this, go ahead, otherwise feel free to close this issue :)

xism4 commented 5 months ago

Ok, i'll add it.