Author Topic: Gate Control - User and Group Whitelisting for ULX/ULib  (Read 9545 times)

0 Members and 2 Guests are viewing this topic.

Offline lynx

  • Jr. Member
  • **
  • Posts: 59
  • Karma: 15
Gate Control - User and Group Whitelisting for ULX/ULib
« on: March 10, 2015, 07:58:36 PM »
Gate Control

Description:
This is an updated version of MrPresident's ULib Gatekeeper adding in ULX and XGUI control elements.


From the desk of MrPresident:
The whitelist is controlled through ULib access strings. I'll touch on that in a second.

By default only admins can join a server if Gate Control is enabled. To add more people or groups:
ulx groupallow <group> "gatecontrol_allowaccess" --This will allow anyone in a group to join.
ulx userallow <user> "gatecontrol_allowaccess" --This will allow a specific player to join.

From the desk of lynx:
Gate Control introduces the ULX/XGUI aspects to ULib Gatekeeper allowing it to be controlled by using the XGUI menu, ULX commands (other than adding flags as above), and ULX chat commands. It also introduces admin notifications and blacklisting (disallowing a user from joining when whitelist is enabled, useful to blacklist a user in a group that is whitelisted without the need to ban them.)

The base system has been updated to have 3 levels of access:
gatecontrol_enabled 0 - Disables the whitelist checks.
gatecontrol_enabled 1 - Enables the whitelist checks while allowing admins and higher to bypass the whitelist/blacklist. (Default)
gatecontrol_enabled 2 - Enables the full whitelist only allowing superadmins to bypass.

Admin notifications have been enabled with 3 levels as well:
gatecontrol_telladmins 0 - Disables the admin notifications.
gatecontrol_telladmins 1 - Enables the admin notifications for superadmins only. (Default)
gatecontrol_telladmins 2 - Enables the admin notifications for all admins.

You can use the console commands to modify these from the server console or RCON, or an admin (with access to modify server settings) can use the XGUI Server Settings menu to modify the UGate Settings.

Eyecandy:









Installation:
Download the attached zip file
Extract the gatecontrol folder into the addons folder of your server
Restart the server (a full restart is required to install new addons.)

You must be logged in to see the download!

Update Changelog:
Gate Control 1.0 - Changed name at request of Ulysses Team
« Last Edit: March 10, 2015, 08:34:56 PM by lynx »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UGate 2 - User and Group Whitelisting for ULX/ULib
« Reply #1 on: March 10, 2015, 08:03:39 PM »
Interesting.
Is this just a fancy reserved slots, allowing en masse enable rather than controlling "ulx reservedslots" for multiple groups at a time?
Also, sent you a PM regarding something.
Thanks for your attention.
« Last Edit: March 10, 2015, 08:05:17 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline lynx

  • Jr. Member
  • **
  • Posts: 59
  • Karma: 15
Re: UGate 2 - User and Group Whitelisting for ULX/ULib
« Reply #2 on: March 10, 2015, 08:09:51 PM »
Interesting.
Is this just a fancy reserved slots, allowing en masse enable rather than controlling "ulx reservedslots" for multiple groups at a time?
Also, sent you a PM regarding something.
Thanks for your attention.

Not really a reserved slot thing, more a group based whitelist for development servers or vip only servers or the like. I'm personally putting it to use for a gamemode development server that my community's vip's or contributors can access.

Basically a password alternative so you don't need to have a password to have a locked server

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Gate Control - User and Group Whitelisting for ULX/ULib
« Reply #3 on: March 10, 2015, 09:23:15 PM »
Wow. I don't even remember writing that. Nice work though.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Gate Control - User and Group Whitelisting for ULX/ULib
« Reply #4 on: March 11, 2015, 09:26:19 AM »
Looks awesome- love the XGUI integration! ;D
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6