This plugin generates item whitelists for tournament mode.
It does this every time the plugin starts (restart the server, server is updating, server starts, plugin starts, whitelists get updated).
A changlog can be found:
here.
Example output of the plugin can be found:
here. This is actually being updated automatically after every TF2 patch.
This plugin supports updating itself using the
Updater plugin, which is highly recommended for absolute laziness. Thank GoD-Tony!
Configuration
Quote:
Whitelist File Format
These need to be placed here: sourcemod/configs/whitelists/<your-whitelist>.ini
A whitelist config is basically an ini-like file looking like this:
Code:
[Global]
Header=ETF2L Season 10, Full, all allowed
AllowWeaponSets=0
AllowHats=1
AllowActionItems=1
AllowNoiseMaker=1
AllowWeaponSkins=1
AllowAllWeapons=0
MinimalOutput=0
Filename=etf2l_whitelist.txt
[Allowed]
The Blutsauger
The Crusader's Crossbow
The Kritzkrieg
The Ubersaw
[ForceAllow]
The Attendant
[ForceBlock]
The Original
|
Quote:
Global
The Global section allows you to tweak the basic settings for the generator:- Header
Use this to specify a custom Header text for the generated whitelist file
- AllowWeaponSets
If all weapons of a set are allowed and this is set to 0, the corresponding hats will be blocked. This allows blocking of set attributes.
- AllowHats
Set this to 0 to block all hats and misc items.
- AllowActionItems
Taunts, Gifts etc are considered Action Items
- AllowNoiseMaker
Block Noisemakers.
- AllowWeaponSkins
Allow weapons that just have a different look.
- AllowAllWeapons
This basically adds all weapons to the [Allowed] section.
- MinimalOutput
By default unlisted items are being blocked. By setting this to 1 the generated whitelist won't explicitly list them as blocked.
- Filename
Explicitely specify the name of the file being generated.
|
Quote:
Allowed
By default all weapons are blocked. Specify allowed ones in this section.
|
Quote:
ForceBlock
The ForceBlock section allows to block weapons that would otherwise be enabled by the given config. E.g. The Original is basically a skin for the Rocket Launcher, but it is blocked in ETF2L Season 10.
|
ConVars
Quote:
- sm_twhitelistupdater_auto (Default: 1)
Automatically updates all whitelists on server start if enabled
|
Some configurations don't specify some of the global settings. You can override empty fields with the following cvars:
Quote:
- sm_twhitelistupdater_weaponsets (Default: 0)
- sm_twhitelistupdater_hats (Default: 1)
- sm_twhitelistupdater_actionitems (Default: 1)
- sm_twhitelistupdater_noisemaker (Default: 1)
- sm_twhitelistupdater_weaponskins (Default: 1)
|
Issues:
Quote:
Weapon Skins
These can't be detected from the items_game.txt file provided by the server, but have to be specified in a separate config file. You don't need to worry about that as long as you have the Updater plugin installed and someone told me about the new weapon skins
Compilation
To compile this plugin, you'll need the updater include. This is why the "Get Plugin" link below won't work either.
|