Ingame Commands

From WCell Wiki
Jump to: navigation, search

Go back to Commands

Ingame commands can be used when ingame, by using one of the command-prefixes (by default those are: .#!) or from the RealmServer console (no prefix requires).
You can find an overview over all ingame commands here.


Command help

Command help overview

To interpret a command, you must understand the special characters and identifiers that are used for a comprehensive and compact description of each command:

  • | means or (choose exactly one of the group)
  • [] means optional (you can omit this part)
  • <> means variable (replace this with a value)

For example: The kick command

Kick
	Aliases: Kick, Boot
	Usage: Kick|Boot [-n <name>][-d <seconds>] [<reason>]
	Description: Kicks your current target with an optional delay in seconds (default: 20 - can be 0) and an optional reason.
	Needs Char: False
	Required Targets: None
  • Use either Kick or Boot
  • The name of the character is optional
  • The delay in seconds is optional (if omitted, character will be kicked after 20 seconds of being pinned to the ground)
  • The reason is optional


Some examples:

kick

Effect: Will kick your currently selected target after 20 seconds of being pinned to the ground

Use: kick -n badguy -d 5

Effect: Will kick the character with name badguy after 5 seconds of being pinned to the ground

Use: boot -n badguy -d 0 Cheater!

Effect: Will kick the character with name badguy immediately and it will be broadcasted that he is a cheater


Selecting a target for a command

Many commands can be executed upon oneself, as well as the current target.
In order to call a command on yourself, type the command prefix once - to use it on your current target, type it twice.
For example:

#health 1000000

sets your own health and max health, whereas:

##level 100

sets your target's level.

Selecting a target from the console

You can also call commands upon a target, by using the -a and -c prefixes.
This is especially useful when using the console where one cannot select a target.
The target must be logged in (most of the time).

Example:

-a someaccount some command1
-c peter some command2 with args

The first line calls some command1 on the character with the account name someaccount.
The second line calls some command2 with args on the character with the character name peter.

Some Commands

Get

Retrieves the value of a field or property of yourself/current target.
Examples:

#g gold
#get experience
##get NPCFlags

Set

Sets the value of a field or property of yourself/current target.
Examples:

#s gold 100000
#set experience 0
##set NPCFlags spirithealer
##set NPCFlags 0

Mod

Modifies the value of a field or property of yourself/current target.
Examples:

#m gold + 150
#mod experience - 100
##mod NPCFlags ^ gossip

Config

Allows to overview/change the Configuration.
Examples:

#config list region
#config set autospawnregions 1
#cfg g autospawnregions
#cfg save
#cfg load

This will:

  • List all configuration entries that contain the word region
  • Enable the configuration option AutoSpawnRegions
  • Tell you the value of the configuration variable AutoSpawnRegions
  • Save the changes back to the configuration file
  • Load a changed configuration file (in case you made changes to it while the server was running)

Auth

The Auth command allows you to call commands from the RealmServer onto the AuthServer.

auth ipc stop

Turns off IPC (Inter-Process Communication), which effectively disconnects the AuthServer from all realms and prevents realms from reconnecting to it.
As a result, the realm list will appear empty to all clients.
Since the realm is now disconnected, you cannot issue further auth commands through the RealmServer, and you will have to directly use the AuthServer's console or a remote control interface to re-enable IPC, using:

ipc start


Tele

The Tele (short for Teleport) command is every GM's main method of transportation.
Names of places are case-insensitive.

tele stormwind

Teleports you to Stormwind.

tele keep

Shows a list of all teleportable places that contain the word "keep". Selecting any of the choices will instantly teleport you there.

tele -c x y z

Teleports you to the given x y z coordinates on the current map.

Either:  tele -c x y z kalimdor
Or:      tele -c x y z 1

Teleports you to the given x y z coordinates in Kalimdor (1 is the id of Kalimdor).