Garry's Mod

Garry's Mod

Not enough ratings
Ulx Tutorial
By Noey
This is a guide to help out new people to ulx
   
Award
Favorite
Favorited
Unfavorite
The Basic
How to bind your xgui?

First make sure you have your developer console enabled which can be found in game settings. It's usually under the key ` by default which is located on the left of your "1" hotkey.

To Bind Your xgui (which is your commands, the higher your rank the more permission you have. Like a superadmin has more power than an operator or moderator) you paste the following in your developer console.

Bind "h" xgui

*Note* It can be any key for instance it can be bind "p" xgui also keep in mind some keys won't work for your xgui. If you dont want to bind your xgui to anything most servers have !menu or !commands (this can be different depending on the server)
Commands
Remember how we talked about binding our xgui?

If you binded your xgui and press the key you assigned it to you should see a menu

This is the basic menu and what you should see if you did the binding correctly. If this doesn't work either go back and make sure you pasted the command right or change the key that you binded it to.

Take a look through that menu and look at all the stuff. All the commands you see you have access to. *Note* if a player is higher in power than you/+1admin you won't be able to target them.

New server owner?
If you are a server owner you can create gimps/groups/ban/gag/mute/editpower/etc. (you have access to every command) If you want to have more commands there are addons you can add to give you more commands.

If you are a server owner and don't know how to setup group permissions please read this thread on the group section

New player or new staff?
If you are are regular player or new staff you won't have access to all the commands, but every command you see you can use against someone who is lower than you (assuming the owner set up the targetting correctly.)

Commands can be done through chat!
If you are on a ttt server you can do commands like
!aslay player 1 random death match
aslaying through chat is done by !aslay (Player name) (ammount of slays) (reason)

You may also do mute commands
!gag player (makes players not able to use voice chat)
!ungag player (removes gag)

!mute player (makes player not able to use text chat (a player can still use their mic in this state))
!unmute player (removes mute)

!gimp player (forges what a player says in chat only (not in voice) if you are in a high enough power you can make gimps in your !menu under settings and gimps)
!ungimp player (removes gimp)

You can also do commands like !gag *
!gag * will gag everyone you are able to target. (if someone who is in a higher position on, you wont be able to gag them but you will be able to gag the rest of the players)
!ungag * will ungag everyone.

You can also do commands like !ban player 5d mass rdm
this means !ban (player) (time) (reason)
1d= 1 day
1w= 1 week
1y = 1 year

If you do the string command, !ban player 0 mass rdm
it will make the ban a perma ban.

Lets say the player left. You would use !fban
if you type !fban in chat it will bring a little window that asks for their steam id and the reason *Note* You dont need to add the name its optional
if there is no name then it will just show their steam id.

If you need a steam id and they are gone you can always get it from the logs by pressing f8 (we will talk about this in the next section)

If you want to know more about commands i recommend you check out this video
https://www.youtube.com/watch?v=JUgRAzUJisU
Logs and RDM Manager
Logs and RDM Manager.

Open logs by pressing f8 on your keyboard.
You should see something along the lines of this. This is what is showed in rounds currently or prior.
If you are alive you can't look up the logs and find out the traitor sorry :P *Unless you are a superadmin +* (Im not gonna tell you how to turn it on :] ) These logs show everything from death scene which we will go over and it also shows how everyone was damaged and shot. Along with what traitors and detectives buy.

How death scene works!
In logs if you click on someone's death like a line that says
03:21 KILL Noey [Traitor] killed Zoey [Detective] with a weapon_ttt_deagle.
and then right click you should a see an option called death scene. This shows where the person was killed along with who shot first and who was around during this. This will become very important if you are a staff because a lot of reports depend on the death scene. *Note* You can only see death scenes in that map.

Shot Logs!
Shot logs shows everything shot. When someone swung their crowbar or when someone shot their gun. Keep in mind that you can only look at the shotlogs in that current round. It shows the time of when someone shot.

RDM Manager!
RDM manager is how someone does reports. To open the rdm manager press f8 and at the top of the menu there is a thing called rdm manager. (If you dont have access to it, it means you dont have it.) If someone was killed for no reason or the reason wasn't justified they will report it to admins. It will show the victim's reasoning and the reported player's response. If you do reports REMEMBER TO WAIT FOR THE REPORTED PLAYER TO RESPOND. If the reported player left the rdm manager will tell you.

For Server Owners
*question* I'm a server owner and I have all the commands on but i dont have the rdm manager. How do I get it?

*answer* This means your role doesnt have access to it. Since it isnt a default addon you have to enable it. Open your server files and go to your damage logs. Mine is located /garrysmod/addons/TTTDamagelogs-master/lua/damagelogs/config open config.lua
(Yours might be different.)
Paste in the following command
Damagelog:AddUser("owner", 4, true)

make sure its the group's name *code is case sensitive*

How To Do Reports?
In the rdm manager click on a report that is waiting and do the following.
This will alert the victim and reported player that you are handling the report along with the admins. This makes it so admins dont get confused and you all know whos doing what.
To Slay someone right click on the report and hover over take action. Give them the appropriate amount of slays and a window will pop up. This window just give the reason for slaying them, if its rdm just put rdm. If its false report just put false report
After you finish the report click on where you put it in progress, there will be a new setting called finished. Click on it to get rid of the report. If you have issues with the report you can always see finished report by clicking "Show finished reports"
12 Comments
Noey  [author] Dec 6, 2022 @ 7:19pm 
in console

rcon_password password123
rcon ulx adduser name superadmin
Splooge blaster 9000 Dec 6, 2022 @ 12:33pm 
How would i change myself back to super admin?
ElGonzaru Aug 6, 2021 @ 8:35am 
how do i get admin
magd Mar 31, 2021 @ 12:28am 
Q > utilities > admin
alarm clock Mar 30, 2021 @ 11:49pm 
how do you change settings such as the ones which are not in the ulx menu? (eg: limit physgun, stick to ground etc)
Noey  [author] Dec 25, 2019 @ 11:11am 
That I wouldn’t know but if I were to guess it probably has something to do with your role make sure you always have a superadmin role and make sure your highest role is inherited from it, if I were to guess the prop can only be moved by superadmin or up
BuckBiu Dec 25, 2019 @ 2:16am 
Uninstalled an Addon and the Conflict is fixed but it cause another problem, I can't grab prop that is owned by "World", Sorry if I brother you with all of this.
Noey  [author] Dec 24, 2019 @ 1:00pm 
Go into your ulx settings and find your way to auto promote and set the value for the meme himself role to -1 if that is already done and you're still getting that error I would replace your autopromote because you probably have something conflicting with it

As far as props I wouldn't know I've only coded ttt servers but Ulysses ulx forums can help you out for the game mode you're having an issue with
BuckBiu Dec 24, 2019 @ 3:39am 
That's fixed now, but now I cannot spawn Prop and anything, I made myself a new Rank "The meme himself" which is highest (higher than superadmin) there's also this spamming in console every 5 second "ULib queue error: lua/ulx/xgui/server/sv_apromote.lua:110: attempt to call method 'GetUTimeTotalTime' (a nil value)
"
Noey  [author] Dec 22, 2019 @ 8:54am 
if you are using a server hosting site, there should be an rcon command tab where you can use commands through the site assuming you have ulx installed correctly. Find this rcon command prompt and type in ulx adduser name superadmin