Author Topic: New command system (YOU want to read this!)  (Read 10445 times)

0 Members and 2 Guests are viewing this topic.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: New command system (YOU want to read this!)
« Reply #15 on: September 02, 2009, 03:08:23 PM »
I'm a command liner.
Just make sure we continue making sure every GUI command is available through console commands, add in autocomplete, and I'll be ok. Most of us other command line folks will be too. :)
"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: New command system (YOU want to read this!)
« Reply #16 on: September 02, 2009, 05:14:56 PM »
Oh yah, I forgot the say that the autocomplete is a lot better now. You'll like it, JamminR :D
Experiencing God's grace one day at a time.

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: New command system (YOU want to read this!)
« Reply #17 on: September 05, 2009, 11:33:05 AM »
Got a suggestion:Is it possible so that only a certain group can change the permissions? Like say 'serverowner' can only change it etc.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: New command system (YOU want to read this!)
« Reply #18 on: September 05, 2009, 11:50:23 AM »
Yep, that hasn't changed. You set that the same way as you always have
Experiencing God's grace one day at a time.

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: New command system (YOU want to read this!)
« Reply #19 on: September 05, 2009, 01:39:19 PM »
Oh, how do i do it now? :P

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: New command system (YOU want to read this!)
« Reply #20 on: September 05, 2009, 04:24:17 PM »
With userallow and groupallow
Experiencing God's grace one day at a time.

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: New command system (YOU want to read this!)
« Reply #21 on: September 05, 2009, 04:25:20 PM »
So say i dissalowed superadmin to use the kick function for example, they could just allow it again surely?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: New command system (YOU want to read this!)
« Reply #22 on: September 05, 2009, 08:57:10 PM »
Yes, if you didn't remove the group/userallow commands from superadmins..
You'd need to revoke group and userallow rights from superadmin, that way, they can't use those commands to give themselves the command back.
ulx groupallow superadmin "ulx groupallow" 1
ulx groupallow superadmin "ulx userallow" 1
That 1 on the end 'revokes' the right.
You'd then need to make sure to add those to the serverowner group without the revocation bit.

But.. I think Gmod, not ulx, gives the right of kicking through IsSuperAdmin.
Not even sure ULib could overright that. Prevent them from using ulx kick, sure, but not kick or kickid
"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: New command system (YOU want to read this!)
« Reply #23 on: September 10, 2009, 10:47:36 AM »
Finished implementing the new user.lua (user management commands). The old file was 400 lines of code, the new one is just over 200 lines. :D
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: New command system (YOU want to read this!)
« Reply #24 on: September 10, 2009, 03:01:34 PM »
* JamminR fakes the general FP 'expert' opinion.

WUT?? That's SOOO bloated. Well, If I were to do it, I bet I could do it in <some extravagantly small number>
ULX blows! No wonder it lags my server (with all the tweaks I did)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming