xCykrix / DynamicLights

Spigot/Paper Plugin for Simple Dynamic Lights
https://www.spigotmc.org/resources/dynamiclights.110707/
5 stars 1 forks source link

[FEAT] Add toggle and reload command. #13

Closed LordYarkan closed 7 months ago

LordYarkan commented 8 months ago

Hi,

The DynamicLights plugin is great, could you add these commands? 1- /dynamiclight reload: to reload the configuration and avoid restarting the server. 2- /dynamiclight toggle: those who do not want dynamiclight

I await your response, thank you

xCykrix commented 7 months ago

Hello @LordYarkan. I have added this to the roadmap to be included in (hopefully) the next release.

I will add the capability to reload lights.yml so the server does not require a restart to change what emits light and the light level, however, changes to config.yml WILL require a restart due to how events are registered and the culling is calculated.

xCykrix commented 7 months ago

Added by #14. This adds the following functionality:

After full testing and validation, this will be scheduled for release in v1.0.6.

Moving to Blocked until release.

xCykrix commented 7 months ago

Committed to main branch and scheduled for release.

xCykrix commented 7 months ago

Landed in v1.0.6.

https://github.com/xCykrix/DynamicLights/releases/tag/v1.0.6 https://www.spigotmc.org/resources/dynamiclights.110707/update?update=541012

Please let me know if you have any issues or if something is not working as expected in a new issue.