Coruscant Administration Buildings

Duelers mod Admin Commands

Setting the client side password

To enable the admin commands you must know the server admin password as assigned by the server administrator. Set the client side cvar "c_aP" to this password. For example, if the admin password is "letmedoit", then type the following command on the client console:

seta c_aP letmedoit

This will set and record the admin password in your jk2mpconfig.cfg file. You should not ever have to set it again unless it is changed on the server.

Admin Commands

Many of the admin commands have two forms. The first form is the console command where you type the command on your console and provide a client name or client number argument. If the client name has spaces or other punctuation in it, a partial string will suffice provided it can un-ambiguously define the client name. If this fails, use the client number instead. The second form is an admin "gun". That is, the command is applied to the client  currently targeted in your crosshair. These commands are best bound to special keys in order to use them without the need to access the console.

When you use an admin command on another player, the screen will shake for the affected party (and anyone close by) and thunder will sound (again, for those closeby). A message will be displayed on the screen describing the administrative action, and the action will also be logged to the game log file.

Admin features can also be controlled by using the m_ac and m_sac cvariables. Use of these cvariables is described in the cvariables section.

To get current client information about names and client numbers use the "who" command. This will provide a listing of the current clients, their names and client numbers.

To get a listing of available admin commands, type "info".

Showmotd:

The subject is shown the MOTD. This might help remind them of the server rules to which they should have paid more attention.

Teleport and Origin:

Teleport will take you directly to any point on the map. You provide x, y, and z as arguments. The Origin command will tell you the x, y and z co-ordinates of your current location on the map.

Freeze and Thaw: freeze, thaw, freeze_gun, thaw_gun

The subject is frozen or thawed. When frozen, the subject cannot move (save to turn), cannot use their weapon and cannot use any force power. They are still, however, able to talk.

Silence and Speak: silence, speak, silence_gun, speak_gun

The subject is silenced and forbidden to speak. No broadcast chat, no team chat, no private chat.

Bring and Goto: bring, goto

The bring command teleports the subject  to your location. They will be placed in your line of sight, moving away from you and a short distance away.  Find a decent place to bring them to, unless you want to teleport them into a wall or over a cliff.

The goto command sends you to the subject's location. Similar to bring, you will be teleported into the subject's line of sight a short distance away from them. This is not particularly safe for you, unless the subject is friendly, as you do not know where they are or where they are looking.

Twilight Zone, Reality: tzone, real, tzone_gun, real_gun

The subject is sent to the Twilight Zone or restored to reality. While in the twilight zone a player cannot interact with any other player. You can see them and their neat purple aura, but they cant hurt you or bother you in any way.

Rename: rename, rename_gun

The subject is renamed to "Padawan".

Boot: boot, boot_gun

The subject is kicked from the server.

Setmap: setmap

Change the map the server is currently running. The command expects a map name, e.g. ffa_bespin.

 

Admin for the Tournament Gametype

Some of the admin commands have limited use in the Tournament Gametype. There are no restrictions on their use, but consider some of the potential side effects of using some of the commands when duels (with non-interference) are established automatically by the game. Some examples are discussed below to illustrate:

  1. If a player is sent to the tzone and a duel is started that includes that player -- neither player in the duel can ever win until the offending player is restored to reality.
  2. None of the guns will work if the player becomes involved in a duel and can not longer be seen.