This plugin displays in the upper right corner the names of all the players who are spectating you at the moment. The server simply forces each player to send information to the array about who this player is currently spectating.
Perhaps there is another way to get information about the observers, but so far I do not know how it can be done in another way.
Installing the plugin consists of several steps:
- Download this plugin;
- Go to the directory
..\Sven Co-op\svencoop\scripts\pluginsand place theSpectators.asplugin here; - Next, go to the
..\Sven Co-op\svencoopfolder and find there the text filedefault_plugins.txt; - Open this file and paste the following text into it:
"plugin"
{
"name" "Spectators"
"script" "Spectators"
}
- After completing the previous steps, you can run the game and check the result.
When you start the game and connect to your server, you will have the following plugin commands at your disposal, which you will have to write in the game chat to activate them.
| Command | MinValue | MaxValue | DefValue | Description | Usage |
|---|---|---|---|---|---|
.sl, /sl or !sl |
0 |
1 |
1 |
Allows you to enable or disable this feature. (AdminsOnly) |
Usage: .sl or /sl or !sl <enabled>. Example: !sl 1 |
.sl_ao, /sl_ao or !sl_ao |
0 |
1 |
0 |
Allows you to enable this feature only for admins or for all players. (AdminsOnly)0 - For everyone;1 - Admins only. |
Usage: .sl_ao or /sl_ao or !sl_ao <adminsonly>. Example: !sl_ao 0 |
REMEMBER: This plugin has problems and may crash sometimes.
REMEMBER: The plugin may conflict with other plugins.
REMEMBER: Observers are displayed only for a live player.
REMEMBER: It may also be worth using another function instead of HudMessage to display a list with observers.



