Emit Light from Held Items using the 1.17 Light Blocks in Spigot/Paper Servers.
Discord: https://discord.gg/RHJQFPgbke
Commands
lights.yml
configuration to add or adjust light
levels.config.yml
requires a restart due to async tasks at this time.DynamicLights works by creating a thread for each player and rendering a Light Block at their head location for all online players asynchronously.
At the player's head location, DynamicLights will send a block change packet to all players within the culling range. DynamicLights does NOT modify the world.
This plugin requires ProtocolLib to be present.
Yes! In the "lights.yml" file you can add any item from https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html exactly as it appears to set custom light levels. You can also make them work underwater and on worn items.
DynamicLights utilizes the Light Block to render the light in the world for all players. As this is an actual block, it requires there to be open air or open water to be used and cannot be placed on transparent blocks or blocks without collision.
This plugin is based on the PluginCommon API. Updates to SpigotDevkit will provide versioned and shaded assets associated with this plugin.