#193 - published less than a minute ago


Per request, I created a way for the whitelist to be used in a mysql database. It will override permit and unpermit commands, and makes them available to be used in the console. You can also add to the whitelist directly into the mysql, and the whitelist in game will be updated when the server restarts. Comes with a default config file and translation file.

This will not include into the mysql table anything already in the whitelist. If you want them in the mysql, you need to add them into the mysql or call the command again.

/permit <steamid>/<name>
/unpermit <steamid>

If you set AddtoGameWhitelist to false, you can still use permit and unpermit to add and remove from the mysql, but it will stop adding and removing from the game whitelist.  If you want to maintain a whitelist in case of future whitelisting, this is the way to go.  Remember to delete the whitelist file in your server folder if you are taking off the game whitelist and you used it before.

Default configuration

<?xml version="1.0" encoding="utf-8"?>
<ZaupWhitelistConfiguration xmlns:xsi="" xmlns:xsd="">

Default english translation

<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsi="" xmlns:xsd="">
  <Translation Id="command_generic_invalid_parameter" Value="Invalid format." />
  <Translation Id="command_generic_invalid_steamid" Value="{0} is an invalid SteamID format." />
  <Translation Id="default_permit_message" Value="You have added {0} {1} to the whitelist." />
  <Translation Id="default_unpermit_message" Value="You have removed {0} from the whitelist." />
  <Translation Id="no_player_found_unpermit" Value="No player found that has id {0}." />
  <Translation Id="update_whitelist_mysql_message" Value="Whitelist up to date from Mysql Database." />

Commands and permissions

/permit <steamid> <name>

Permissions: permit

Adds a person to the whitelist.

/unpermit <steamid>

Permissions: unpermit

Removes a person to the whitelist.

Git changelog

c4f9f2d5d21c927 2017-01-13 21:15:08



    Build #193
    By downloading this file, you agree to our license terms.