Skip to content
Diego Ahumada edited this page Jul 21, 2020 · 5 revisions

This is a reference for admin commands.

Admincmds

All the commands in these section require administrator privileges to run, and a character that's logged in.

Prefixed

In addition to admin privileges, all of these have the admincmd prefix.

  • A level 999 admin can bypass the rune level requirements.
  • Administrators can bypass the level cap.
  • Administrators can use autoaim, lockon lockon_on, lockon_off, lockon_crosshair, deathray, healray and lessdeadlyray.
  • Administrators can use the medic commander skin.
  • Administrators will not be chat protected.
  • Administrators do not get kicked out for inactivity.
  • A level 11 administrator will have their ping displayed in a range from 300 to 400 at random.
  • Administrators can use god mode, give, noclip commands. god, give, noclip
  • Administrators can use the monster attack command.
  • Admins will never be disallowed entry into a CTF or DOM game.
  • Level 1000+ administrators can upgrade abilities past their softmax.
  • Administrators can see IPs in the vrxid menu.
  • Administrators cannot be muted.
  • They can use the teleport_rnd command to be teleported to any spot in the map at random.

admincmd reset_player

Completely wipes a character and restarts it to the start level. Requires administrator level over 9.


admincmd sky <sky>

Replace the active sky to what you write.


admincmd break

Windows only, forces a debugger breakpoint, if one is attached. Set timeout and cl_timeout to 0 on the client side.


admincmd closestnavi

Prints the location of the closest navi that constitutes a start navi and displays a brief bfg blast on its location.


admincmd closestnaviany

Prints the location of the closest navi regardless of whether it's a start navi or not, and displays a brief bfg blast on its location. Also prints what it is targeted by, and briefly displays a line to its target.


admincmd closestpspawn

Prints the location of the closest player spawn in invasion mode. Displays a brief bfg blast.


admincmd reloadvars

Reloads all internal balance variables from the lua interpreter's state. Doesn't actually run the variables script nor the initgame script again though.


admincmd crashserv

Debug only. Crashes the server. Useful for testing if core dumps work correctly in linux.


admincmd pickent

Display the memory address, class name of the entity you're pointing to.


admincmd boss <name> <level>

Gives boss level to a joined player given the name and level.


admincmd addexp <name> <level>

Adds experience to a joined player given the name and level. Needs admin level to be greater than 9.


admincmd srune <weapon/class/combo/unique> <quality> // Uniques are specific to the number

Spawns a rune of the given type. Quality is the target level, or the index of the unique rune. Needs admin level to be greater than 9.


admincmd title <name> <title>

Gives the given title to the joined player given by the name.


admincmd incinv

Increases the current invasion level.


admincmd admin <name> <level>

Gives the given administrator level to the joined player given by the name. Needs admin level of the person setting it to be > 9.


admincmd setflag <team>

Place the flag in the current position. Needs admin level of the person setting it to be > 9. Team can be 1 (red= or 2 (blue).


admincmd lua <code>

Runs the specified code through the internal lua state. Needs admin level to be greater than 1.

Grid

Commands related to the editing of map grids, used for pathfinding. Monsters will only navigate through the nodes they Only administrator characters can run these commands. Nodes will not get automatically saved when the map ends, even if you changed them.


loadnodes

Reloads the .grd file of the current map.


savenodes

Save the .grd file of the current state of the grid.


deleteallnodes

Deletes all nodes.


computenodes

Recalculate all nodes. Deletes any changes you had.


addnode

Creates a new node at your current position.


deletenode

Deletes the node closest to your current position.


showgrid

Show the nodes as small green lasers. Use this twice to display the links to the closest node.

Server-side

These commands can be executed with rcon or at the server console. They require the sv prefix.


sv addcredits <name> <amount>

Add credits to the joined player with the given name and amount.


sv addexp <name> <amount>

Add experience to the joined player with the given name and amount.


sv addabilitypoints <name> <amount>

Add ability points to the joined player with the given name and amount.


sv addtalentpoints <name> <amount>

Add talent points to the joined player with the given name and amount.


sv addweaponpoints <name> <amount>

Add weapon points to the joined player with the given name and amount.


sv exphole <name> <amount>

Add an experience hole of the given amount to the joined player with the given name. Until the player makes this much experience, they get no exp towards their next level.


sv makeadmin <name> <level>

Grants administrator access to the joined player with the given name and level.


sv changeclass <name> <class>

Change the joined player's class given name and class. valid values are:

  • Soldier
  • Mage
  • Necromancer
  • Vampire
  • Engineer
  • Poltergeist
  • Knight
  • Cleric
  • Shaman
  • Alien
  • Weapon Master or WeaponMaster

It should not be case sensitive. These names are defined in getClassNum in v_utils.c


sv makeboss <name> <tank/makron>

Turn the player with the given name into a tank commander boss or a makron boss.


sv spawnboss <tank/supertank/jorg>

Create an AI-controlled boss with the given boss type.


sv delchar

Deletes a character's file. Only works when savemethod uses binary .vrx files.


sv loadmaplists

Reloads all map lists.


sv saveplayers

Saves all players. Useful if you're about to kill the server.

Clone this wiki locally