ULX

Author Topic: ULX Command Limits  (Read 3965 times)

0 Members and 1 Guest are viewing this topic.

Offline Bounty_Bam

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
ULX Command Limits
« on: June 02, 2008, 02:47:35 PM »
I was just wondering, is there anyway I can edit the group.txt so that admins/operaters CANT use admin commands on Superadmins?

This would be SO helpful :)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX Command Limits
« Reply #1 on: June 02, 2008, 02:54:28 PM »
Isn't this the default behavior? Only superadmins can overcome immunity.
Experiencing God's grace one day at a time.

Offline Bounty_Bam

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
Re: ULX Command Limits
« Reply #2 on: June 02, 2008, 03:07:54 PM »
I thought so, but admins can !slay me, !ragdoll me ect  :-\

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: ULX Command Limits
« Reply #3 on: June 02, 2008, 06:23:27 PM »
did you give yourself immunity?
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Command Limits
« Reply #4 on: June 02, 2008, 07:10:18 PM »
Isn't this the default behavior? Only superadmins can overcome immunity.

Technically, immunity is not set by default.
A superadmin adding themself would have to specify immunity, or it doesn't get set.

I also just realized, if they didn't use 'adduser', and followed our strongly recommended directions for adding to Garrysmod settings/users.txt ... immunity doesn't get set for superadmins.

Perhaps in the future we should consider making superadmins immune by default, all others not, unless specified by adduser.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Bounty_Bam

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
Re: ULX Command Limits
« Reply #5 on: June 03, 2008, 12:15:47 AM »
So i type something along the lines of :

ulx adduser "Bam" superadmin [1]       

?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ULX Command Limits
« Reply #6 on: June 03, 2008, 12:16:52 AM »
you don't need the brackets.

adduser yourname superadmin 1


Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: ULX Command Limits
« Reply #7 on: June 03, 2008, 12:45:09 AM »
Ok, to clear things up.

if the name doesn't contain an spaces or symbols, you can just type their name EX: adduser bob group
if there is a space or symbols you have to use quotes EX: adduser "bob thorton" group
same thing applies for all arguments, so for immunity is only a single digit number so no spaces

so it would be:
adduser bob superadmin 1
adduser "bob thorton" superadmin 1
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline Bounty_Bam

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
Re: ULX Command Limits
« Reply #8 on: June 03, 2008, 03:35:14 AM »
Thanks for your help guys....now I just have one major request.

I entered game to try out the new command line, I dnt have access to this command :S

Now I go to my groups.txt...and this is what it says:


"{"
"}"
"}"
"superadmin"   
{
}



thats it.. ALL my information & configuration is gone somehow :(

I was just wondering if someone could send me a default groups.txt via email? Or is there a way to refresh my current file?


My email is: bam_boostick@hotmail.com


i WILL get this sorted :) cheers

Offline Bounty_Bam

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
Re: ULX Command Limits
« Reply #9 on: June 03, 2008, 07:53:14 AM »
sorted....i re installed :)

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ULX Command Limits
« Reply #10 on: June 03, 2008, 11:54:44 AM »
If you ever want to get a clean groups.txt file, delete your current one from garrysmod/data/ULib and then simply restart your server and ULib will build a new one.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Command Limits
« Reply #11 on: June 03, 2008, 05:06:51 PM »
If you ever want to get a clean groups.txt file, delete your current one from garrysmod/data/ULib and then simply restart your server and ULib will build a new one.

Many people don't follow the instructions in Ulib addons group.txt (Though, many have trouble understanding it)
Never edit /addons/ULib/data/ulib/groups.txt
Never edit /addons/ULib/data/ulib/groups.txt
Never edit /addons/ULib/data/ulib/groups.txt
Never edit /addons/ULib/data/ulib/groups.txt
:) :D

If you're going to make custom groups file,
ALWAYS create/edit a NEW <gmod root>/data/ULib/groups.txt (<--<<---- notice, there is no addons folder there)
ALWAYS create/edit a NEW <gmod root>/data/ULib/groups.txt (<--<<---- notice, there is no addons folder there)
ALWAYS create/edit a NEW <gmod root>/data/ULib/groups.txt (<--<<---- notice, there is no addons folder there)
ALWAYS create/edit a NEW <gmod root>/data/ULib/groups.txt (<--<<---- notice, there is no addons folder there)

Then when it totally breaks, you can follow Mr.Presidents instructions
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming