Jump to content

How to: Commands on DarkRP


Xappan

Recommended Posts

COMMANDS ON DARKRP

This post will mostly help staff members, though I'm going to go through ALL commands that is listed in ULX for users, mods, admins and admin+. With the exception of teleport every command of a lower rank may be used by members of upper ranks. For any typo I'm sorry and feel free to pm me or write a reply, I'll edit it accordingly. So lets get to it:

What is ULX?

The creatords described ulx this way: "ULX is the oldest lua-based administration mod released for Gmod, and it is the admin mod that almost every other admin mod has compared itself to or claimed to be better than. Not just an ordinary administration mod with kick/ban features, ULX contains many useful features to assist in administration and server management (reserved slots, detailed logs), or just fun punishments (blind, slap, maul). Combined with its module system and a supportive forum community of developers and ULX users, the possibilities of extensibility are virtually endless."

Buuut, who cares. I'll put it simply so everyone can understand, even though it won't be correct. Ulx = all the commands we use on the server.

How to use a ulx command?

Using ulx commands, is easy. Either you type in the console: "ulx command" and the argument it needs, or you can use the ingame chat for it, e.g. !command <arguments>.

Targeting

This will get meaning for mods and above but targeting can be quite hard sometimes. Players might have similar names, weird characters, or keep changin names. With ulx commands there are 12 methods of targeting, not all having different effects. Lets start from easiest and go to the most obscure:

command NAME - issuing a command with the name of the player you are targeting. This is to be done in the chat.

ulx command NAME - same as the pervious, done in the console instead of the chat window.

command $STEAMID - issuing a command with a steamid, or any unique id (userid, ip, etc.). Chat.

ulx command $STEAMID - same as command $STEAMID. Console

command $USERID - same as command $STEAMID. Chat

ulx command $USERID - same as command $STEAMID. Console

command @ - Target the person you are looking at. Failure to look at someone will result in either failure of the commands, or executing it on everyone you are able to manipulate, depending if the command is multitarget or not (i.e. Jail is multitarget, jailtp is not). Works both in chat and console. (Really not recommended)

command ^ - Targets yourself. Some commands like god and cloak targets yourself on default. Works both in chat and console.

command # - Targets a group of people. i.e. command #admin will target everyone who is an admin. Console

command % - Supposedly targets a group who has acces to a certain group. One can target the group "user" (%user) and thus target everyone as they have acces to the user group. This won't work on higher leves though, as it seems admins do not have acces to mod, so %mod will only target moderators. Works with user, vip, goldvip, ultimatevip, admin for sure. Console

Command * - Targets EVERYONE who you are allowed to manipulate. (i.e. a mod cannot target admins, etc.) Works in chat and console.

Command ! - Targets the target but yourself. E.g. command !* will target everyone but ourselves.

If a command is used in the console, where it is possible, it must be preceeded by the keyword "ulx". I.e. ulx mute <player>

At all times it seems a players name can be swapped by either $steamid or $userid or $ip. You can get 2/3 by typing "status" in the console. You can get the steamid from the tab menu too. Getting the IP is not possible under a ceratin rank, unless with the help of external programs, though this will have administrative consequences.

Some commands are multitarget commands, meaning multiple people can be manipulated at once. This can be done by giving a part of the name that fits multiple people, or separating them with a comma (I.e. ulx mute playerA,playerB,playerC)

Arguments

Some commands require more than one argument, some require none. For example !thetime/ulx thetime has 0 arguments, simply typing it and pressing enter will have an effect. Some other commands however use 1 or multiple arguments. !kick/ulx kick uses 1, namely who we want to kick. !ban/ulx ban/ulx banid uses 3: The name/id of the player, the length, and the reason. Some commands work without targeting and it will default to ourselves, such as !tp/ulx teleport. We can teleport others by giving an argument, or we can teleport ourselves by giving none.

User

For users there is not much in terms of ULX commands. They can use some pretty basic commands but that's that.

ulx help - When typed into console it shows all the possible commands to be used.

ulx asay <message> - Sends a message to the admins. Chat equivalent (CE for short) is @.

ulx psay <player> <message> - sends a PM to somoene. CE is !p <name> <message> or /pm <name> <message>

ulx thetime - Shows the time of the server (GMT, UK time).

ulx motd - Shows the message of the day (Rules). CE is !motd.

xgui - Typing xgui, xgui show, xgui toggle or ulx menu will bring up the menu. Can be closed with the x or commands xgui, xgui hide, xgui toggle or ulx menu. CE is !menu or !xgui

While (for some reason) ulx help lists dban and xban neither can be used by users.

ulx usermanagementhelp - See user management help. Utterly pointless under rank Superadmin.

Moderator

Can utilize anthing from the "User" section, furthermore:

ulx dcals - Clears all dcals. CE is !dcals.

ulx kick <player> <reason> - Kicks a player with or without reason. CE is !kick <player> <reason>

ulx nolag - Freezes all props. CE is !nolag.

ulx gag <players> - Stops someone from using their microphone. CE is !gag <players>. MULTITARGET

ulx ungag <players> - Opposite of gag. CE is !ungag <players>. MULTITARGET

ulx mute <players> - Stops someone from inputting into the chat. @ chat excluded. CE is !mute <players>. MULTITARGET

ulx unmute <players> - Opposite of mute. CE is !unmute <players>. MULTITARGET

ulx voteban <player> <time> <reason> - Starts a vote to ban someone from the server. Time can be given in minutes, if nothing is written but a number, or can be given in hours days or weeks by giving #h #d #w respectively, where # marks a number. CE is !voteban with same arguments.

ulx votemap <map>/nothing - Starts a map vote. Not utilized on our server, and one must not use this command. CE is !votemap. Argument can either be a map name, or nothing so a list of available maps will load. <USAGE OF THE COMMAND WILL RESULT IN PUNISHMENT>

ulx freeze <players> - Freezes the player, so they cannot move, look away, or shoot. While in this state they can be freely teleported, brought, returned or jailtpd, but admins cannot manipulate them with physgun. CE is !freeze <players>. MULTITARGET

ulx unfreeze <players> - Opposite of freeze. CE is !unfreeze <players>. MULTITARGET

ulx jail <players> <time> <reason> - Jails the player in a small cage for a given time. Used as the primary punishing method. Time is in seconds, giving 0 will jail them permanently. CE is !jail <players> <time> <reason>. MULTITARGET

ulx jailtp <player> <time> - Teleports the player where one is looking and jailing them there. One cannot give a reason, this should be done in either OOC after the jail, or be given to the punished player in advance. Time is given in seconds, setting it to 0 will jail them permanently. CE is !jailtp <player> <time>

!unjail <players> - Removes the cage from around the players, was it spawned with !jail or !jailtp. CE is !unjail <players> MULTITARGET

ulx strip <players> - Removes all equiped weapons and tools from a player. CE is !strip <players>. MULTITARGET

ulx bring <player> - Brings a player to your location. CE is !bring <player>

ulx goto <player> - One goes to the location of target player. In case they are in narrow space or in vehicles one must use noclip, or sit down on something and utilizing the command that way, actually glitching the targeting, but being able to go anywhere. CE is !goto <player>

ulx return <player> - Returns one to the place they either used "goto" or "bring" from. Can only set this cycle back one stage, so bringing someone twice, and trying to return them will only succed once, placing them at the location of the second bring. CE is !return <player>. Defaults to self

ulx teleport - Teleports the player or someone else to the location of the crosshair. CE is !tp <player>. Defaults to self.

ulx unarrest <player> - Unarrets a player without the need to go to them and manually do it. CE is !unarrest <player>

ulx unlockdown - Forcefully removes a lockdown without the need of a mayor. CE is !unlockdown

 

Admin

An admin can utilize every command a moderator (and thus a user) can, except for teleport, furthermore:

ulx ban <player> <time> <reason> - Bans a player from the server (restrict their acces to it) for a given time with a given reason. Time can be given in minutes, if nothing is written but a number, or can be given in hours days or weeks by giving #h #d #w respectively, where # marks a number. CE is !ban <player> <time> <reason>. This is one command where using $STEAMID instead of name might actually be a good idea, since its harder to screw up that way. This command does NOT work on players not connected to the server.

ulx banid <id> <time> <reason> - Works like ban, with the exception that here one MUST give an id instead of a name. This works whether the target is connected to the server, or not. Console only.

ulx csay <message> - Sends a message to everyone in the middle of their screens. CE is @@@ <message>.

ulx tsay <message> - Sends a message to everyone in the chatbox. CE is @@ <message>

/admintell <player> <message> - Sends a message to someone on the top of their screen. Chat only.

/admintellall <message> - Sends a message to everyone on top of their screens. Chat only.

ulx cloak <player> <amount> - Cloaks a player (makes them invisible) by <amount>. Seems any number given there is only invisible and visible. Amount ranges from 0 to 255. CE is !cloak <player>. 

ulx god <players> - Makes a player immune to damage. CE is !god <players>. Defaults to self. MULTITARGET

ulx ungod <players> - Opposite of !god. CE is !ungod <players>. Defaults to self. MULTITARGET

ulx hp <players> <amount> - Sets the target's HP to a certain amount. The amount can be between 1 and 2147483647. Giving any other amount than 100 is considered abusive behaviour if done on purpose. Event staff excluded in case of events. CE is !hp <players> <amount>. MULTITARGET

xgui fban <player> - Short for "freezeban". Opens a ban menu. If a target is given the command freezes the target, and fills in the name and the steamid section automatically. Closing this window will unfreeze the player. CE is !fban <player>. Giving a target is not required if one wants to search through the players, or give a specific steamid. Fban works on targets not connected to the server, if it is opened without target argument. If it is opened with a target argument, it freezes the player and fills the name + steamid, but if the player disconnects the ban cannot be done. Resorting to ulx banid is advised.

xgui xban <player> - Works the same as fban, but not freezes the target. Everything otherwise is applicable here too. CE !xban <player>

ulx jobban <player> <job> - Bans someone from using a job. The job has to be specified carefully and 100% correctly. Mayor exist while mayor does not. Usage of "" is necessary. CE is !jobban <player> <job>

ulx jobunban <player> <job> - Allows someone to use a job they were banned from previously. Specifying a job is done the same way as in "jobban". CE is !jobunban <player> <job>

ulx selldoor - Unowns the door one is looking at. CE is !selldoor

ulx setjob <player> <job> - Sets the players job to the job argument. Job must be specified like in "jobban". CE is !setjob <player> <job>. Using the tab menu is advised, as it is easier.

Admin+

Admin+ can use every command mentioned above with the exception of teleport, furthermore they can use:

ulx send <player> <player2> - Sends player to player2's location. CE is !send <player> <player2>

Conclusion

There is a wide variety of commands that one can use, using them good makes a good staff member in case of staff. I won't even try to get SA and above's commands, as it is unnecesary.

I hope this little guide helped you learn what commands you can utilize, how and why. Happy times on DarkRP!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...