-
Notifications
You must be signed in to change notification settings - Fork 6
Whitelisting
To disable the whitelist, find the config near the top of client.lua
, then change this:
-- Whether or not to enable command whitelist.
-- "ace" to use Ace permissions, "json" to use whitelist.json file, or false to disable.
Config.WhitelistEnabled = "json"
to this:
-- Whether or not to enable command whitelist.
-- "ace" to use Ace permissions, "json" to use whitelist.json file, or false to disable.
Config.WhitelistEnabled = false
By default, the whitelist.json file contains one entry, as seen here:
[
{
"steamhex" : "steam:1100001076264E1",
"panic" : true,
"panictune" : true,
"panicwhitelist" : true,
"autotune" : true
}
]
-
steamhex
- A user's steam hex id, you can find it using http://vacbanned.com/ (Steam3 ID (64bit) -> (Hex), prefixed withsteam:
as seen in the example above) -
panic
- Whether or not this person can use the panic command -
panictune
- Whether or not this person can use the panictune command -
panicwhitelist
- Whether or not this person can use the panicwhitelist and panicunwhitelist command -
autotune
- Whether or not this person is auto-tuned into the panic channel when they join the server (assuming the global option for this is enabled in the configuration)
PLEASE NOTE: You do not need to list every command, only the commands you want the person to have access to, not listing a command will deny them access to that command.
To add more users, simply copy the entry, making sure to add a ,
after each entry, except the last entry, as seen here:
[
{
"steamhex" : "steam:123",
"panic" : true,
"panictune" : true,
"panicwhitelist" : true,
"autotune" : true
},
{
"steamhex" : "steam:456",
"panic" : true,
"panictune" : true,
"panicwhitelist" : true,
"autotune" : true
},
{
"steamhex" : "steam:789",
"panic" : true,
"panictune" : true,
"panicwhitelist" : true,
"autotune" : true
}
]
You can also use the /panicwhitelist
and /panicunwhitelist
in-game, however, please note that if you use this command in-game, the formatting of this file will change: the file will work with no troubles, however, it will be very hard to read. It may look something like this:
[{"steamhex":"steam:123","panic":true,"panictune":true,"panicwhitelist":true,"autotune":true},{"steamhex":"steam:456","panic":true,"panictune":true,"panicwhitelist":true,"autotune":true},{"steamhex":"steam:789","panic":true,"panictune":true,"panicwhitelist":true,"autotune":true}]
To use Ace Permissions as your whitelisting, open your server.cfg
file and add the following line above your resources:
exec "resources/[inferno-collection]/inferno-police-panic/inferno-police-panic.cfg"
Once you have done this, open the file, and find the section starting with:
#
# Permissions
# Add your player's identifiers in the sections below.
#
There are two sections below this, User
and Auto-tune User
. Players granted the User group have access to the /panic
and panictune
command. Players granted the Auto-tune User group have access to the /panic
and panictune
command, and will be auto tuned to the panic channel when entering the server. The /panicwhitelist
command is not needed when using Ace Permissions.
If you have any troubles, suggestions, feedback, etc, please check the Wiki, create a new issue, and/or contact us on Discord.