Author Topic: Adduser command  (Read 2439 times)

0 Members and 1 Guest are viewing this topic.

Offline BlackhawkGT

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Adduser command
« on: December 05, 2008, 05:17:15 AM »
Maybe adding !team <user> + or ++ or +++
each + is a higher rank and - or -- is a rank down  :)

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Adduser command
« Reply #1 on: December 05, 2008, 12:05:59 PM »
This idea has been tossed around here before, the only problem is that the groups don't technically have a rank value.

:To Megiddo, JamminR, Sbogie, or any other developer ->
     Perhaps we could assign a certain "Priority Value" to each command that a certain group has. EX:
          "ulx rcon" = 100
          "ulx motd" = 1
    So then you could take the total value of all the commands that the group has access to and assort the ranks that way.

     At first I was thinking you could measure rank by the number of allows the group has, but that would be flawed, because
     a group could have access to more commands than another, but not be able to do the higher level command type things
     like change map or rcon commands.

     Just a thought.
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 JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Adduser command
« Reply #2 on: December 05, 2008, 02:56:22 PM »
Jay, ULX v1 had 'flags' you could give each user individually.
Each flag had different means. Example, A might mean rcon access, B might mean gimp access
<user> <flags>

We believed when we went from v1 to v2 that the way we do it now would allow for not only more customization, but no limit to the number of access levels.
"ulx this" "ulx that" "ULib custom script this" "ULib custom script that"
26 letters fills up pretty fast with not much room for custom scripts written by those not in Team Ulysses

As for blackhawk's suggestion, Jay is correct. Other than 'guest(ulx user), admin and superadmin', in that order, there is no hierarchy inherent in Gmod, and ULib allows for so many more ways to set access that it would be difficult to have a 'increase' command.

We'd have no way of knowing which level was higher than another. Currently, my 'superadmin' might be different than someone elses, should I decide to edit the defaults.
ULX wouldn't be able to know this. Though we could write in code/levels similiar to Spbogie's UTeam, and Jay's APromotion, our current support is often times challenging enough without adding in additional 'make sure you're numbers are in order'.
« Last Edit: December 05, 2008, 02:59:59 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Adduser command
« Reply #3 on: December 06, 2008, 05:31:04 AM »
I agree with JamminR :)
Experiencing God's grace one day at a time.