This plug-in will build the file containing a list of administrators for Sven Co-op, usually "admins.txt
" or pointed to with CVAR "adminsfile
", which is then used to graphically denote whom server administrators are on the in-game score board. Owners will also get the tinted gold graphic, which is read from those users with the ADMIN_RCON
The automated graphic will help players spot imposter administrators. It will also allow administrators to use Sven Co-op's build-in cheat commands, providing that the sv_cheats
CVAR is set to 2
. (players will still not be able to use cheats)
It will also provide server administrators with a command to optionally hide their graphic, which is remembered across map changes. Both the textual and SQL user list formats are supported, though your database table will need a new column to remember administrator visibility preference.
This requires Sven Co-op 4.5 or later, though owners will not show up at all without Sven Co-op 4.8 or later.
If you are not using SQL you will need to re-compile the plug-in with the "#define USING_SQL
" line commented.
If you are using SQL you will need to execute this SQL query to modify your users table:
ALTER TABLE `admins` ADD `hideicon` TINYINT( 1 ) NOT NULL DEFAULT 0
After that simply place the "sven_adminicons.amxx
" plug-in file with the rest of yours, add its' entry to "plugins.ini
", and it'll work right away.
Most of this is handled automatically. It's not designed to be complicated
The list is re-built on the start of every map, though you can do it manually mid-game using server command "amx_adminlist_build
Administrators can input "amx_hideadmin
" to toggle their graphic, or input "amx_hideadmin 0
" or "amx_hideadmin 1
" to explicitly hide/show their graphic.
Only the server owners/managers, should have the ADMIN_RCON
) to be denoted as such in-game.