File Details
GlymeraLantern-2.0.0.jar
- R
- Apr 26, 2026
- 7.04 KB
- 98
- Early Access
File Name
GlymeraLantern-2.0.0.jar
Supported Versions
- Early Access
GlymeraLantern - Changelog
v2.0.0 (2026-04-26)
Bug Fixes
- Non-OP players could not use
/lanterneven withopOnly: false: The plugin's internalif (config.opOnly && !isOp(pr))check insideexecute()ran after Hytale's native command-permission gate. SinceAbstractCommand.canGeneratePermission()defaults totrue, the command system auto-generated a permission node at registration time that no regular player had — non-OPs were rejected with the engine's standard "You do not have permissions to use this command" message before the plugin code ever ran. Theconfig.opOnlyflag was effectively dead code for non-OPs.
Fix
LanternToggleCommandnow overridescanGeneratePermission()to returnconfig.opOnly. Hytale's native permission gate is now driven directly from the config:opOnly = false→ no permission node generated → every player can use/lantern.opOnly = true→ permission node generated → only OPs (who hold the*wildcard) can use/lantern. Non-OPs receive the engine's standard no-permission message.
- Removed the redundant in-
execute()check, theisOp()helper, and thePermissionsModuleimport. The native command gate is now the single source of truth — one mechanism instead of two.
Notes
- Changes to
config.jsonrequire a server restart to take effect, becausecanGeneratePermission()is evaluated once at command-registration time during pluginsetup().
v1.0.0 (2026-04-03)
- Initial release.
/lanterntoggles aDynamicLightcomponent on the player entity (no blocks, no NPCs).- Config:
plugins/GlymeraLantern/config.jsonwithopOnlyflag.