-
Notifications
You must be signed in to change notification settings - Fork 4
SpectateMode.as
Drake Denston edited this page Jun 4, 2017
·
24 revisions
First Created: August 29th, 2016
Last Updated: June 4th, 2017
Current Status: Stable.
Works with the 5517 (v5.12) Build of Sven Co-Op.
Thank you to all those who have assisted me with this plugin!
Copy 'SpectateMode.as' to 'svencoop\scripts\plugins'. And add this to 'default_plugins.txt':
"plugin"
{
"name" "SpectateMode"
"script" "SpectateMode"
}
Puts player into a "Spectate Mode", meaning they can just watch the game and not be forced back into the game. If spectate mode is on, then it will do the above. If spectate mode is off, it will undo the spectate on command and await next respawn scenario.
Console Commands:
-
.spectate [player name/Steam ID]
- Toggle your spectate status. Type it again to get off of it. If player name or Steam ID is given, then admin will toggle the player's Spectate status.
Chat Commands:
-
!spectate [player name/Steam ID]
- Toggle your spectate status. Type it again to get off of it. If player name or Steam ID is given, then admin will toggle the player's Spectate status. -
/spectate [player name/Steam ID]
- (Hide from chat version) Toggle your spectate status. Type it again to get off of it. If player name or Steam ID is given, then admin will toggle the player's Spectate status.
Configs:
Look in the config section at the top of the plugin.
- "adminOnly" - Enables whether or not that ONLY players with the Admin or Owner icon can use the plugin.
- N/A