Brian Koponen

Programming and Tech Tips

World of Warcraft Single Player Server GM Commands

If you've followed my WoW Single Player Server Quick Start Guide, you have a working local single player server running. You may have also read the Advanced Settings Guide and the Bot Control Guide to get a much better single player experience.

These settings provide a nice way to play the game, more or less, as intended. If you are more interested in using the server as a test-bed for builds and strategies, or to simply explore and really want to cheat the game, you need to create a Game Master account. This lets you do anything you want. You can give gold and items to any character in the game, set them to any level, teleport to any location, reset talent points, learn every spell and more.

In this guide, I will show you how to create a GM account and go over the most useful commands that you can use with it.


GM Account

With the server running, you can easily create a new GM account, or make an existing account a GM account by running these commands in the mangos.exe window:

account create <username> <password>
account set gm <username> 3

When you login as a GM account, either newly created or an upgraded existing account, you won't notice anything different. There's no special UI, you won't be on GM Island or anything like that. Having a GM account simply lets you use a whole new set of chat commands to, basically, do anything you want in the game world.

You can absolutely play the game as normal with a GM account, though it will be extremely tempting to cheat all the time with the GM commands available. This is why I recommend creating a dedicated GM account separated from your playable characters, so it's not quite so easy to cheat all the time.


GM Commands

When you login with the GM account, you will have access to a whole new set of chat commands. Many of these commands aren't really useful for a single player server (things like banning players), so I'm only going to show the useful commands as they relate to the single player server experience.

You can find the full command reference here.

GM

These are some general GM commands.

Command Description
.gm [on/off] Turns on (or off) GM Mode. In GM Mode, you cannot attack or be attacked.
.gm fly [on/off] Enables the GM to fly. Note that this was not implemented in Vanilla WoW.
.gm visible [on/off] Makes yourself visible or invisible.
.commands List all the commands available.
.help [command] Display more information about a command.
.bank Opens your bank inventory window.
.die [selected_player] Kills the selected player. If no player is selected, kills yourself.
.guild create [player_name] "guild_name" Creates a guild with the named player as leader. Guild name must be in quotes. If a player name is omitted, uses the selected character instead.


Character Spells / Skills

These commands let you alter a character's level, spells and skills.

Command Description
.levelup [player_name] [#levels] Raises (or lowers) the level of the named player by the given amount. If player_name is omitted, uses the selected player, or yourself.

If #levels is omitted, the level increases by 1. If #levels is 0, the same level will be restarted.

Lowering the level will require resetting talent points and can cause equipped items to be lost. Can be used for offline characters.
.maxskill [selected_player] Sets all skills (weapon, defense, etc.) of the targeted player to the maximum value for their level. If no player is selected, maxes your skills.
.reset talents [player_name] Resets all talent points of the named player. If player_name is omitted, uses the selected player, or yourself. Resetting player talents will also reset talent points for the players's pets.
.learn all_myspells Learn every spell (all ranks) for the class (except for spells learned as a talent).
.learn all_recipes profession Learn all recipes for the given profession and sets skill to max level.
.cooldown clear [spell_id] Clears the cooldown of the given spell_id on the selected character (or yourself if none selected). If spell_id is omitted, clears the cooldowns of all spells.
.cooldown list Displays a list of the spell_ids on cooldown of the selected character (or yourself if none selected).


Items and Money

These commands let you create items and money.

Command Description
.send money player_name "subject" "message" #money Sends mail with the given amount of money attached. Subject and mail text must be in quotes.
.additem "item_name" [quantity] Adds the named item to your inventory with optional quantity. Item name must be in quotes.
.repairitems [selected_player] Repairs all the items of a selected player. If no player is selected, repairs your own items.


Movement

These commands let you modify your movement speed or teleport to a location in the world.

Command Description
.explorecheat 1 Reveals the entire map.
.tele location Teleports you to the named location. You can teleport to most named places on the map.
.modify aspeed #rate Changes your speed for run, strafe and swim. 1.0 is normal speed.
.modify bwalk #rate Changes your backpedaling speed. 1.0 is normal speed.
.modify scale #amount Changes your size. 1.0 is normal size.


Conclusion

These GM commands give you access to everything in the game at a moment's notice. If you really are wanting to play the game as intended, you have to resist the urge to use these too much. It's the ultimate cheat code system and can quickly trivialize the game.

I hope this has been useful. Let me know if you have any comments or questions.

You may also be interested in these World of Warcraft related pages:

World of Warcraft Macros

Question or Comment?