← All plugins
GlymeraLantern icon

GlymeraLantern

Toggle personal dynamic light on your character with /lantern. No blocks, no items, no torches - just instant light that follows you everywhere. Perfect for mining and cave exploration. Server-side only.

v4.0.0 Hytale 0.6.x Quality of LifeUtility

Gallery

Description

GlymeraLantern - Personal Dynamic Light

A simple toggle command that makes your character emit light - perfect for mining, caves and nighttime exploration.


What is GlymeraLantern?

GlymeraLantern gives every player a personal light source. Type /lantern and your character starts glowing, illuminating everything around you. Type it again to turn it off. No items to craft, no torches to place, no fuel to worry about - just light when you need it.

Pure server-side plugin - no client mod required.


How It Works

The plugin attaches a DynamicLight component directly to your player entity. The light moves with you in real time, with zero delay. There are no invisible blocks, no floating NPCs, no particles - just clean dynamic light on your character.


Commands

Command Who Description
/lantern Everyone* Toggle personal light on/off

Access can be restricted to OPs via config.


Configuration

A config file is generated at first startup:

mods/de.glymera_GlymeraLantern/config.json

{
  "opOnly": false
}
Setting Default Description
opOnly false If true, only server operators can use /lantern

Installation

  1. Place GlymeraLantern-1.0.0.jar in your server's mods/ folder
  2. Start (or restart) the server
  3. Done!

Features

  • Instant toggle - Light turns on/off immediately with /lantern
  • Zero delay - Light is attached to the player entity, moves with you in real time
  • No blocks placed - Nothing to break, nothing to target, nothing in the way
  • No visual clutter - No floating objects, particles or entities
  • Works everywhere - Caves, mines, nighttime, underwater
  • Per-player - Each player controls their own light independently
  • Configurable access - Allow everyone or restrict to OPs
  • No asset pack - Pure server-side, no client downloads needed

Use Cases

  • Mining - See where you're digging without placing torches every few blocks
  • Cave exploration - Light up dark caves as you move through them
  • Night building - Keep working on your builds after sunset
  • New players - Give everyone light so early gameplay isn't frustrating in the dark

Performance

GlymeraLantern is extremely lightweight:
- No tick system - The DynamicLight component is managed by Hytale's built-in entity tracker
- No block manipulation - Nothing is placed or removed in the world
- No file I/O - Config is read once at startup
- One component per player - Minimal memory footprint


Good to Know

  • The light radius is determined by Hytale's DynamicLight system
  • Light persists until the player types /lantern again or disconnects
  • Compatible with all other Glymera plugins
  • Does not conflict with placed torches, lanterns or other light sources

Made with care by Glymera for the Hytale community

Changelog

GlymeraLantern - Changelog

v4.0.0 (2026-08-28) — Hytale 0.6.0 (Update 6)

  • Rebuilt for Hytale 0.6.0 (Update 6). Requires server 0.6.0 or newer; this version does not run on 0.5.x, and older versions of this plugin do not run on 0.6.0.
  • Block textures padded to the 32 px grid required by the 0.6.0 client. A single non-conforming texture breaks the whole block-texture atlas for every player on the server.
  • Migrated to the 0.6.0 APIs (network protocol hytale/3, new command-permission API, block/chunk/entity API changes). Everything that was open to players before is open to players again.
  • Upgrade: delete the old jar from mods/, drop in the new one and keep the plugin's data folder — configs and saved data carry over unchanged. Restart the server.

v2.0.0 (2026-04-26)

Bug Fixes

  • Non-OP players could not use /lantern even with opOnly: false: The plugin's internal if (config.opOnly && !isOp(pr)) check inside execute() ran after Hytale's native command-permission gate. Since AbstractCommand.canGeneratePermission() defaults to true, 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. The config.opOnly flag was effectively dead code for non-OPs.

Fix

  • LanternToggleCommand now overrides canGeneratePermission() to return config.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, the isOp() helper, and the PermissionsModule import. The native command gate is now the single source of truth — one mechanism instead of two.

Notes

  • Changes to config.json require a server restart to take effect, because canGeneratePermission() is evaluated once at command-registration time during plugin setup().

v1.0.0 (2026-04-03)

  • Initial release.
  • /lantern toggles a DynamicLight component on the player entity (no blocks, no NPCs).
  • Config: plugins/GlymeraLantern/config.json with opOnly flag.
Public — visible to everyone. No account needed.

Only Marc can read this.