Command Syntax
All admin commands begin with// or admin_ prefix. For example:
//teleportoradmin_teleport//spawn 30001oradmin_spawn 30001
Most commands require specific access levels defined in
dist/game/config/AccessLevels.xml. See Security Configuration for access level details.Server Management
//server_shutdown [seconds]
//server_shutdown [seconds]
Initiates a graceful server shutdown after the specified delay.Syntax: Broadcasts shutdown warning to all players and saves server state.Source:
//server_shutdown <seconds>Example:handlers/admincommandhandlers/AdminShutdown.java:49//server_restart [seconds]
//server_restart [seconds]
Restarts the server after the specified delay.Syntax: Schedules server restart with player notification.Source:
//server_restart <seconds>Example:handlers/admincommandhandlers/AdminShutdown.java:69//server_abort
//server_abort
Cancels a pending shutdown or restart.Syntax:
//server_abortStops any scheduled shutdown/restart countdown.Source: handlers/admincommandhandlers/AdminShutdown.java:89//serverinfo
//serverinfo
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
handlers/admincommandhandlers/AdminServerInfo.java:59Reload Commands
//reload
//reload
Reloads server data without full restart.Syntax: Source:
//reload <type> [parameter]Available types:config- Reload all configuration filesaccess- Reload access levels and admin datanpc- Reload NPC templatesquest [id|name]- Reload specific quest or all questswalker- Reload NPC walking routeshtm[l] [path]- Reload HTML cache (specific file or all)multisell- Reload multisell databuylist- Reload shop buy liststeleport- Reload teleport dataskill- Reload skill dataitem- Reload item templatesdoor- Reload door datazone- Reload zone definitionseffect- Reload effect handlershandler- Reload command handlersenchant- Reload enchant data
handlers/admincommandhandlers/AdminReload.java:62Player Management
//kick [player]
//kick [player]
Disconnects a player from the server.Syntax: Source:
//kick <player_name>Example:handlers/admincommandhandlers/AdminKick.java:42//kick_non_gm
//kick_non_gm
Kicks all non-GM players from the server.Syntax:
//kick_non_gmUseful for server maintenance or emergency situations.Source: handlers/admincommandhandlers/AdminKick.java:58//edit_character
//edit_character
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
handlers/admincommandhandlers/AdminEditChar.java:73//setkarma [amount]
//setkarma [amount]
Sets target player’s karma value.Syntax: Source:
//setkarma <amount>Example:handlers/admincommandhandlers/AdminEditChar.java:76//setfame [amount]
//setfame [amount]
Sets target player’s fame points.Syntax: Source:
//setfame <amount>Example:handlers/admincommandhandlers/AdminEditChar.java:77Teleportation Commands
//move_to [x] [y] [z]
//move_to [x] [y] [z]
Teleports your character to specific coordinates.Syntax: Source:
//move_to <x> <y> <z>Example:handlers/admincommandhandlers/AdminTeleport.java:143//teleportto [player]
//teleportto [player]
Teleports you to target player.Syntax: Source:
//teleportto <player_name>Example:handlers/admincommandhandlers/AdminTeleport.java:175//recall [player]
//recall [player]
Teleports target player to your location.Syntax: Works on both online and offline players.Source:
//recall <player_name>Example:handlers/admincommandhandlers/AdminTeleport.java:188//sendhome [player]
//sendhome [player]
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
handlers/admincommandhandlers/AdminTeleport.java:268//instant_move
//instant_move
Enables instant teleport mode (click to teleport).Syntax:
//instant_moveClick anywhere in the game world to instantly teleport there.Source: handlers/admincommandhandlers/AdminTeleport.java:89Punishment Commands
//ban_char [player]
//ban_char [player]
Permanently bans a character.Syntax: Source:
//ban_char <character_name>Example:handlers/admincommandhandlers/AdminPunishment.java:369//unban_char [player]
//unban_char [player]
Removes character ban.Syntax:
//unban_char <character_name>Source: handlers/admincommandhandlers/AdminPunishment.java:377//ban_acc [account]
//ban_acc [account]
Bans an entire account.Syntax:
//ban_acc <account_name>Source: handlers/admincommandhandlers/AdminPunishment.java:385//ban_chat [player]
//ban_chat [player]
Restricts player from using chat.Syntax:
//ban_chat <player_name>Source: handlers/admincommandhandlers/AdminPunishment.java:417//jail [player]
//jail [player]
Sends player to jail.Syntax:
//jail <player_name>Source: handlers/admincommandhandlers/AdminPunishment.java:433//unjail [player]
//unjail [player]
Releases player from jail.Syntax:
//unjail <player_name>Source: handlers/admincommandhandlers/AdminPunishment.java:441//punishment
//punishment
Opens advanced punishment management interface.Syntax:
//punishment [info|add|remove|player]Punishment types:- BAN - Account/character ban
- CHAT_BAN - Chat restriction
- JAIL - Character imprisonment
- ACCOUNT - Affects entire account
- CHARACTER - Affects specific character
- IP - Affects IP address
- HWID - Affects hardware ID
handlers/admincommandhandlers/AdminPunishment.java:88Spawn Commands
//spawn [npc_id]
//spawn [npc_id]
Spawns an NPC at your location.Syntax: Spawns NPC with optional respawn time in seconds.Source:
//spawn <npc_id> [respawn_time]Example:handlers/admincommandhandlers/AdminSpawn.java:72//unspawnall
//unspawnall
Removes all spawned NPCs from the world.Syntax:
//unspawnallSource: handlers/admincommandhandlers/AdminSpawn.java:75//respawnall
//respawnall
Respawns all NPCs in the world.Syntax:
//respawnallSource: handlers/admincommandhandlers/AdminSpawn.java:76GM Mode Commands
//gmliston
//gmliston
Adds your character to the GM list (visible to players).Syntax:
//gmlistonSource: handlers/admincommandhandlers/AdminAdmin.java:55//gmlistoff
//gmlistoff
Removes your character from the GM list (invisible mode).Syntax:
//gmlistoffSource: handlers/admincommandhandlers/AdminAdmin.java:56//silence
//silence
Toggles private message acceptance mode.Syntax:
//silenceSource: handlers/admincommandhandlers/AdminAdmin.java:57//diet
//diet
Toggles weight penalty mode.Syntax:
//diet [on|off]Disables encumbrance penalties for GM.Source: handlers/admincommandhandlers/AdminAdmin.java:58//tradeoff
//tradeoff
Toggles trade request acceptance.Syntax:
//tradeoff [on|off]Source: handlers/admincommandhandlers/AdminAdmin.java:59Olympiad Commands
//checkolympiad
//checkolympiad
Displays Olympiad period information.Syntax:
//checkolympiadShows:- Current server time
- Olympiad period end time
- Weekly change schedule
handlers/admincommandhandlers/AdminAdmin.java:62//saveolymp
//saveolymp
Manually saves Olympiad state.Syntax:
//saveolympSource: handlers/admincommandhandlers/AdminAdmin.java:63//endolympiad
//endolympiad
Manually ends Olympiad period and selects heroes.Syntax:
//endolympiadSource: handlers/admincommandhandlers/AdminAdmin.java:66Configuration Commands
//setconfig
//setconfig
Dynamically modifies server rate configuration.Syntax: Source:
//setconfig <parameter> <value>Available parameters:RateXp- Experience rate multiplierRateSp- Skill point rate multiplierRateDropSpoil- Spoil drop rate multiplier
Changes take effect immediately but are not persisted to config files.
handlers/admincommandhandlers/AdminAdmin.java:67Additional 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:IAdminCommandHandler.