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

[Any] Server Whitelist Advanced (1.5.0)


Post New Thread Reply   
 
Thread Tools Display Modes
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 05-01-2020 , 03:53   Re: [Any] Server Whitelist Advanced (1.5.0)
Reply With Quote #151

Hi again,

It seems current SteamTools .inc is not up to date with the current Sourcemod version (oddly ). You could try replacing those lines, as shown in the PR here :

https://github.com/asherkin/SteamTools/pull/4/files

I believe this would do the job.

Red
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 05-01-2020 at 03:54.
RedSword is offline
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 05-01-2020 , 09:40   Re: [Any] Server Whitelist Advanced (1.5.0)
Reply With Quote #152

Quote:
Originally Posted by RedSword View Post
Hi again,

It seems current SteamTools .inc is not up to date with the current Sourcemod version (oddly ). You could try replacing those lines, as shown in the PR here :

https://github.com/asherkin/SteamTools/pull/4/files

I believe this would do the job.

Red
https://github.com/JoinedSenses/Sour...steamtools.inc
__________________
JoinedSenses is offline
ocean6
Junior Member
Join Date: Mar 2019
Old 05-05-2020 , 04:08   Re: [Any] Server Whitelist Advanced (1.5.0)
Reply With Quote #153

Has anyone ever experienced a condition where the SteamID's in the Whitelist.txt isn't taking effect?

Regardless of who is on the list, they can't get in even if they are specifically whitelisted via steamid. I've tried full server restarts, map changes, and sm_whitelist_reload. When doing so, the server recognizes and counts the Steam ID's, groups, etc when I do a reload; but, I still can't the steamIDs on the whitelist to be allowed. It goes by Admin basis only.

The only people who can get in are Admins with "b" flags and above.

Code:
// This file was auto-generated by SourceMod (v1.10.0.6455)
// ConVars for plugin "serverwhitelistadvanced.smx"

// Individual Team Servers
// Individual Team Servers
// Individual Team Servers
// Individual Team Servers
// Individual Team Servers

// Enable server whitelist
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
whitelist "1"

// Allows people to join if they are not whitelisted under a certain condition. 0=Nop, 1=Someone is whitelisted, 2=An admin is present (_immunity needed), 3=Someone is present.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "3.000000"
whitelist_autovouch "0"

// Minimum time in seconds before a non-whitelisted first-time-in-map-user is kicked if no voucher (defined by _autovouch value) are present; to give time to voucher to join on mapchange. It is a minimum if Steam groups are used; if not it is a normal timeo
// -
// Default: "2.0"
// Minimum: "0.100000"
whitelist_autovouch_mintimeout "2.0"

// File name to use for the whitelist, in the sourcemod/configs/whitelist/ folder. Can't use '/' or '\'. With extension.
// -
// Default: "whitelist.txt"
whitelist_filename "whitelist.txt"

// Automatically grant admins access. Required for _autovouch = 2.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
whitelist_immunity "1"

// Message to show to kicked clients.
// -
// Default: "You are not in the server's whitelist"
whitelist_kickmessage "contact wh34t"						// ### Give instruction for being able to join

// Log failed-attempts to join server. 0=No, 1=Yes (always), 2=Yes (not after first time)
// -
// Default: "1.0"
whitelist_log "1.0"

// When removing someone from whitelist, update the .txt right away (expensive operation if big whitelist) ? 0= On map end. Def. 1=Yes.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
whitelist_removeinstant "1"

// Also read SteamGroupIds from whitelist file ? 0=No. 1=Yes (SteamTools). 2=Yes (SteamWorks). Can fallback.
// -
// Default: "2"
// Minimum: "0.000000"
// Maximum: "2.000000"
whitelist_steamgroup "2"

// Maximum number of retry to do before saying someone is blacklisted. 'whitelist_steamgroup_timeout' seconds between each retry. ; Put '-1' for unlimited retry. Doing so should make people not be kicked in case Valve never respond (i.e. they have technical
// -
// Default: "-1"
// Minimum: "-1.000000"
whitelist_steamgroup_retry "-1"

// Time (in seconds) before re-requesting SteamGroups status from Valve's server (sometimes Valve doesn't answer).
// -
// Default: "0.34"
// Minimum: "0.010000"
whitelist_steamgroup_timeout "0.34"

// Use whitelist_kickmessage through tidykick ? 0=No (Default; need TidyKick). 1=Yes.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
whitelist_tidykick "0"
End goal: I want users who aren't admins to be able to make it into the server. If they're not on the whitelisted, they're getting autokicked. No visitors.

If whitelist_immunity is set to "1" and I'm a "b" flagged admin ---> I can get on
If whitelist_immunity is set to "0" and I'm a "b" flagged admin ---> I can't get on

Not using SourceBans

Last edited by ocean6; 05-05-2020 at 04:33.
ocean6 is offline
ocean6
Junior Member
Join Date: Mar 2019
Old 05-05-2020 , 04:37   Re: [Any] Server Whitelist Advanced (1.5.0)
Reply With Quote #154

Quote:
Originally Posted by JoinedSenses View Post
P.S. This worked, thank you.

Just running into this other issue with the whitelist not kicking in on the unmodified code now :\
ocean6 is offline
Sweet and sour bomb
New Member
Join Date: May 2023
Location: Shenzhen, China
Old 05-27-2023 , 06:14   Re: [Any] Server Whitelist Advanced (1.5.0)
Reply With Quote #155

The author does not provide tidykick. Inc cannot compile
Sweet and sour bomb is offline
rodopoulos
Junior Member
Join Date: Mar 2023
Location: Brazil
Old 11-06-2023 , 22:20   Re: [Any] Server Whitelist Advanced (1.5.0)
Reply With Quote #156

Quote:
Originally Posted by Sweet and sour bomb View Post
The author does not provide tidykick. Inc cannot compile

here is the link https://forums.alliedmods.net/showthread.php?p=1766121
rodopoulos 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 04:01.


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