Lineage 2 GM Commands
Administrative commands and access levels
Lineage 2 game master (GM) service commands as listed by l2db. Ordinary players cannot use them, but the table shows what a server's administration can do. Columns B1-B7 show whether a command is available at different access levels - apparently the builder levels granted by the setbuilder command: 1 - available, 0 - not available, a dash - no data. A dash in the "Parameters" and "Action" columns means the source does not give them.
| Command | Parameters | Action | B1 | B2 | B3 | B4 | B5 | B6 | B7 |
|---|---|---|---|---|---|---|---|---|---|
actorcount | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
add_peti_chat | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
addbookmark | add a bookmark | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
addcomment | target a character | add service comments | 1 | 1 | 1 | 1 | 1 | 1 | 0 |
announce | add an announcement | 1 | 1 | 1 | 1 | 1 | 0 | 0 | |
ask_now | - | current time | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
ask_residence | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
attack | - | - | 1 | - | - | 0 | - | 0 | 0 |
auction_close | - | - | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
auction_open | - | - | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
bbs | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
cancelgmpeti | - | 1 | 1 | 1 | 1 | 1 | 1 | 0 | |
castleincome | - | list castles with income | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
cease_fire | - | - | 1 | 1 | - | 0 | 0 | 0 | 0 |
cease_fire2 | - | - | 1 | 1 | - | 0 | 0 | 0 | 0 |
closeauth | - | - | 1 | - | - | - | - | 0 | - |
controltower_levelup | - | strengthen siege control crystals | 1 | - | - | 0 | - | 0 | 0 |
create_pet | <1-9> | - | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
croplist | - | - | 1 | - | 0 | 0 | 0 | 0 | 0 |
debug | character info | 1 | - | - | - | - | - | - | |
debugnpc | [target / name] | changes NPC INFO in L2NPC.exe | 1 | - | 0 | 0 | 0 | 0 | 0 |
defend | castle pledge | set the castle owner | 1 | - | - | 0 | 0 | 0 | 0 |
delannounce | announce_id | delete an announcement | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
delbookmark | delete a bookmark | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
delcrop | - | - | 1 | - | - | 0 | 0 | 0 | 0 |
delete_pet | pet id | delete a pet | 1 | - | - | 0 | - | 0 | 0 |
delquest | quest id | delete a quest | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
delskill | skill id | delete a skill | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
diet | on/off | ignore weight limit | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
disband | <clan_name> (or delete <clan_name>) | disband a clan | 1 | - | - | 0 | 0 | 0 | 0 |
door_levelup | - | strengthen a door | 1 | - | - | 0 | - | 0 | 0 |
dropping | - | drop ping | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
enable_plane_collision | 1/0 | - | 1 | 1 | 1 | 0 | - | 0 | 0 |
endpet | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 0 |
escape | - | - | 1 | - | 0 | 0 | 0 | 0 | 0 |
event | - | list of events | 1 | - | - | 0 | - | 0 | 0 |
eventview | - | view an event | 1 | 1 | 1 | 1 | 1 | 0 | 0 |
force_peti | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
getbookmark | - | list of bookmarks | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
gmchat | - | chat between online GMs | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
gmliston | - | add yourself to the server GM list | 1 | 1 | 1 | 1 | 1 | 0 | 0 |
gmon | - | enable "GM mode" | 1 | 1 | 1 | 1 | 1 | 0 | 0 |
gmspeed | 0-5 | increase movement speed | 1 | 1 | 1 | 1 | 1 | 1 | 0 |
gotopn | - | - | 1 | 1 | - | 0 | - | 0 | 0 |
healthy | target a character | restores HP and MP | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
hide | on/off | invisibility mode | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
home | - | teleport to the nearest town | 1 | 1 | 1 | 1 | 1 | 0 | 0 |
infectedskill | - | - | 1 | - | - | 0 | 0 | 0 | 0 |
kick | target a character | kick from the game | 1 | 1 | 1 | 1 | 1 | 0 | 0 |
killme | - | kill yourself | 1 | - | - | - | - | 0 | - |
killnpc | - | kill an NPC | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
leavepetimsg | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 0 |
left_peti_chat | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
load_pledge | - | - | 1 | - | 0 | 0 | 0 | 0 | 0 |
mid_victory | - | - | 1 | - | 0 | 0 | - | 0 | 0 |
netping | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
partytel | - | - | 1 | 1 | 1 | 1 | 1 | 0 | 0 |
petans | - | - | 1 | - | - | 0 | 0 | 0 | 0 |
ping | - | ping the server | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
play_music | play music in the location | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
polymorph | <npc_id> or <npc_name> | turn into a monster | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
qmove | - | - | 1 | - | - | 0 | - | 0 | 0 |
recall | teleport a character to you | 1 | 1 | 1 | 1 | 1 | 0 | 0 | |
reset_npc_db | - | - | 1 | 1 | - | 0 | - | 0 | 0 |
reset_respawn | - | - | 1 | - | - | 0 | - | 0 | 0 |
reset_skill | - | - | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
reset_time | - | - | 1 | - | - | 0 | - | 0 | 0 |
ride | - | fly on a dragon | 1 | 1 | 1 | 1 | - | 0 | 0 |
sendhome | return to the starting town | 1 | 1 | 1 | 1 | 1 | 0 | 0 | |
servername | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
serverstat | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
set_bp | - | change internal variables | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
set_controltower_status | - | change the state of control crystals | 1 | - | - | 0 | 0 | 0 | 0 |
set_door_hp | - | "heal" a door | 1 | - | - | 0 | 0 | 0 | 0 |
set_freeze_field | - | - | 1 | - | 0 | 0 | 0 | 0 | 0 |
set_interval_announce | - | repeating announcements | 1 | - | 0 | 0 | - | 0 | 0 |
set_pausable | - | - | 1 | - | - | 0 | - | 0 | 0 |
set_pledge_level | clan_name_lower clan_level | set a clan level | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
set_quick_siege | - | start a siege in X seconds | 1 | - | - | 0 | 0 | 0 | 0 |
set_siege | gludio=1, dion=2, giran=3, oren=4, aden=5 | set siege date and time | 1 | - | - | 0 | 0 | 0 | 0 |
set_siege_end | - | set siege end | 1 | - | - | 0 | 0 | 0 | 0 |
set_siege_period | - | - | 1 | - | - | 0 | 0 | 0 | 0 |
set_skill_all | - | give all skills | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
setai | <mob_id> | set mob AI | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
setannounce | - | set an announcement | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
setarea | - | - | 1 | - | - | 0 | 0 | 0 | 0 |
setbuilder | give a character builder rights | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |
setcastleincome | - | set castle income | 1 | - | - | 0 | 0 | 0 | 0 |
setclass | set class | 1 | 1 | 0 | 0 | 0 | 0 | 0 | |
setcrop | - | - | 1 | - | - | 0 | 0 | 0 | 0 |
setkarma | set karma (self only) | 1 | 1 | 1 | 0 | 0 | 0 | 0 | |
setonetimequest | - | 1 | 1 | 1 | 0 | 0 | 0 | 0 | |
setparam | skill id | set a parameter (STR, CON...) | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
setquest | - | 1 | 1 | 1 | 0 | 0 | 0 | 0 | |
setskill | <skill#> | add a skill | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
settax | - | set castle tax | 1 | - | - | 0 | 0 | 0 | 0 |
show_agit_info | - | - | 1 | - | 1 | 1 | 1 | 0 | 0 |
show_bp | - | - | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
show_castle_door_hp | - | show door HP | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
skillmod | - | - | 1 | - | - | 0 | 0 | 0 | 0 |
snoop | - | eavesdrop | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
social | - | social actions (dance) | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
spawn_npcs | count ai | spawn a group of NPCs with the given AI | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
startpet | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 0 |
stoplogin | ban login for X minutes | 1 | 1 | 1 | 1 | 1 | 0 | 0 | |
stopsay | mute for X minutes | 1 | 1 | 1 | 1 | 1 | 0 | 0 | |
summon | create an item or mob | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |
summon2 | - | create an enchanted item | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
summonnpc | - | summon an NPC | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
telbookmark | - | teleport to a bookmark | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
teleport | - | teleport to coordinates | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
teleportto | - | teleport to a character | 1 | 1 | 1 | 1 | 1 | 1 | 0 |
time_info | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
time_limit | - | - | 1 | - | 0 | 0 | 0 | 0 | 0 |
undying | on/off | immortality | 1 | 1 | 1 | 1 | 1 | 0 | 0 |
unregister | - | - | 1 | - | 0 | 0 | - | 0 | 0 |
updatecastleincome | - | - | 1 | - | - | 0 | 0 | 0 | 0 |
view_enemy_list | - | 1 | 1 | 1 | 0 | 0 | 0 | 0 | |
view_enemy_list2 | - | - | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
viewcomment | - | - | 1 | 1 | 1 | 1 | 0 | 0 | 0 |
viewpn | - | - | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
whisper | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
who | - | - | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
worlddebug | - | lots of useful debug info | 1 | 1 | 1 | 1 | 1 | 0 | 0 |