Fixed Void World Generation.
/lww create [world] {void} now functions as intended to generate a void world.
LightWeightWorlds (LWW) — Commands & Permissions
Overview
LightWeightWorlds (LWW) provides in-game world management: create, import/load, delete, teleport between worlds, and list worlds. The plugin exposes both standalone commands and a top-level /lww command with subcommands.
Commands
/lww create [void]
/lww import
- Description: Create a new world named . Pass void as the optional second argument to request a void-style world (requires a generator/template if you want a true void world).
- Equivalent standalone: /createworld <name> [void]
- Permission: lww.create (or lww.admin)
- Notes: If created successfully, the player who ran the command will be teleported to the world spawn.
/lww delete confirm
- Description: Import (load) an existing world folder into the server so it becomes available for teleportation and gameplay.
- Equivalent standalone: none (new)
- Permission: lww.import (or lww.admin)
- Notes: If the world is already loaded, the command will report that. If loading fails, check server logs.
/lww tp [player]
- Description: Delete an existing world. Requires the literal confirm second argument to proceed.
- Equivalent standalone: /deleteworld <name> (note plugin supports both; the LWW subcommand requires confirm too)
- Permission: lww.delete (or lww.admin)
- Safety: The command refuses to delete a world if players are present in the world. Deletion removes the folder recursively (synchronous) — consider backing up first.
/lww list
- Description: Teleport the command sender or the specified player to the given world's spawn. If the world is not loaded, the command will attempt to load it.
- Equivalent standalone: /worldtp <world> [player] (aliases: tpw, tpworld)
- Permission: lww.worldtp (or lww.admin)
- Notes: Console callers must specify a player to teleport.
Permissions summary
- Description: List loaded worlds and known world folders (shows LOADED / UNLOADED status).
- Equivalent standalone: /listworlds
- Permission: lww.listworlds (or lww.admin)
- lww.admin
- Default: op
- Description: All LWW permissions. Children: lww.create, lww.delete, lww.worldtp, lww.listworlds, lww.import.
- lww.create — Default: op
- Allows creating/importing new worlds (/lww create / /createworld).
- lww.delete — Default: op
- Allows deleting worlds (/lww delete, requires confirm).
- lww.worldtp — Default: op
- Allows teleporting between worlds (/lww tp, /worldtp).
- lww.listworlds — Default: true
- Allows listing available worlds (/lww list, /listworlds).
- lww.import — Default: op
- Allows importing/loading world folders into the server (/lww import).
- Important notes & recommendations
- Deleting worlds is synchronous and may block the main thread for large world folders. For production use, consider implementing an async deletion + optional backup workflow.
- The current "void" option is a simple placeholder; for true empty/void worlds use a specialized generator or copy a void template folder.
- /lww import loads an existing folder; it will not validate or repair corrupt world data. If loading fails, consult server logs for stack traces.
- Subcommands enforce their own permissions. The top-level /lww command does not require a single admin-only permission so server operators can delegate specific sub-permissions.
- Troubleshooting
- "World already exists": world is already loaded by the server. Use /lww tp <world> to go there.
- "Failed to import/load world": check server logs (plugin logs exceptions to server logger) and ensure the world folder exists and contains region/playerdata files.
- "Cannot delete world while players are present": move players out of the world (or use creative administrative workflows) before deleting.
Added the ability to create void worlds, as well updated description for usage of commands.
