Перейти к содержимому
Mineforgian

LightPlus

A Simple Plugin that Adds Functions to Light Blocks in Survival

Загрузки
83
Подписчики
1
Обновлён
7 июля 2026 г.
Лицензия
Apache-2.0

Опубликован 16 февраля 2026 г.

Light Plus


A Simple Plugin that Adds Functions to Light Blocks in Survival

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.
  • Configurable shaped crafting recipe for a light block, fully defined in config.yml (custom shape, ingredients, and result level). Auto-discovered for players on join and on /lightplus reload.
  • Folia support: light particle preview and recipe discovery run through the global region and per-player entity schedulers.
  • faststats metrics integration, including lights_placed and lights_mined custom metrics.
  • Permission-based control for all features.

Config

grant_recipes_on_login: true
crafting_recipe:
  enabled: true
  result_level: 15
  items:
    A: GLASS
    B: GLOWSTONE
  recipe:
    - 'AAA'
    - 'ABA'
    - 'AAA'
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 (alias: /lp 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

Servers & Players

Ченджлог

1.1.3Релиз26.1.1, 26.1.2, 26.2 · 7 июля 2026 г.

[1.1.3] - 2026-07-07

Added

  • Folia support: light particle preview and recipe discovery now run through the global region and per-player entity schedulers instead of the Bukkit scheduler.
  • faststats metrics integration, shaded and relocated alongside bStats.
  • Configurable shaped crafting recipe for a light block, defined in config.yml via a generic crafting_recipe.items (key → material) map and crafting_recipe.recipe shape list, with enabled and result_level options. Reapplied on /lightplus reload. Defaults to glass border / glowstone center, matching the previous hardcoded recipe.
  • /lp alias for /lightplus.
  • The configurable crafting recipe is now auto-discovered for players on join and on /lightplus reload, alongside the stonecutter recipes.
  • lights_placed and lights_mined custom faststats metrics, tracking every light block placed (crafting table and right-click adjustment) and mined (block break and left-click removal).

Removed

  • Dedicated Spigot build/compatibility path; the plugin now targets Paper (and Folia) only.

Fixed

  • Removed the explicit net.kyori Adventure/MiniMessage dependencies (previously pinned to 4.17.0 and shaded unrelocated), letting paper-api supply its own matching Adventure version transitively — the pinned version was overriding Paper's and causing classpath conflicts (cannot access ...PlayerHeadObjectContents and similar errors).
1.1.2Релиз1.21.10, 1.21.11, 26.1 · 31 марта 2026 г.

[1.1.2] - 2026-03-31

Changed

  • Bundled Adventure and MiniMessage into the shaded plugin jar so formatted messages also work on Spigot.
  • Updated message rendering to support both legacy & formatting and MiniMessage tags in the same config strings.
  • Unified Paper and Spigot message delivery so MiniMessage content is converted to Minecraft color formatting for non-Adventure paths.
  • Improved cross-server action bar handling with additional runtime fallbacks for Spigot compatibility.
  • Added and expanded spigotServer/run.sh to auto-build the latest shaded jar, copy it into the local test server, and validate the required Java runtime.
  • Replaced Location#toCenterLocation() usage with explicit centered coordinates for broader server API compatibility.
  • Removed the duplicate manual placement sound from the normal light block placement path.
1.1.1Релиз1.21.9, 1.21.10, 1.21.11 · 16 февраля 2026 г.

[1.1.1] - 2026-02-16

Added

  • bStats dependency (org.bstats:bstats-bukkit:3.1.0) to the build.

Changed

  • Added the Shadow plugin (com.gradleup.shadow).
  • Configured shadowJar to include only bStats from runtime dependencies.
  • Relocated org.bstats classes into the plugin group package to avoid cross-plugin conflicts.
  • Build now produces a shaded plugin artifact via ./gradlew shadowJar.
1.1.0Релиз1.21.9, 1.21.10, 1.21.11 · 16 февраля 2026 г.

[1.1.0] - 2026-02-16

Added

  • MiniMessage support for plugin messages.
  • PlaceholderAPI support for player-facing messages when PlaceholderAPI is installed.
  • New configurable command messages:
    • messages.command_usage
    • messages.command_no_permission
    • messages.command_reloaded

Changed

  • Action bar level message now uses MiniMessage formatting.
  • Message handling was centralized via a dedicated MessageService.
  • Added softdepend: [PlaceholderAPI] to plugin.yml.
  • Updated build configuration with PlaceholderAPI repository/dependency.
1.0.0Релиз1.21.9, 1.21.10, 1.21.11 · 16 февраля 2026 г.

First Version

Комментарии

Загружаем…