Private
Protection
Special Offers
Catalog
Auto donation
A reference of admin commands for servers running L2J-family Java emulators: characters, skills, items, spawns, teleports, announcements, sieges and server control.
Commands are typed into the regular game chat with the // prefix, for example //admin. The client sends such a command to the server separately from chat, and the server adds the admin_ prefix itself. That is why commands are called admin_kill, admin_spawn and so on in the source code. Do not type admin_ in chat: use //gmliston, not //admin_gmliston.
Commands only work for characters with GM rights: the access level is set in the database or in the pack's configs. Many commands need a target, so select a character, NPC or monster first. Most actions are also available from the //admin menu.
| Command | Description |
|---|---|
//admin | Open the main admin menu. |
//gm | Turn GM status on or off; it controls whether players see you in the /gmlist. Example: //gm on. |
//gmliston | Show yourself in the GM list (/gmlist). |
//gmlistoff | Hide yourself from the GM list. |
//gmchat text | Send a message to all GMs and admins currently online. |
//silence | Turn blocking of private messages to you on or off. |
//invul | Turn invulnerability on or off. |
//invis, //invisible | Become invisible to players. You still see your character, and the "Invisible" title reminds you of the mode. |
//vis, //visible | Become visible again. |
//target name | Target a character or monster by name, handy in a crowd where clicking the right target is hard. |
//ride_wyvern | Summon a wyvern (a flying dragon) and mount it. |
//unride_wyvern | Dismount the wyvern. |
| Command | Description |
|---|---|
//character_list | List of players online. |
//current_player | List of players (not in every pack). |
//show_characters page | Paged list of players online (not in every pack). Example: //show_characters 1. |
//find_character | Find a character by name. |
//edit_character | Edit menu for the targeted character. |
//save_modifications | Save the changes made to the targeted character. |
//add_exp_sp_to_character | Menu for giving XP and SP to the targeted character. |
//add_exp_sp xp sp | Give XP and SP to the targeted character. Example: //add_exp_sp 1000000 50000. |
//changelvl level | Change the access level of the targeted character. In old L2J revisions 0 is a player, 100 is an admin and -100 is banned; other packs use their own values. |
//restore, //repair | Fix broken character data (for example, when the character cannot log in). |
//kick name | Disconnect a character from the server. |
//ban name | Disconnect a character and ban the account. |
//unban name | Unban an account. |
//banchat name | Mute a player in chat. |
//unbanchat name | Unmute a player. |
//nokarma | Remove karma from the targeted character. |
//setkarma value | Set the karma of the targeted character. |
//setew value | Set the enchant level of the weapon equipped by the targeted character. Example: //setew 16. |
//res | Resurrect the target. |
//heal | Restore HP, MP and CP to yourself or to the targeted character. |
//heal radius | Heal all characters within the given radius. |
//heal name | Heal a character by name; no need to target them. |
//para, //unpara | Paralyze the target / remove the paralysis. |
//para_all, //unpara_all | Paralyze all players around you / remove the paralysis from all of them. |
| Command | Description |
|---|---|
//show_skills | Skill editor for the targeted character. |
//skill_list | Skill menu: use it to give any skill to the targeted character. |
//skill_index | Skill menu based on the character's class and stats. |
//add_skill id level | Give a skill to the targeted character. Example: //add_skill 21 1. |
//remove_skill id | Remove a skill from the targeted character. |
//remove_skills | Remove all skills from the targeted character. |
//get_skills | Start editing the targeted character's skill set: you temporarily get their skills, and yours are saved. |
//reset_skills | Finish editing: the edited skill set goes to the targeted character, and you get your own skills back. |
//give_all_skills | Give the targeted character all skills their class can learn at the current level. |
| Command | Description |
|---|---|
//itemcreate | Item creation menu. |
//create_item item_id | Create an item by ID. In many packs the second parameter is the amount: //create_item 57 1000000. |
//gmshop | Open the GM shop. |
//buy number | Open a buylist by its number. |
//showShop, //showShopList | Show the goods list of the targeted merchant. |
//addShopItem shop_id item_id price | Add an item to a merchant's shop. |
//delShopItem shop_id item_id | Remove an item from a shop. |
//editShopItem shop_id item_id price | Change the price of an item in a shop. |
| Command | Description |
|---|---|
//show_spawns | Spawn menu. |
//spawn npc_id | Spawn an NPC or monster: stand where you want it, target yourself and type the command. Example: //spawn 30080 spawns a gatekeeper like the one in Giran. |
//spawn name_or_id [count] [respawn_seconds] | Extended form of the command; you can use a name instead of an ID: //spawn kaboo_orc. |
//spawn_monster npc_id | Same as //spawn in some packs; mostly used for monsters. |
//spawn_index level | List of monsters of the given level; you can spawn them straight from the menu. Example: //spawn_index 60. |
//list_spawns npc_id | Show all spawn points of the NPC with the given ID. |
//delete | Delete the targeted NPC or monster together with its spawn point, so it never appears again. |
//kill | Kill the target: a monster, NPC or player. Spawned monsters are not removed and will respawn. |
//kill radius | Kill everything except players within the given radius. Example: //kill 500. |
//recall_npc | Move the targeted NPC to you. |
//edit_npc npc_id | Edit the stats of an NPC or monster. |
//save_npc | Save the NPC or monster changes. |
//show_droplist npc_id | Show a monster's drop list. |
//edit_drop npc_id item_id [min max sweep chance] | Edit a drop entry: amount, type (drop or spoil) and chance. |
//add_drop npc_id item_id [min max sweep chance] | Add an item to a monster's drop list. |
//del_drop npc_id item_id | Remove an item from a monster's drop list. |
//unspawnall | Remove all NPCs from the world. |
//respawnall | Reload NPC data and respawn all NPCs. |
//find_mammon | Show where the Mammon NPCs (Seven Signs) are right now. |
//show_mammon, //hide_mammon | Make the Mammon NPCs visible / invisible. |
| Command | Description |
|---|---|
//show_moves | Teleport menu. |
//show_moves_other | Additional teleport menu. |
//show_teleport | Teleport-by-coordinates menu. |
//move_to x y z | Teleport yourself to the given coordinates. |
//teleport_character x y z | Teleport the targeted character to the given coordinates. |
//teleport_to_character name | Teleport yourself to a character. |
//recall name | Summon a player to you. |
//walk x y z | Make your character walk to a point instead of teleporting. |
//gonorth, //gosouth, //goeast, //gowest | Move north, south, east or west. You can add a distance, for example //gonorth 500. |
//goup, //godown | Move up or down in height. |
| Command | Description |
|---|---|
//announce_menu | Announcements menu. |
//list_announcements | List of startup announcements that players see when they log in. |
//add_announcement text | Add a startup announcement. This way you can add text in any language even if the menu only accepts Latin characters. |
//del_announcement number | Delete a startup announcement (the number comes from //list_announcements; some packs take the text instead). |
//reload_announcements | Reload startup announcements from the pack's text file (usually in the data folder, for example announcements.txt). |
//announce_announcements | Show all startup announcements to all players once. |
//announce text | Send a one-time announcement to the whole world. |
Siege commands usually take the castle name as a parameter or are called from the //siege menu. How to move a siege date in the database is explained in the guide on editing the siege date.
| Command | Description |
|---|---|
//siege castle | Siege control menu for a castle. Example: //siege giran. Old revisions have gludio, dion, giran and oren; packs for later chronicles have the other castles too. |
//startsiege | Start the siege. |
//endsiege | End the siege. |
//setcastle | Give the castle to the clan of the targeted character. |
//add_attacker | Register the clan of the targeted character as an attacker. |
//add_defender | Register the clan of the targeted character as a defender. |
//list_siege_clans | List of clans registered for the siege. |
//clear_siege_list | Clear the list of siege participants. |
//move_defenders | Move the siege defenders. |
//spawn_doors | Respawn the castle doors. |
//clean_up_siege | Clean up the castle siege data. |
//sgspawn | Internal siege command; listed without a description in the original list. |
| Command | Description |
|---|---|
//server_shutdown seconds | Shut the server down after the given time. Example: //server_shutdown 300. |
//server_restart seconds | Restart the server after the given time. |
//server_abort | Cancel a pending shutdown or restart. |
//reload_quest | Reload quest data. |
//openall | Open all doors. |
//closeall | Close all doors. |
//mons | Start a Monster Race. |
| Command | Description |
|---|---|
//polymorph npc_id | Change the target's appearance to the NPC with the given ID. |
//polymorph item item_id | Make the target look like an item. |
//polyself | Turn yourself into a monster. |
//unpolyself | Return to your normal appearance. |
//earthquake | Earthquake effect. |
//bighead | Give the target a big head. |
//shrinkhead | Return the target's head to normal size. |
//play_sounds | Menu for playing sounds and music. |
//box_access | With a box targeted, show who has access to it. |
//box_access name1 name2 | Give the listed players access to the box. Example: //box_access kadar LadyPain. |
//box_access no name | Remove a player from the box access list. |
| Command | Description |
|---|---|
//fight_calculator | Fight calculator: compares damage and hit chances of two chosen characters or monsters. |
//fight_calculator_show, //fcs | Show the fight calculator result (//fcs is the short form). |
//test, //test uni, //test uni flush, //test hash | Developer test commands for the world mapping feature. Not needed on a live server. |
//explore, //forth, //bsh, //jython, //failed | Internal commands of early L2J revisions, listed without descriptions in the original list. Modern packs usually do not have them; do not use them on a live server. |
These commands are typed with a single slash and are available to all players, not just GMs.
| Command | Description |
|---|---|
/gmlist | List of GMs currently online. |
/block name | Add a player to your block list: you stop receiving their messages. |
/unblock name | Remove a player from your block list. |
/blocklist | Show your block list. |
/allblock | Block messages from everyone. |
/allunblock | Accept messages again. |
/friendlist | Show your friend list. |
//delete removes a spawn point for good, while //unspawnall, //respawnall, //kill with a radius and //para_all affect many players at once. Try such commands on a test server, not on a live one.Ready-made Lineage 2 server packs are in the Basic Server Packs section, and more guides are in the articles list.
Published 23 September 2026
We help with the server pack, setup, protection and launch — one-off or on an ongoing basis.
Get L2‑Scripts news by email
And 5% off all studio services while you stay subscribed.
The discount is valid while you are subscribed: when ordering, tell the manager your subscription address on Telegram.
Search
News