scripts lineage2  :::  Server Packs lineage 2 — best scripts for admin servers   :::  Projects lineage Turnkey
l2-scripts.com  Freelance Studio

ArticlesTechnical guides10 min read

GM commands for Lineage 2 Java servers (L2J)

A reference of admin commands for servers running L2J-family Java emulators: characters, skills, items, spawns, teleports, announcements, sieges and server control.

The command set depends on the packThe exact list of commands depends on the server pack and its version. Some commands in this reference exist only in old L2J revisions, and other emulators may name them differently or take different parameters. For the current list of your pack, check its source code (the admin command handlers) and the GM access rights settings.

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.

Basic GM commands

CommandDescription
//adminOpen the main admin menu.
//gmTurn GM status on or off; it controls whether players see you in the /gmlist. Example: //gm on.
//gmlistonShow yourself in the GM list (/gmlist).
//gmlistoffHide yourself from the GM list.
//gmchat textSend a message to all GMs and admins currently online.
//silenceTurn blocking of private messages to you on or off.
//invulTurn invulnerability on or off.
//invis, //invisibleBecome invisible to players. You still see your character, and the "Invisible" title reminds you of the mode.
//vis, //visibleBecome visible again.
//target nameTarget a character or monster by name, handy in a crowd where clicking the right target is hard.
//ride_wyvernSummon a wyvern (a flying dragon) and mount it.
//unride_wyvernDismount the wyvern.

Characters and punishments

CommandDescription
//character_listList of players online.
//current_playerList of players (not in every pack).
//show_characters pagePaged list of players online (not in every pack). Example: //show_characters 1.
//find_characterFind a character by name.
//edit_characterEdit menu for the targeted character.
//save_modificationsSave the changes made to the targeted character.
//add_exp_sp_to_characterMenu for giving XP and SP to the targeted character.
//add_exp_sp xp spGive XP and SP to the targeted character. Example: //add_exp_sp 1000000 50000.
//changelvl levelChange 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, //repairFix broken character data (for example, when the character cannot log in).
//kick nameDisconnect a character from the server.
//ban nameDisconnect a character and ban the account.
//unban nameUnban an account.
//banchat nameMute a player in chat.
//unbanchat nameUnmute a player.
//nokarmaRemove karma from the targeted character.
//setkarma valueSet the karma of the targeted character.
//setew valueSet the enchant level of the weapon equipped by the targeted character. Example: //setew 16.
//resResurrect the target.
//healRestore HP, MP and CP to yourself or to the targeted character.
//heal radiusHeal all characters within the given radius.
//heal nameHeal a character by name; no need to target them.
//para, //unparaParalyze the target / remove the paralysis.
//para_all, //unpara_allParalyze all players around you / remove the paralysis from all of them.

Skills

CommandDescription
//show_skillsSkill editor for the targeted character.
//skill_listSkill menu: use it to give any skill to the targeted character.
//skill_indexSkill menu based on the character's class and stats.
//add_skill id levelGive a skill to the targeted character. Example: //add_skill 21 1.
//remove_skill idRemove a skill from the targeted character.
//remove_skillsRemove all skills from the targeted character.
//get_skillsStart editing the targeted character's skill set: you temporarily get their skills, and yours are saved.
//reset_skillsFinish editing: the edited skill set goes to the targeted character, and you get your own skills back.
//give_all_skillsGive the targeted character all skills their class can learn at the current level.

Items and shops

CommandDescription
//itemcreateItem creation menu.
//create_item item_idCreate an item by ID. In many packs the second parameter is the amount: //create_item 57 1000000.
//gmshopOpen the GM shop.
//buy numberOpen a buylist by its number.
//showShop, //showShopListShow the goods list of the targeted merchant.
//addShopItem shop_id item_id priceAdd an item to a merchant's shop.
//delShopItem shop_id item_idRemove an item from a shop.
//editShopItem shop_id item_id priceChange the price of an item in a shop.

NPCs, monsters and spawns

CommandDescription
//show_spawnsSpawn menu.
//spawn npc_idSpawn 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_idSame as //spawn in some packs; mostly used for monsters.
//spawn_index levelList of monsters of the given level; you can spawn them straight from the menu. Example: //spawn_index 60.
//list_spawns npc_idShow all spawn points of the NPC with the given ID.
//deleteDelete the targeted NPC or monster together with its spawn point, so it never appears again.
//killKill the target: a monster, NPC or player. Spawned monsters are not removed and will respawn.
//kill radiusKill everything except players within the given radius. Example: //kill 500.
//recall_npcMove the targeted NPC to you.
//edit_npc npc_idEdit the stats of an NPC or monster.
//save_npcSave the NPC or monster changes.
//show_droplist npc_idShow 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_idRemove an item from a monster's drop list.
//unspawnallRemove all NPCs from the world.
//respawnallReload NPC data and respawn all NPCs.
//find_mammonShow where the Mammon NPCs (Seven Signs) are right now.
//show_mammon, //hide_mammonMake the Mammon NPCs visible / invisible.

Teleports and movement

CommandDescription
//show_movesTeleport menu.
//show_moves_otherAdditional teleport menu.
//show_teleportTeleport-by-coordinates menu.
//move_to x y zTeleport yourself to the given coordinates.
//teleport_character x y zTeleport the targeted character to the given coordinates.
//teleport_to_character nameTeleport yourself to a character.
//recall nameSummon a player to you.
//walk x y zMake your character walk to a point instead of teleporting.
//gonorth, //gosouth, //goeast, //gowestMove north, south, east or west. You can add a distance, for example //gonorth 500.
//goup, //godownMove up or down in height.

Announcements

CommandDescription
//announce_menuAnnouncements menu.
//list_announcementsList of startup announcements that players see when they log in.
//add_announcement textAdd a startup announcement. This way you can add text in any language even if the menu only accepts Latin characters.
//del_announcement numberDelete a startup announcement (the number comes from //list_announcements; some packs take the text instead).
//reload_announcementsReload startup announcements from the pack's text file (usually in the data folder, for example announcements.txt).
//announce_announcementsShow all startup announcements to all players once.
//announce textSend a one-time announcement to the whole world.

Sieges

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.

CommandDescription
//siege castleSiege 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.
//startsiegeStart the siege.
//endsiegeEnd the siege.
//setcastleGive the castle to the clan of the targeted character.
//add_attackerRegister the clan of the targeted character as an attacker.
//add_defenderRegister the clan of the targeted character as a defender.
//list_siege_clansList of clans registered for the siege.
//clear_siege_listClear the list of siege participants.
//move_defendersMove the siege defenders.
//spawn_doorsRespawn the castle doors.
//clean_up_siegeClean up the castle siege data.
//sgspawnInternal siege command; listed without a description in the original list.

Server and world control

CommandDescription
//server_shutdown secondsShut the server down after the given time. Example: //server_shutdown 300.
//server_restart secondsRestart the server after the given time.
//server_abortCancel a pending shutdown or restart.
//reload_questReload quest data.
//openallOpen all doors.
//closeallClose all doors.
//monsStart a Monster Race.

Effects and other commands

CommandDescription
//polymorph npc_idChange the target's appearance to the NPC with the given ID.
//polymorph item item_idMake the target look like an item.
//polyselfTurn yourself into a monster.
//unpolyselfReturn to your normal appearance.
//earthquakeEarthquake effect.
//bigheadGive the target a big head.
//shrinkheadReturn the target's head to normal size.
//play_soundsMenu for playing sounds and music.
//box_accessWith a box targeted, show who has access to it.
//box_access name1 name2Give the listed players access to the box. Example: //box_access kadar LadyPain.
//box_access no nameRemove a player from the box access list.

Internal and debug commands

CommandDescription
//fight_calculatorFight calculator: compares damage and hit chances of two chosen characters or monsters.
//fight_calculator_show, //fcsShow the fight calculator result (//fcs is the short form).
//test, //test uni, //test uni flush, //test hashDeveloper test commands for the world mapping feature. Not needed on a live server.
//explore, //forth, //bsh, //jython, //failedInternal 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.

Regular player commands

These commands are typed with a single slash and are available to all players, not just GMs.

CommandDescription
/gmlistList of GMs currently online.
/block nameAdd a player to your block list: you stop receiving their messages.
/unblock nameRemove a player from your block list.
/blocklistShow your block list.
/allblockBlock messages from everyone.
/allunblockAccept messages again.
/friendlistShow your friend list.
Be careful with mass commands//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

Read also

Need help with your server?

We help with the server pack, setup, protection and launch — one-off or on an ongoing basis.

L2‑Scripts newsletter

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.