LightPlus
A Simple Plugin that Adds Functions to Light Blocks in Survival
LightPlus
Light Plus
--- A Simple Plugin that Adds Functions to Light Blocks in Survival
> Reminder: Because Paper 26.1 has not yet been released, I have tested Spigot version 26.1, but for Paper, it should work.
Functions
- Use light blocks in survival/adventure (not just creative). - Place leveled light blocks from light items. - Break light blocks in survival/adventure and get them back as items. - Preserve and carry light level (0-15) in the dropped/held light item. - Rotate light level on placed light blocks: - Right-click: +1 (wraps 15 -> 0). - Shift-right-click a light block to place another light block next to it (same level). - Left-click targeting logic to break looked-at invisible light blocks reliably. - Show action-bar feedback when level is set/changed (Set to %level% Level, configurable). - Show marker particles around nearby light blocks while holding a light item. - Stonecutter conversion recipes for all 16 light levels. - Stonecutter output always matches selected target level. - Recipe permission enforcement for stonecutter usage. - Auto-discover stonecutter recipes on join (configurable). - Auto-discover recipes for online players on plugin enable/reload. - Crafting reset recipe: craft a light item to reset it to level 15. - Permission-based control for all features.
Config
```yml grant_recipes_on_login: true messages: action_bar_level_set: "<green>Set to <yellow>%level%</yellow> level" command_usage: "<red>Usage: /lightplus reload" command_no_permission: "<red>You do not have permission to use this command." command_reloaded: "<green>LightPlus config reloaded." ```
Commands
| Command | Description | Usuage | Permission | | --- | --- | --- | --- | | /lightplus reload | LightPlus management command. | /lightplus reload | lightplus.reload |
Permissions
| Permission | Description | Default | | --- | --- | --- | | lightplus.use | Base permission for LightPlus features. | true | | lightplus.place | Allows placing Light blocks with stored levels. | op | | lightplus.break | Allows breaking Light blocks in survival/adventure and dropping items. | true | | lightplus.adjust | Allows adjusting placed Light block levels in survival/adventure. | true | | lightplus.recipe | Allows using and being auto-granted LightPlus stonecutter recipes. | op | | lightplus.reload | Allows reloading LightPlus config. | op |