Raised This Month: $32 Target: $400
 8% 

Specify admin permissions by IP network range in admins_simple.cfg?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JJMcKay
New Member
Join Date: Apr 2017
Old 04-25-2017 , 09:08   Specify admin permissions by IP network range in admins_simple.cfg?
Reply With Quote #1

In the wiki it says you can specify admins by IP address (semi unique). Does the semi-unique part mean I can specify a range of IPs like "192.168.1.0" with the 0 meaning any IP in that network?

Alternatively, does anyone know how to grant the map change permission to everyone? Basically I was trying to achieve this with:

Code:
"!0.0.0.0"              "5:z"  // Everyone has map change ability
JJMcKay is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 04-25-2017 , 10:00   Re: Specify admin permissions by IP network range in admins_simple.cfg?
Reply With Quote #2

No, it says IP addresses are "semi-unique to a given computer, better for LANs."

You probably actually want to add overrides on whatever specific commands you want to allow (like sm_map or sm_mapvote or whatever).

Also, the z flag is root, not change maps.
Fyren is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 04-25-2017 , 10:18   Re: Specify admin permissions by IP network range in admins_simple.cfg?
Reply With Quote #3

You can also add command sm_map into admin_overrides.cfg if your goal is to let everyone change map.
__________________
ambn is offline
JJMcKay
New Member
Join Date: Apr 2017
Old 04-27-2017 , 18:35   Re: Specify admin permissions by IP network range in admins_simple.cfg?
Reply With Quote #4

Quote:
Originally Posted by ambn View Post
You can also add command sm_map into admin_overrides.cfg if your goal is to let everyone change map.
Thanks guys you're right. It seems adding
Code:
sm_map ""
to admin_overrides.cfg was the way to go. I can't bring up the sm_admin menu

Last edited by JJMcKay; 04-27-2017 at 18:35.
JJMcKay is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode