Forrest's Guide to GM Lvl 3 commands for Mangos -
01-31-2008
This guide is correct as of Jan 30, 2008.
Dear Mod, please sticky if found useful.
These GM commands extracted from Mangos SQL database “Mangos-->commands” from revision 5112. Added in my comments. Feel free to add comments for any of the commands that you might find helpful to other players, I will edit this post and give you credit.
APOLOGIES IF THIS IS TOO LONG BUT I SIMPLY CAN'T GET A TABLE IN HERE BECAUSE HTML IS NOT ENABLED.
I suggest you use a ctrl-f to look for specific commands, it is very tedious to look through the list.
Check out my guide to making your own 2.3.3 Mangos Server @ [Only registered and activated users can see links. ]
You might wanna check out my guide on router solutions w/ or w/o Static IP as well @ [Only registered and activated users can see links. ]
# = Numbers $ = Text
The commands will be formatted in the following format:
Command Name
Gm Lvl Required to use this command
Comments
.acct
0
Syntax: .acct
Display the access level of your account.
.addgo
2
Syntax: .addgo #id <spawntimeSecs>
Add a game object from game object templates to the world at your current location using the #id.
Adds the specified number of items of id #itemid (or exact (!) name $itemname in brackets, or link created by shift-click at item in inventory or recipe) to your or selected character inventory. If #itemcount is omitted, only one item will be added.
.additemset
3
Syntax: .additemset #itemsetid
Add items from itemset of id #itemsetid to your or selected character inventory. Will add by one example each item from itemset.
<Forrest> You can lookup #itemsetid from .lookup itemset
.addmove
2
Syntax: .addmove #creature_guid [#waittime]
Add your current location as a waypoint for creature withguid #creature_guid. And optional add wait time.
<Forrest> You can lookup #creature_guid from your Mangos database.
.addquest
3
Syntax: .addquest #quest_id
Add to character quest log quest #quest_id. Quest started from item can't be added by this command but correct .additem call provided in command output.
<Forrest> You can lookup #quest_id from .lookup quest
.addtele
3
Syntax: .addtele $name
Add current your position to .tele command target locations list with name $name.
.addspw
2
Syntax: .addspw #creatureid
Spawn a creature by the given template id of #creatureid.
<Forrest> You can lookup #creatureid from .lookupcreature
Add item #itemid to item list of selected vendor. Also optionally set max count item in vendor item list and time to item count restoring.
<Forrest> You can lookup #itemID from .lookup item
.delvendoritem
2
Syntax: .delvendoritem #itemId
Remove item #itemid from item list of selected vendor.
<Forrest> You can lookup #itemID from .lookup item
.allowmove
3
Syntax: .allowmove
Enable or disable movement for the selected creature.
.anim
2
Syntax: .anim #emoteid
Play emote #emoteid for your character.
.announce
1
Syntax: .announce $MessageToBroadcast
Send a global message to all players online in chat log.
.notify
1
Syntax: .notify $MessageToBroadcast
Send a global message to all players online in screen.
.aura
3
Syntax: .aura #spellid
Add the aura from spell #spellid to the selected Unit.
.ban
3
Syntax is: ban <account|ip|character> $NameOrIp $bantime $reason
Ban an account or IP and kick player.
bantime: negative value leads to permban, otherwise use a timestring like "4d20h3s".
.unban
3
Syntax is: unban <account|ip|character> $NameOrIp
Unban account or IP.
.bank
3
Syntax: .bank
Show your bank inventory.
.changelevel
2
Syntax: .changelevel #level
Change the level of the selected creature to #level.
#level may range from 1 to 63.
.commands
0
Syntax: .commands
Display a list of available commands for your account level.
.cooldown
3
Syntax: .cooldown [#spell_id]
Remove all (if spell_id not provided) or #spell_id spell cooldown from selected character or you (if no selection).
.guild create
2
Syntax: .guild create $GuildLeaderName $GuildName
Create a guild named $GuildName with the player $GuildLeaderName as leader.
.cshutdown
3
Syntax: .cshutdown
Cancels shutdown
.delete
2
Syntax: .delete
Delete the selected creature from the world.
.delobject
2
Syntax: .delobject #go_guid
delete gameobject with guid #go_guid.
.deltele
3
Syntax: .deltele $name
Remove location with name $name for .tele command locations list.
.delticket
2
Syntax: .delticket all
.delticket #num
.delticket $character_name
all to delete all tickets at server, $character_name to delete ticket of this character, #num to delete ticket #num.
.demorph
2
Syntax: .demorph
Demorph the selected player.
.die
3
Syntax: .die
Kill the selected player. If no player is selected, it will kill you.
.dismount
0
Syntax: .dismount
Dismount you, if you are mounted.
.setmodel
2
Syntax: .setmodel #displayid
Change the model id of the selected creature to #displayid.
.distance
3
Syntax: .distance
Display the distance from your character to the selected creature.
.playemote
3
Syntax: .playemote #emoteid
Make the selected creature emote with an emote of id #emoteid.
.textemote
3
Syntax: .text #emoteid
Make the selected creature to do textemote with an emote of id #emoteid.
.explorecheat
3
Syntax: .explorecheat #flag
Reveal or hide all maps for the selected player. If no player is selected, hide or reveal maps to you.
Use a #flag of value 1 to reveal, use a #flag value of 0 to hide all maps.
.factionid
2
Syntax: .factionid #factionid
Set the faction of the selected creature to #factionid.
.castback
3
Syntax: .castback #spellid
Selected target cast #spellid to your character.
.cast
3
Syntax: .cast #spellid
Cast #spellid to selected target. If no target selected cast to self.
.getvalue
3
Syntax: .getvalue #field #isInt
Get the field #field of the selected creature. If no creature is selected, get the content of your field.
Use a #isInt of value 1 if the expected field content is an integer.
.gm
1
Syntax: .gm on/off
Enable or Disable GM MODE
.gocreature
2
Syntax: .gocreature #creature_guid
teleport your character to creature with guid #creature_guid.
.gocreature #creature_name
teleport your character to creature with this name.
.gocreature id #creature_id
teleport your character to a creature that was spawned from the template with this entry.
If* more than one creature is found, then you are teleported to the first that is found inside the database.
<Forrest> You can lookup #creature_guid from Mangos Database
.gogrid
1
Syntax: .gogrid #gridX #gridY [#mapId]
Teleport the gm to center of grid with provided indexes at map #mapId (or current map if it not provided).
.goobject
1
Syntax: .goobject #object_guid
teleport your character to gameobject with guid #object_guid
.goname
1
Syntax: .goname $charactername
Teleport to the given character. Either specify the character name or click on the character's portrait, e.g. when you are in a group.
.goxy
1
Syntax: .goxy #x #y [#mapid]
Teleport player to point with (#x,#y) coordinates at ground(water) level at map #mapid or same map if #mapid not provided.
<Forrest> #x, #y coordinates can be easily obtainable by use of an addon in your WoW client such as TitanPanel.
.goxyz
1
Syntax: .goxyz #x #y #z [#mapid]
Teleport player to point with (#x,#y,#z) coordinates at ground(water) level at map #mapid or same map if #mapid not provided.
.gps
1
Syntax: .gps
Display the position information for a selected character or creature. Position information includes X, Y, Z, and orientation, map Id and zone Id
.groupgo
1
Syntax: .groupgo $charactername
Teleport the given character and his group to you.
.grouptele
1
Syntax: .grouptele #location
Teleports a selected player and his group members to a given location.
.guid
2
Syntax: .guid
Display the GUID for the selected character.
.help
0
Syntax: .help $command
Display usage instructions for the given $command.
.hidearea
3
Syntax: .hidearea #areaid
Hide the area of #areaid to the selected character. If no character is selected, hide this area to you.
.honor
2
Syntax: .honor $command [$value]
Various honor related commands.
Use .help honor $command to get help on specific parameter usage. Supported parameters include add, addkill, flushkills, update
.honor add
2
Syntax: .honor add $amount
Add a certain amount of honor (gained today) to the selected player.
.honor addkill
2
Syntax: .honor addkill
Add the targeted unit as one of your pvp kills today (you only get honor if it's a racial leader or a player)
.honor flushkills
2
Syntax: .honor flushkills
Clear today's kills from the player limit storage (immediately) and from the DB (on next save) for the selected player.
.honor update
2
Syntax: .honor update
Force the yesterday's honor fields to be updated with today's data, which will get reset for the selected player.
.hover
3
Syntax: .hover #flag
Enable or disable hover mode for your character.
Use a #flag of value 1 to enable, use a #flag value of 0 to disable hover.
.idleshutdown
3
Syntax: .idleshutdown #delay|cancel
Shut the server down after #delay seconds if no active connections are present (no players) or cancel the shutdown if cancel value is used.
Move an item from slots #sourceslotid to #destinationslotid in your inventory
Not yet implemented
.kick
2
Syntax: .kick [$charactername]
Kick the given character name from the world. If no character name is provided then the selected player (except for yourself) will be kicked.
.learn
3
Syntax: .learn #parameter
Selected character learn a spell of id #parameter.
.learn all
3
Syntax: .learn all
Learn all big set different spell maybe useful for Administrator.
.learn all_crafts
2
Syntax: .learn crafts
Learn all professions and recipes.
.learn all_gm
2
Syntax: .learn all_gm
Learn all default spells for Game Masters.
.learn all_lang
1
Syntax: .learn all_lang
Learn all languages
.learn all_myclass
3
Syntax: .learn all_myclass
Learn all spells and talents available for his class.
.learn all_myspells
3
Syntax: .learn all_myspells
Learn all spells (except talents and spells with first rank learned as talent) available for his class.
.learn .all_mytalents
3
Syntax: .learn all_mytalents
Learn all talents (and spells with first rank learned as talent) available for his class.
.setskill
3
Syntax: .setskill #skill #level [#max]
Set a skill of id #skill with a current skill value of #level and a maximum value of #max (or equal current maximum if not provide) for the selected character. If no character is selected, you learn the skill.
.levelup
3
Syntax: .levelup [$playername] [#numberoflevels]
Increase/decrease the level of character with $playername (or the selected if not name provided) by #numberoflevels Or +1 if no #numberoflevels provided).
If #numberoflevels is omitted, the level will be increase by 1. If #numberoflevels is 0, the same level will be restarted.
If no character is selected and name not provided, increase your level.
Command can be used for offline character. All stats and dependent values recalculated. At level decrease talents can be reset if need. Also at level decrease equipped items with greater level requirement can be lost.
.linkgrave
3
Syntax: .linkgrave #graveyard_id [alliance|horde]
Link current zone to graveyard for any (or alliance/horde faction ghosts). This let character ghost from zone teleport to graveyard after die if graveyard is nearest from linked to zone and accept ghost of this faction. Add only single graveyard at another map and only if no graveyards linked (or planned linked at same map).
.listcreature
3
Syntax: .listcreature #creature_id [#max_count]
Output creatures with creature id #creature_id found in world. Output creature guids and coordinates sorted by distance from character. Will be output maximum #max_count creatures. If #max_count not provided use 10 as default value.
.listgm
0
Syntax: .listgm
Display a list of available Game Masters.
.listitem
3
Syntax: .listitem #item_id [#max_count]
Output items with item id #item_id found in all character inventories, mails and auctions. Output item guids, item owner guid, owner account and owner name. Will be output maximum #max_count items. If #max_count not provided use 10 as default value.
.listobject
3
Syntax: .listobject #gameobject_id [#max_count]
Output gameobjects with gameobject id #gameobject_id found in world. Output gameobject guids and coordinates sorted by distance from character. Will be output maximum #max_count gameobject. If #max_count not provided use 10 as default value.
.loadscripts
3
Syntax: .loadscripts $scriptlibraryname
Unload current and load the script library $scriptlibraryname or reload current if $scriptlibraryname omitted, in case you changed it while the server was running.
.lockaccount
0
Syntax: .lockaccount [on|off]
Allow login from account only from current used IP or remove this requirement.
.lookup spell
3
Syntax: .lookup spell $namepart
Looks up a spell by $namepart, and returns all matches with their spell ID's.
.lookup quest
3
Syntax: .lookup quest $namepart
Looks up a quest by $namepart, and returns all matches with their quest ID's.
.lookup skill
3
Syntax: .lookup skill $$namepart
Looks up a skill by $namepart, and returns all matches with their skill ID's.
.lookup object
3
Syntax: .lookup object $objname
Looks up an gameobject by $objname, and returns all matches with their Gameobject ID's.
.lookup itemset
3
Syntax: .lookup itemset $itemname
Looks up an item set by $itemname, and returns all matches with their Item set ID's.
.lookup item
3
Syntax: .lookup item $itemname
Looks up an item by $itemname, and returns all matches with their Item ID's.
.lookup creature
3
Syntax: .lookup creature $namepart
Looks up a creature by $namepart, and returns all matches with their creature ID's.
.maxskill
3
Syntax: .maxskill
Sets all skills of the targeted player to their maximum values for its current level.
Forrest's Guide to GM Lvl 3 commands for Mangos -
01-31-2008
modify
1
Syntax: .modify $parameter $value
Modify the value of various parameters. Use .help modify $parameter to get help on specific parameter usage.
Supported parameters include hp, mana, rage, energy, money, speed, swim, scale, bit, bwalk, aspeed, faction, spell, tp and honor.
.modify aspeed
1
Syntax: .modify aspeed #rate
Modify all speeds -run,swim,run back,swim back- of the selected player to "normalbase speed for this move type"*rate. If no player is selected, modify your speed.
#rate may range from 0.1 to 10.
.modify bit
1
Syntax: .modify bit #field #bit
Toggle the #bit bit of the #field field for the selected player. If no player is selected, modify your character.
.modify bwalk
1
Syntax: .modify bwalk #rate
Modify the speed of the selected player while running backwards to "normal walk back speed"*rate. If no player is selected, modify your speed.
#rate may range from 0.1 to 10.
.modify energy
1
Syntax: .modify energy #energy
Modify the energy of the selected player. If no player is selected, modify your energy.
Modify the faction and flags of the selected creature. Without arguments, display the faction and flags of the selected creature.
.modify money
1
Syntax:
.modify money #money
.money #money
Add or remove money to the selected player. If no player is selected, modify your money.
#gold can be negative to remove money.
.modify mount
1
Syntax:
.modify mount #id #speed
Display selected player as mounted at #id creature and set speed to #speed value.
.modify hp
1
Syntax: .modify hp #newhp
Modify the hp of the selected player. If no player is selected, modify your hp.
.modify mana
1
Syntax: .modify mana #newmana
Modify the mana of the selected player. If no player is selected, modify your mana.
.modify rage
1
Syntax: .modify rage #newrage
Modify the rage of the selected player. If no player is selected, modify your rage.
.modify scale
1
.modify speed
1
Syntax:
.modify speed #rate
.speed #rate
Modify the running speed of the selected player to "normal base run speed"*rate. If no player is selected, modify your speed.
#rate may range from 0.1 to 10.
.modify spell
1
.modify swim
1
Syntax: .modify swim #rate
Modify the swim speed of the selected player to "normal swim speed"*rate. If no player is selected, modify your speed.
#rate may range from 0.1 to 10.
.modify titles
1
Syntax: .modify titles #mask
.titles #mask
Allows user to use all titles from #mask. #mask=0 disables the title-choose-field
.modify honor
1
Syntax: .modify honor $amount
Added $amount to the selected player's total honor points.
.money
1
Syntax: .modify money #money
.money #money
Add or remove money to the selected player. If no player is selected, modify your money.
#gold can be negative to remove money.
.morph
2
Syntax: .morph #displayid
Change your current model id to #displayid.
.movecreature
2
Syntax: .movecreature [#creature_guid]
Move the targeted creature spawn point to your coordinates.
<Forrest> You can lookup #creature_guid from .lookup spell
.moveobject
2
Syntax: .moveobject #goguid [#x #y #z]
Move gameobject #goguid to character coordinates (or to (#x,#y,#z) coordinates if its provide).
.movegens
3
Syntax: .movegens
Show movement generators stack for selected creature or player.
.mute
1
Syntax: .mute $playerName $timeInMinutes
Disable chat messaging for any character from account of character $playerName at $timeInMinutes minutes.
.unmute
1
Syntax: .unmute $playerName
Restore chat messaging for any character from account of character $playerName.
.name
2
Syntax: .name $name
Change the name of the selected creature or character to $name.
Command disabled.
.namego
1
Syntax: .namego $charactername
Teleport the given character to you.
.nametele
1
Syntax: .nametele #playername #location
Teleport a player to a given location.
.neargrave
3
Syntax: .neargrave [alliance|horde]
Find nearest graveyard linked to zone (or only nearest from accepts alliance or horde faction ghosts).
.npcflag
2
Syntax: .npcflag #npcflag
Set the NPC flags of creature template of the selected creature and selected creature to #npcflag. NPC flags will applied to all creatures of selected creature template after server restart or grid unload/load.
.npcinfo
3
Syntax: .npcinfo
Display a list of details for the selected creature.
The list includes:
GUID, Faction, NPC flags, Entry ID, Model ID,
Level, Health (current/maximum), Field flags, dynamic flags, faction template, Position information, and the creature type, e.g. if the creature is a vendor.
Without arg show current player amount and security level limitations for login to server, with arg set player limit ($num > 0) or security limitation ($num < 0 or security leme name. With `reset` sets player limit to the one in the config file
.playsound
1
Syntax: .playsound #soundid
Play sound with #soundid.
Sound will be play only for you. Other players do not hear this.
Warning: client may have more 5000 sounds...
.recall
1
Syntax: .recall [$playername]
Teleport $playername or selected player to the place where he has been before last use of a teleportation command. If no $playername is entered and no player is selected, it will teleport you.
.reload
3
Syntax: .reload table_name
Reload table `table_name` if reload support added for this table and this table can be _safe_ reloaded.
.reload all
3
Syntax: .reload all
Reload all tables with reload support added and that can be _safe_ reloaded.
.reload all_area
3
Syntax: .reload all_area
Reload all `areatrigger_*` tables if reload support added for this table and this table can be _safe_ reloaded.
.reload all_loot
3
Syntax: .reload all_loot
Reload all `*_loot_template` tables. This can be slow operation with lags for server run.
.reload all_quest
3
Syntax: .reload all_quest
Reload all quest related tables if reload support added for this table and this table can be _safe_ reloaded.
.reload all_spell
3
Syntax: .reload all
Reload all `spell_*` tables with reload support added and that can be _safe_ reloaded.
.removequest
3
Syntax: .removequest #quest_id
Set quest #quest_id state to not completed and not active (and remove from active quest list) for selected player.
<Forrest> You can lookup #quest_id from .lookup quest
.reset honor
3
Syntax: .reset honor [Playername]
Reset all honor data for targeted character.
.reset level
3
Syntax: .reset level [Playername]
Reset level to 1 including reset stats and talents. Equipped items with greater level requirement can be lost.
.reset spells
3
Syntax: .reset spells [Playername]
Removes all non-original spells from spellbook.
Playername can be name of offline character.
.reset stats
3
Syntax: .reset stats [Playername]
Resets(recalculate) all stats of the targeted player to their original values at current level.
.reset talents
3
Syntax: .reset talents [Playername]
Removes all talents of the targeted player. Playername can be name of offline character.
Set for creature pointed by #creature_guid (or selected if #creature_guid not provided) movement type and move it to respawn position (if creature alive). Any existing waypoints for creature will be removed from the database if you do not use NODEL. If the creature is dead then movement type will applied at creature respawn.
Make sure you use NODEL, if you want to keep the waypoints.
<Forrest> You can lookup #creature_guid from .lookup spell.
.setvalue
3
Syntax: .setvalue #field #value #isInt
Set the field #field of the selected creature with value #value. If no creature is selected, set the content of your field.
Use a #isInt of value 1 if #value is an integer.
.showarea
3
Syntax: .showarea #areaid
Reveal the area of #areaid to the selected character. If no character is selected, reveal this area to you.
.showhonor
0
Syntax: .showhonor
Display your honor ranking.
.shutdown
3
Syntax: .shutdown seconds
.speed
1
Syntax: .modify speed #rate and/or .speed #rate
Modify the running speed of the selected player to "normal base run speed"*rate. If no player is selected, modify your speed.
#rate may range from 0.1 to 10.
.standstate
2
Syntax: .standstate #emoteid
Change the emote of your character while standing to #emoteid.
.start
0
Syntax: .start
Teleport you to the starting area of your character.
.subname
2
Syntax: .subname $Name
Change the subname of the selected creature or player to $Name.
Command disabled.
.targetobject
2
Syntax: .targetobject [#go_id|#go_name_part]
Locate and show position nearest gameobject. If #go_id or #go_name_part provide then locate and show position of nearest gameobject with gameobject template id #go_id or name included #go_name_part as part.
.taxicheat
1
Syntax: .taxicheat on/off
Temporary grant access or remove to all taxi routes for the selected character. If no character is selected, hide or reveal all routes to you.
Visited taxi nodes still accessible after removing access.
<Forrest> Taxis are the flying public transport mounts you have to pay for, like taking a taxi.
.ticket
2
Syntax: .ticket on
.ticket off
.ticket #num
.ticket $character_name
on/off for GMs to show or not a new ticket directly, $character_name to show ticket of this character, #num to show ticket #num.
.transport
3
Not yet implemented.
.turnobject
2
Syntax: .turnobject #goguid
Set for gameobject #goguid orientation same as current character orientation.
.unaura
3
Syntax: .unaura #spellid
Remove aura due to spell #spellid from the selected Unit.
<Forrest> You can lookup #spellids from .lookup spell
.baninfo
3
Syntax is: baninfo <account|ip|character>
Catch full information about a specific ban.
.banlist
3
Syntax is: banlist <account|ip|character> $NameOrIp
Searches the banlist for a pattern.
.unlearn
3
Syntax: .unlearn #startspell #endspell
Unlearn for selected player the range of spells between id #startspell and #endspell. If no #endspell is provided, just unlearn spell of id #startspell.
<Forrest> You can lookup #spellids from .lookup spell
.update
3
Syntax: .update #field #value
Update the field #field of the selected character or creature with value #value.
If no #value is provided, display the content of field #field.
.visible
1
Syntax: .visible on/off
Output current visibility state or make GM visible(on) and invisible(off) for other players.
.wchange
3
Syntax: wchange #weathertype #status
Set current weather to #weathertype with an intensity of #status.
#weathertype can be 1 for rain, 2 for snow, and 3 for sand. #status can be 0 for disabled, and 1 for enabled.
.whispers
1
Syntax: .whispers on|off
Enable/disable accepting whispers by GM from players. By default use mangosd.conf setting.
.spawndist
2
Syntax: .spawndist #dist
Adjust spawndistance of selected creature to dist.
.spawntime
2
Syntax: .spawntime #time
Adjust spawntime of selected creature to time.
.titles
1
Syntax: .modify titles #mask
.titles #mask
Allows user to use all titles from #mask. #mask=0 disables the title-choose-field
.wp
2
Using WP Command:
Each Waypoint Command has it's own description! (see below)
.wp add
2
Syntax: .wp add [#creature_guid or Select a Creature]
<Forrest> You can lookup #creature_guid from .lookup creature.
.wp modify
2
Syntax: .wp modify [#creature_guid or Select a Creature]
Add - Add a waypoint after the selected visual
Import $filename for npc
Export $filename for selected npc
Waittime $time
Emote ID
Spell ID
text1| text2| text3| text4| text5 <text>
Model1 ID
Model2 ID
Aiscript $Name
Move(moves wp to player pos)
Del (deletes the wp)
Only one parameter per time!
<Forrest> You can lookup #creature_guid from .lookup spell
.wp show
2
Syntax: .wp show [#creature_guid or Select a Creature]
n
first
last
ff
info
For using info you have to do first show on and than select a Visual-Waypoint and do the show info.