Code:
Commands
-----------------------------------------------------------------------------------------------------------------------------
| commands | | shows commands |
| help | | shows help for commands |
| gps | | shows your current position |
| unit | u | See "unit" table commands for more info |
| waypoint | w | See "waypoint" table commands for more info |
| debug | d | See "debug" table commands for more info |
| gm | g | See "gm" table commands for more info |
| gobject | o | See "gameobject" table commands for more info |
| battleground | b | See "battleground" table commands for more info |
| cheat | c | See "cheat" table commands for more info |
| pvp | m | See "pvp" table commands for more info |
| quest | q | See "quest" table commands for more info |
| teleport | t | See "teleport" table commands for more info |
| guild | f | See "guild" table commands for more info |
| server | s | See "server" table commands for more info |
| lookupitem | l | looks up an item string |
| lookupquest | l | looks up a quest string |
| lookupcreature | l | looks up a creature string |
| createarenateam | g | creates an arena team |
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
unit
-----------------------------------------------------------------------------------------------------------------------------
| hp | u | Health Points/HP |
| mana | u | Mana Points/MP |
| rage | u | Rage Points |
| energy | u | Energy Points |
| level | p | Level |
| armor | u | Armor |
| holy | u | Holy Resistance |
| fire | u | Fire Resistance |
| nature | u | Nature Resistance |
| frost | u | Frost Resistance |
| shadow | u | Shadow Resistance |
| arcane | u | Arcane Resistance |
| damage | u | Unit Damage Min/Max |
| scale | u | Size/Scale |
| gold | p | Gold/Money/Copper |
| speed | u | Movement Speed |
| nativedisplayid | u | Native Display ID |
| displayid | u | Display ID |
| flags | u | Unit Flags |
| faction | u | Faction Template |
| dynamicflags | u | Dynamic Flags |
| talentpoints | p | Talent Points |
| happiness | u | Happiness |
| spirit | u | Spirit |
| boundingradius | u | Bounding Radius |
| combatreach | u | Combat Reach |
| emotestate | u | NPC Emote State |
| bytes | u | Bytes |
| vendoradditem | n | Adds to vendor |
| vendorremoveitem | n | Removes from vendor. |
| npcflags | n | Changes NPC flags |
| deletenpc | n | Deletes mob from db and world. |
| info | n | Displays NPC information |
| addAgent | n | .npc addAgent <agent> <procEvent> <procChance> <procCount> <spellId> <spellType> <spelltargetType> <spellCooldown> <floatMisc1> <Misc2> |
| listAgent | n | .npc listAgent |
| say | p | .npc say <text> - Makes selected mob say text <text>. |
| yell | p | .npc yell <Text> - Makes selected mob yell text <text>. |
| come | u | .npc come - Makes npc move to your position |
| return | u | .npc return - Returns ncp to spawnpoint. |
| spawn | n | .npc spawn - Spawns npc of entry <id> |
| spawnlink | n | .spawnlink sqlentry |
| possess | p | .npc possess - Possess an npc (mind control) |
| unpossess | p | .npc unpossess - Unposses any currently possessed npc. |
| select | n | .npc select - selects npc closest |
| createpet | p | Creates a pet with <entry>. |
| renamepet | p | Renames a pet to <name>. |
| addpetspell | p | Teaches pet <spell>. |
| removepetspell | p | Removes pet spell <spell>. |
| kill | u | .kill - Kills selected unit. |
| killplr | p | .killplr <name> - Kills specified player |
| revive | p | Revives you. |
| reviveplr | p | Revives player specified. |
| demorph | p | Demorphs from morphed model. |
| mount | p | Mounts into modelid x. |
| dismount | p | Dismounts. |
| resetreputation | p | .resetreputation - Resets reputation to start levels. (use on characters that were made before reputation fixes.) |
| resetspells | p | .resetspells - Resets all spells to starting spells of targeted player. DANGEROUS. |
| resettalents | p | .resettalents - Resets all talents of targeted player to that of their current level. DANGEROUS. |
| resetskills | p | .resetskills - Resets all skills. |
| additem | p | |
| removeitem | p | Removes item u count u. |
| learn | p | Learns spell |
| unlearn | p | Unlearns spell |
| getskilllevel | p | Gets the current level of a skill |
| getskillinfo | p | Gets all the skills from a player |
| learnskill | p | .learnskill <skillid> (optional) <value> <maxvalue> - Learns skill id skillid. |
| advanceskill | p | advanceskill <skillid> <amount |
| removeskill | p | .removeskill <skillid> - Removes skill |
| increaseweaponskill | p | .increaseweaponskill <count> - Increase eqipped weapon skill x times (defaults to 1). |
| clearcooldowns | p | Clears all cooldowns for your class. |
| removeauras | p | Removes all auras from target |
| paralyze | p | Roots/Paralyzes the target. |
| unparalyze | p | Unroots/Unparalyzes the target. |
| additemset | p | Adds item set to inv. |
| advanceallskills | p | Advances all skills <x> points. |
| castspell | p | .castspell <spellid> - Casts spell on target. |
| npcfollow | n | Sets npc to follow you |
| nullfollow | n | Sets npc to not follow anything |
| formationlink1 | n | Sets formation master. |
| formationlink2 | n | Sets formation slave with distance and angle |
| formationclear | n | Removes formation from creature |
| showitems | u | test for ItemIterator |
| removesickness | p | Removes ressurrection sickness from the target |
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
debug
-----------------------------------------------------------------------------------------------------------------------------
| infront | d | |
| showreact | d | |
| aimove | d | |
| dist | d | |
| face | d | |
| moveinfo | d | |
| setbytes | d | |
| getbytes | d | |
| unroot | d | |
| root | d | |
| landwalk | d | |
| waterwalk | d | |
| castspellne | d | .castspellne <spellid> - Casts spell on target (only plays animations |
| aggrorange | d | .aggrorange - Shows aggro Range of the selected Creature. |
| knockback | d | .knockback <value> - Knocks you back. |
| fade | d | .fade <value> - calls ModThreatModifyer(). |
| threatMod | d | .threatMod <value> - calls ModGeneratedThreatModifyer(). |
| calcThreat | d | .calcThreat <dmg> <spellId> - calculates threat. |
| threatList | d | .threatList - returns all AITargets of the selected Creature. |
| gettptime | d | grabs transporter travel time |
| itempushresult | d | sends item push result |
| setbit | d | |
| setvalue | d | |
| aispelltestbegin | d | |
| aispelltestcontinue | d | |
| aispelltestskip | d | |
| dumpcoords | d | |
| sendpacket | d | <opcode ID> |
| sqlquery | d | <sql query> |
| rangecheck | d | Checks the yard range and internal range between the player and the target. |
| setallratings | d | Sets rating values to incremental numbers based on their index. |
| testlos | d | tests los |
| testindoor | d | tests indoor |
| getheight | d | Gets height |
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
waypoint
-----------------------------------------------------------------------------------------------------------------------------
| add | w | Add wp at current pos |
| show | w | Show wps for creature |
| hide | w | Hide wps for creature |
| delete | w | Delete selected wp |
| movehere | w | Move to this wp |
| flags | w | Wp flags |
| waittime | w | Wait time at this wp |
| emote | w | Emote at this wp |
| skin | w | Skin at this wp |
| change | w | Change at this wp |
| info | w | Show info for wp |
| movetype | w | Movement type at wp |
| generate | w | Randomly generate wps |
| save | w | Save all waypoints |
| deleteall | w | Delete all waypoints |
| addfly | w | Adds a flying waypoint |
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
gm
-----------------------------------------------------------------------------------------------------------------------------
| getticket | g | Gets GM Ticket |
| getticketbyid | g | Gets GM Ticket by ID |
| deleteticketbyid | g | Deletes GM Ticket by ID |
| banaccount | a | Ban account. .account ban name timeperiod |
| unbanaccount | z | Unbans account x. |
| createaccount | z | Create account. Pass it username password email. |
| changeemail | z | Sets email address on account. Pass it username emailaddress. |
| changeflags | z | Sets flags on account. Pass it username and 0 for Non-TBC or 8 for TBC. |
| setprivileges | z | Sets gm level on account. Pass it username and 0 |
| changepassword | z | Sets password on account. Pass it username password. |
| mute | y | Mutes account for <timeperiod>. |
| unmute | y | Unmutes account <x> |
| banchar | y | Bans character x with or without reason |
| unbanchar | y | Unbans character x |
| kick | g | Kicks player from server |
| list | | Shows active GMs |
| off | g | Sets GM tag off |
| on | g | Sets GM tag on |
| agro | g | .agro - Toggles your agro on and off. |
| invisible | g | .invisible - Toggles INVINCIBILITY and INVISIBILITY (mobs wont attack you and nobody can see you |
| allowwhispers | g | Allows whispers from player <s> while in gmon mode. |
| blockwhispers | g | Blocks whispers from player <s> while in gmon mode. |
| disconnectplayer | y | Disconnects the player with name <s>. |
| disconnectaccount | y | Disconnects the session with account name <s>. |
| addipban | y | Adds an address to the IP ban table <address> durationnDuration must be a number optionally followed by a character representing the calendar subdivision to use (h>hours |
| delipban | y | Deletes an address from the IP ban table <address> |
| renamechar | y | Renames character x to y. |
| forcerenamechar | y | Forces character x to rename his char next login |
| whisperblock | g | Blocks like .gmon except without the <GM> tag |
| getstanding | p | Gets standing of faction u. |
| setstanding | p | Sets stanging of faction u. |
| logcomment | g | Adds a comment to the GM log for the admins to read. |
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
guild
-----------------------------------------------------------------------------------------------------------------------------
| create | f | Creates a guild. |
| rename | f | Renames a guild. |
| members | f | Lists guildmembers and their ranks. |
| removeplayer | f | Removes a player from a guild. |
| disband | f | Disbands the guild of your target. |
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
gameobject
-----------------------------------------------------------------------------------------------------------------------------
| select | o | Selects the nearest GameObject to you |
| delete | o | Deletes selected GameObject |
| spawn | o | Spawns a GameObject by ID |
| info | o | Gives you informations about selected GO |
| activate | o | Activates/Opens the selected GO. |
| enable | o | Enables the selected GO for use. |
| scale | o | Sets scale of selected GO |
| animprogress | o | Sets anim progress |
| export | o | Exports the current GO selected |
| move | g | Moves gameobject to player xyz |
| rotate | g | Rotates gameobject x degrees |
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
battleground
-----------------------------------------------------------------------------------------------------------------------------
| setbgscore | b | <Teamid> <Score> - Sets battleground score. 2 Arguments. |
| start | b | Starts current battleground match. |
| pause | b | Pauses current battleground match. |
| info | b | Displays information about current battleground. |
| menu | b | Shows BG Menu |
| setworldstate | b | <var> <val> - Var can be in hex. WS Value. |
| playsound | b | <val>. Val can be in hex. |
| setstatus | b | .setbfstatus - NYI. |
| leave | b | Leaves the current battleground. |
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
cheat
-----------------------------------------------------------------------------------------------------------------------------
| status | c | Shows active cheats. |
| taxi | c | Enables all taxi nodes. |
| cooldown | c | Enables no cooldown cheat. |
| casttime | c | Enables no cast time cheat. |
| power | c | Disables mana consumption etc. |
| god | c | Sets god mode |
| fly | c | Sets fly mode |
| land | c | Unsets fly mode |
| explore | c | Reveals the unexplored parts of the map. |
| stack | c | Enables aura stacking cheat. |
| triggerpass | c | Ignores area trigger prerequisites. |
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
pvp
-----------------------------------------------------------------------------------------------------------------------------
| addhonorpoints | p | Adds x amount of honor points/currency |
| addkills | p | Adds x amount of honor kills |
| globaldailyupdate | p | Daily honor field moves |
| singledailyupdate | p | Daily honor field moves for selected player only |
| pvpcredit | p | Sends PVP credit packet |
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
tele
-----------------------------------------------------------------------------------------------------------------------------
| list | t | List recall locations |
| port | t | Port to recalled location |
| add | t | Add recall location |
| del | t | Remove a recall location |
| porttarget | p | recall ports player |
| appear | g | Teleports to xs position. |
| summon | p | Summons x to your position |
| start | t | Teleports you to a starting location |
| worldport | t | Teleports you to <map> <x> <y> <z> (<o>). |
| gotrig | t | Warps to areatrigger <id> |
| exitinstance | t | Exits current instance |
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
quest
-----------------------------------------------------------------------------------------------------------------------------
| addboth | q | Add quest <id> to the targeted NPC as start finish |
| addfinish | q | Add quest <id> to the targeted NPC as finisher |
| addstart | q | Add quest <id> to the targeted NPC as starter |
| delboth | q | Delete quest <id> from the targeted NPC as start finish |
| delfinish | q | Delete quest <id> from the targeted NPC as finisher |
| delstart | q | Delete quest <id> from the targeted NPC as starter |
| complete | q | Complete/Finish quest <id> |
| finisher | q | Lookup quest finisher for quest <id> |
| item | q | Lookup itemid necessary for quest <id> |
| list | q | Lists the quests for the npc <id> |
| load | q | Loads quests from database |
| lookup | q | Looks up quest string x |
| giver | q | Lookup quest giver for quest <id> |
| remove | q | Removes the quest <id> from the targeted player |
| reward | q | Shows reward for quest <id> |
| status | q | Lists the status of quest <id> |
| spawn | q | Port to spawn location for quest <id> |
| start | q | Starts quest <id> |
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
server
-----------------------------------------------------------------------------------------------------------------------------
| announce | s | Sends Msg To All |
| wannounce | s | Sends Widescreen Msg To All |
| masssummon | z | .masssummon - Summons all players. |
| info | | Server info |
| saveall | s | Saves all playing characters |
| setmotd | s | Sets MOTD |
| reloadtable | m | Reloads some of the database tables |
| shutdown | z | Initiates server shutdown in <x> seconds. |
| restart | z | Initiates server restart in <x> seconds. |
| castall | z | Makes all players online cast spell <x>. |
| dispelall | z | dispels all negative or positive auras on the realm. Specify 1 for positive |
| playsound | z | plays a sound id to the entire server |
| rehashconfig | z | reloads the config file |
| renameallinvalidchars | z | renames all invalid character names on the server |
-----------------------------------------------------------------------------------------------------------------------------
</pre>
Note: granting someone the "a" flag will allow them to do anything except "z" commands.
To create a custom command level (for instance an account that can allow recall, recall list,
and recall port only) go into Command_overrides and under command name type "recall" then security
level type "t". T is the letter we'll be using to represent a Teleporter account. Then go down
and add "recall port" and "recall list" with the permissions "t". To change someone's account
to a teleporter account, change their privileges to "t" <-- without quotes. You can also use "recall *", to set all subcommands to a specific new priviledge.
source:
Gamemaster - Ascent Wiki