Raised This Month: $12 Target: $400
 3% 

Steam Group Admins (updated 2011-09-26)


Post New Thread Reply   
 
Thread Tools Display Modes
tcviper
Veteran Member
Join Date: Oct 2005
Location: Netherlands
Old 12-09-2013 , 05:32   Re: Steam Group Admins (updated 2011-09-26)
Reply With Quote #141

It wont compile anymore?
__________________
tcviper is offline
Send a message via MSN to tcviper
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 12-09-2013 , 23:49   Re: Steam Group Admins (updated 2011-09-26)
Reply With Quote #142

Quote:
Originally Posted by tcviper View Post
It wont compile anymore?
How did you manage to miss the humungous "Requires SteamTools" line?
__________________

Last edited by DarthNinja; 12-09-2013 at 23:55.
DarthNinja is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 05-11-2014 , 19:11   Re: Steam Group Admins (updated 2011-09-26)
Reply With Quote #143

Ok, stupid question ....
If a player belong to the steam-group being utilized, and membership in that group gives him (say "ab" access); and that same player has a higher-level access granted in admins.cfg and/or admins_simple.cfg (say "abcfgjk" access) ... which the in-effect be granted?

I ask because, right now .. it seems to be only granting whatever is in the steam group - ignoring any "elevated" privileges on particular servers, etc.
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter

Last edited by Weasel; 05-11-2014 at 19:11.
Weasel is offline
captaindeterprimary
AlliedModders Donor
Join Date: Sep 2012
Old 05-12-2014 , 20:42   Re: Steam Group Admins (updated 2011-09-26)
Reply With Quote #144

Quote:
Originally Posted by Weasel View Post
Ok, stupid question ....
If a player belong to the steam-group being utilized, and membership in that group gives him (say "ab" access); and that same player has a higher-level access granted in admins.cfg and/or admins_simple.cfg (say "abcfgjk" access) ... which the in-effect be granted?

I ask because, right now .. it seems to be only granting whatever is in the steam group - ignoring any "elevated" privileges on particular servers, etc.
This is because sourcemod reads the admin config first, then as a player joins the server it checks where/if they are in the steam groups and assigns their permissions from there, thus over writing what ever your config set for them.

I think.
__________________
Last edited by ; Today at 08:20 AM. Reason: Get rid of s
captaindeterprimary is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 05-12-2014 , 22:57   Re: Steam Group Admins (updated 2011-09-26)
Reply With Quote #145

I just did a little experimenting, and this is what I came up with (real world):
  • Highest priority: Anything in "admins_simple.ini" wins!
  • Second highest: Whatever "sgadmins.txt" thinks applies to that player - based on Steam group membership.
  • Last, looses to everything: Whatever "admins.cfg" has in it.
I do not know if it is intended to work that way - but, I just tried it out on a server and got that net effect.
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter

Last edited by Weasel; 05-12-2014 at 22:58. Reason: Too much whiskey ...
Weasel is offline
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 08-21-2014 , 23:27   Re: Steam Group Admins (updated 2011-09-26)
Reply With Quote #146

What will win in priority using this and sourcebans? Like will I suddenly have 1000s of admins in sourcebans? Or will this set people to the custom flag I choose and not put them as an admin in sourcebans?

Edit: Never mind.
__________________
My Steam TF2APP
My sig changes with each load! Refresh to see my other servers!

Last edited by jpwanabe; 08-22-2014 at 01:14.
jpwanabe is offline
psychonic

BAFFLED
Join Date: May 2008
Old 08-22-2014 , 06:40   Re: Steam Group Admins (updated 2011-09-26)
Reply With Quote #147

Quote:
Originally Posted by jpwanabe View Post
What will win in priority using this and sourcebans?
Neither "wins". The admin system is additive.
psychonic is offline
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 08-26-2014 , 01:04   Re: Steam Group Admins (updated 2011-09-26)
Reply With Quote #148

Ah. Thanks for pointing that out. Another question. At what point will players be assigned to the group/flag that I set when I reload the plugin and they are already in the server? Will they have to reconnect, or will it run right away? Also where are these players getting set in? The admins_simple.ini or admins.cfg?

EDIT: Also. Does this work properly after the steam id change that valve did? That might be why I am having trouble.
__________________
My Steam TF2APP
My sig changes with each load! Refresh to see my other servers!

Last edited by jpwanabe; 08-26-2014 at 01:08. Reason: Second question
jpwanabe is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 08-26-2014 , 01:26   Re: Steam Group Admins (updated 2011-09-26)
Reply With Quote #149

Quote:
Originally Posted by psychonic View Post
Neither "wins". The admin system is additive.
With this particular plug-in, I did not find that to be the case. At least, that was the case a while back when I was troubleshooting, and made that earlier post. I have not re-tested since then myself. The effect I was trying to achieve was:
  • "Members" of the Steam Group get some basic stuff (reservation and some overridden stuff)
  • "Officers" of the Steam Group get basic administrative stuff (kick, ban, various votes, etc.)
  • A handful of select Admins (myself, etc.) are also entered in the configuration files for "root" SM access.
It is all working for me now - but I had to use the admins_simple.cfg file for the "root" SM access - not the admins.cfg file for some reason.

If I had users/admins entered into admins.cfg with root access, but they were also "Officers" of my Steam Group, where "Officers" are given an intermediary level (say vote/k), then they only received vote/k - and not root.

If I alternatively used admins_simple.cfg, then "Officers" that are not in the configuration file got vote/k, and those that are in the configuration file got root instead.
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter
Weasel is offline
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 08-26-2014 , 21:41   Re: Steam Group Admins (updated 2011-09-26)
Reply With Quote #150

Also, this only seems to work on players I already have in sourcebans. It doesn't work on people just in the group.
__________________
My Steam TF2APP
My sig changes with each load! Refresh to see my other servers!

Last edited by jpwanabe; 08-27-2014 at 23:20.
jpwanabe is offline
Reply


Thread Tools
Display Modes

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 19:57.


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