Duelers Mod Admin CommandsSetting the client side passwordTo 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:
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. There is no login procedure! When you connect to the server the client side cvar c_aP is checked by the server. If the client password matched the server admin password the server "marks" you as a valid administrator and enables admin commands for you. Note that if you change the c_aP password while connected, the server may not see the new value until you become a spectator (or disconnect) and then re-join (or reconnect) the game. Admin CommandsMany 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. Macro ScanningThe Duelers/JA server can be configured to direct each (pure) client connecting to scan the client key bindings for macros that are used to emulate key combinations for special moves. By default, this capability is enabled. However, there is much controversy over whether or not binding keys to special move is "bad" or "good". As a server administrator you will have to be the judge. Many users have macros to change skins or hilts or rotate through taunts or select admin commands. These macros are not targeted. However, there are other macros that use movement and attack commands in special sequences to perform difficult manoeuvres flawlessly and effortlessly. A common example is: Blue Stance Lunge Macro:
These macros are targeted and disabled. Here is a description of how the scanning behaves to help you make your decision:
|