GolovaRaoul

Reserved Slots with extdb-conf.ini

2 posts in this topic

Hello everyone,

I noticed the following option in extdb-conf.ini for setting up reserved slots

Spoiler

[Rcon]
;; This is functional, should be working fine. Just needs abit of testing on a $
;; Allow for changing Address for those running server in a VM environment.
IP = 127.0.0.1
Port = 2302

;; Rcon Password i.e Battleye/beserver.cfg
Password = YeahThisIsNotTheRealPassword

;; Bad Player Name Checks
;;        This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
Bad Playername Enable = true
Bad Playername Kick Message = Bad Player Name

;; By default : is a bad character (used as seperator for extDB2 Calls (this is hardcoded in)
Bad Playername Strings = (:):{:}
;;Bad Playername Regex_1 = [:alnum:]
;;Bad Playername Regex_2 = [:alnum:]
;;Bad Playername Regex_3 = [:alnum:]

;; Whitelisting / Reserve Slots
;;        This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
Whitelist Enable = true
Whitelist Kick Message = Only Reserved Slots Left
Whitelist Public Slots = 0

;; Database settings to use (Optional)
Whitelist Database = MySQL_Example
Whitelist SQL Prepared Statement = SELECT CASE WHEN EXISTS(SELECT UID FROM PlayerInfo WHERE BattlEyeGUID=? AND Whitelisted=1) THEN 1 ELSE 0 END
Whitelist Kick on SQL Query Failed = false

;; Hardcoded BEGuids for whitelisted players
Whitelist BEGuids = 83d19320e3c7e47beb4b7ce64a22dec2

I'm wondering, does this work? I'm trying to get it to run on my test server, but I can't get it to work. I've tried setting WhiteList Public Slots to 999 and to 0, to see if I get kicked. But I won't get kicked for some reason.

Anyone know what I'm missing here, or if this actually works?

Thanks for responding

GolovaRaoul

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.