Skip to main content
This page provides a comprehensive reference for all administrator commands available in L2J Mobius Chronicle 4. Commands are organized by category for easy navigation.

Command Syntax

All admin commands begin with // or admin_ prefix. For example:
  • //teleport or admin_teleport
  • //spawn 30001 or admin_spawn 30001
Most commands require specific access levels defined in dist/game/config/AccessLevels.xml. See Security Configuration for access level details.

Server Management

Initiates a graceful server shutdown after the specified delay.Syntax: //server_shutdown <seconds>Example:
//server_shutdown 300
Broadcasts shutdown warning to all players and saves server state.Source: handlers/admincommandhandlers/AdminShutdown.java:49
Restarts the server after the specified delay.Syntax: //server_restart <seconds>Example:
//server_restart 600
Schedules server restart with player notification.Source: handlers/admincommandhandlers/AdminShutdown.java:69
Cancels a pending shutdown or restart.Syntax: //server_abortStops any scheduled shutdown/restart countdown.Source: handlers/admincommandhandlers/AdminShutdown.java:89
Displays comprehensive server information.Syntax: //serverinfoInformation displayed:
  • Operating system details
  • Online player count and slots
  • Game time and day/night status
  • Geodata status
  • Memory usage (used/free/total)
  • Thread statistics (live/daemon/peak)
  • Garbage collector metrics
  • Server uptime
Source: handlers/admincommandhandlers/AdminServerInfo.java:59

Reload Commands

Reloads server data without full restart.Syntax: //reload <type> [parameter]Available types:
  • config - Reload all configuration files
  • access - Reload access levels and admin data
  • npc - Reload NPC templates
  • quest [id|name] - Reload specific quest or all quests
  • walker - Reload NPC walking routes
  • htm[l] [path] - Reload HTML cache (specific file or all)
  • multisell - Reload multisell data
  • buylist - Reload shop buy lists
  • teleport - Reload teleport data
  • skill - Reload skill data
  • item - Reload item templates
  • door - Reload door data
  • zone - Reload zone definitions
  • effect - Reload effect handlers
  • handler - Reload command handlers
  • enchant - Reload enchant data
Examples:
//reload config
//reload quest 255
//reload html admin/main.htm
Reloading during runtime is NOT RECOMMENDED for live servers. Use only in development environments.
Source: handlers/admincommandhandlers/AdminReload.java:62

Player Management

Disconnects a player from the server.Syntax: //kick <player_name>Example:
//kick PlayerName
Source: handlers/admincommandhandlers/AdminKick.java:42
Kicks all non-GM players from the server.Syntax: //kick_non_gmUseful for server maintenance or emergency situations.Source: handlers/admincommandhandlers/AdminKick.java:58
Opens character editing interface.Syntax: //edit_characterAvailable modifications:
  • Character name, title, class
  • Karma, PK count, PVP count
  • Fame points
  • Character sex and appearance
  • Name and title colors
  • Recommendation points
Source: handlers/admincommandhandlers/AdminEditChar.java:73
Sets target player’s karma value.Syntax: //setkarma <amount>Example:
//setkarma 0
//setkarma 5000
Source: handlers/admincommandhandlers/AdminEditChar.java:76
Sets target player’s fame points.Syntax: //setfame <amount>Example:
//setfame 1000
Source: handlers/admincommandhandlers/AdminEditChar.java:77

Teleportation Commands

Teleports your character to specific coordinates.Syntax: //move_to <x> <y> <z>Example:
//move_to 83400 147943 -3404
Source: handlers/admincommandhandlers/AdminTeleport.java:143
Teleports you to target player.Syntax: //teleportto <player_name>Example:
//teleportto PlayerName
Source: handlers/admincommandhandlers/AdminTeleport.java:175
Teleports target player to your location.Syntax: //recall <player_name>Example:
//recall PlayerName
Works on both online and offline players.Source: handlers/admincommandhandlers/AdminTeleport.java:188
Sends player to their racial hometown.Syntax: //sendhome [player_name]Teleports player to appropriate town based on race:
  • Human: Talking Island
  • Elf: Elf Village
  • Dark Elf: Dark Elf Village
  • Orc: Orc Village
  • Dwarf: Dwarf Village
Source: handlers/admincommandhandlers/AdminTeleport.java:268
Enables instant teleport mode (click to teleport).Syntax: //instant_moveClick anywhere in the game world to instantly teleport there.Source: handlers/admincommandhandlers/AdminTeleport.java:89

Punishment Commands

Permanently bans a character.Syntax: //ban_char <character_name>Example:
//ban_char BadPlayer
Source: handlers/admincommandhandlers/AdminPunishment.java:369
Removes character ban.Syntax: //unban_char <character_name>Source: handlers/admincommandhandlers/AdminPunishment.java:377
Bans an entire account.Syntax: //ban_acc <account_name>Source: handlers/admincommandhandlers/AdminPunishment.java:385
Restricts player from using chat.Syntax: //ban_chat <player_name>Source: handlers/admincommandhandlers/AdminPunishment.java:417
Sends player to jail.Syntax: //jail <player_name>Source: handlers/admincommandhandlers/AdminPunishment.java:433
Releases player from jail.Syntax: //unjail <player_name>Source: handlers/admincommandhandlers/AdminPunishment.java:441
Opens advanced punishment management interface.Syntax: //punishment [info|add|remove|player]Punishment types:
  • BAN - Account/character ban
  • CHAT_BAN - Chat restriction
  • JAIL - Character imprisonment
Affect types:
  • ACCOUNT - Affects entire account
  • CHARACTER - Affects specific character
  • IP - Affects IP address
  • HWID - Affects hardware ID
Source: handlers/admincommandhandlers/AdminPunishment.java:88

Spawn Commands

Spawns an NPC at your location.Syntax: //spawn <npc_id> [respawn_time]Example:
//spawn 30001
//spawn 30001 60
Spawns NPC with optional respawn time in seconds.Source: handlers/admincommandhandlers/AdminSpawn.java:72
Removes all spawned NPCs from the world.Syntax: //unspawnall
This command removes ALL NPCs. Use with caution!
Source: handlers/admincommandhandlers/AdminSpawn.java:75
Respawns all NPCs in the world.Syntax: //respawnallSource: handlers/admincommandhandlers/AdminSpawn.java:76

GM Mode Commands

Adds your character to the GM list (visible to players).Syntax: //gmlistonSource: handlers/admincommandhandlers/AdminAdmin.java:55
Removes your character from the GM list (invisible mode).Syntax: //gmlistoffSource: handlers/admincommandhandlers/AdminAdmin.java:56
Toggles private message acceptance mode.Syntax: //silenceSource: handlers/admincommandhandlers/AdminAdmin.java:57
Toggles weight penalty mode.Syntax: //diet [on|off]Disables encumbrance penalties for GM.Source: handlers/admincommandhandlers/AdminAdmin.java:58
Toggles trade request acceptance.Syntax: //tradeoff [on|off]Source: handlers/admincommandhandlers/AdminAdmin.java:59

Olympiad Commands

Displays Olympiad period information.Syntax: //checkolympiadShows:
  • Current server time
  • Olympiad period end time
  • Weekly change schedule
Source: handlers/admincommandhandlers/AdminAdmin.java:62
Manually saves Olympiad state.Syntax: //saveolympSource: handlers/admincommandhandlers/AdminAdmin.java:63
Manually ends Olympiad period and selects heroes.Syntax: //endolympiad
This immediately cycles the Olympiad and calculates new heroes!
Source: handlers/admincommandhandlers/AdminAdmin.java:66

Configuration Commands

Dynamically modifies server rate configuration.Syntax: //setconfig <parameter> <value>Available parameters:
  • RateXp - Experience rate multiplier
  • RateSp - Skill point rate multiplier
  • RateDropSpoil - Spoil drop rate multiplier
Example:
//setconfig RateXp 2.0
//setconfig RateSp 1.5
Changes take effect immediately but are not persisted to config files.
Source: handlers/admincommandhandlers/AdminAdmin.java:67

Additional Resources

Security Configuration

Access levels and permission management

Server Monitoring

Performance metrics and logging

Troubleshooting

Common issues and solutions

Source Code

View admin command handlers

Command Handler Location

All admin command handlers are located in:
dist/game/data/scripts/handlers/admincommandhandlers/
Each command is implemented in a separate Java class that implements IAdminCommandHandler.

Build docs developers (and LLMs) love