AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   Simple Spectate (https://forums.alliedmods.net/showthread.php?t=102837)

Antithasys 09-06-2009 13:45

Simple Spectate
 
3 Attachment(s)
Simple Spectate

Description:

Spectate a player and follow them through death.
Plugin is part of the Simple Plugins project.

Features:
  • Follows a player thru death
  • Displays player name and steamid on screen
  • Displays ipaddress to admins on screen (Menu/Panel Hud Only)
  • Displays kills and deaths on screen (Menu/Panel Hud Only)
  • Ability to punish player
  • SteamBans support integrated (auto sb_status call when installed)
  • SourceBans support integrated
  • MySQLBans support integrated
  • Ability to flag a player as a cheater**
  • Admin menu integration

**This ability requires Dukehacks 0.0.2.0 but the plugin will work without it. It's only optional and if you do have dukehacks installed the feature will be enabled.

Commands:
  • sm_spectator <#userid|name> - Spectate a player
  • sm_spec <#userid|name> - Spectate a player
  • sm_observe <#userid|name> - Spectate a player
  • sm_stopspec - Stops spectating a player
  • sm_endobserve - Stops spectating a player
  • sm_specinfo - Toggles the hud display if in spectator

Console Variables:

sm_spectate_hudmode - Hud Mode: 0 = Hud Text | 1 = Panel/Menu (NOTE: The panel/menu will override other menus until canceled)
sm_spectate_menutype - Menu Mode: 0 = Panel | 1 = Menu
sm_spectate_adminflag - Admin flag to use for hud
sm_spectate_restricthud - Restriction Mode: 0 = Everyone | 1 = Admins only
sm_spectate_ban - Enables/Disables bans
sm_spectate_banperm - Enables/Disables perma bans
sm_spectate_beacon - Enables/Disables beacon punishment
sm_spectate_blind - Enables/Disables blind punishment
sm_spectate_cheater - Enables/Disables cheater flag punishment
sm_spectate_drug - Enables/Disables drug punishment
sm_spectate_freeze - Enables/Disables freeze punishment
sm_spectate_freezebomb - Enables/Disables freezebomb punishment
sm_spectate_kick - Enables/Disables kick punishment
sm_spectate_slap - Enables/Disables slap punishment
sm_spectate_slay - Enables/Disables slay punishment
sm_spectate_timebomb - Enables/Disables timebomb punishment
Installation:
Place the simple-spectate.smx in the /sourcemod/plugins dir.
Place the simple-plugins.smx in the /sourcemod/plugins dir.
Place the simplespectate.phrases.txt in the /sourcemod/translations dir.
Changelog:

Quote:

(27/09/09): Version 1.2.1
-----------------------
! Fixed security issue with hud displaying punish commands to non admins
! Fixed sm_spectate_cheater not loading right setting

(27/09/09): Version 1.2.0
-----------------------
+ Added punishment menu on hud
+ Added SourceBans support for bans
+ Added MySQLBans support for bans
! Fixed conflict detection with Observe plugin
! Fixed bug where spectator stopped following target if closed hud with sm_spectate_menutype 1
? Corrected project name in comments and updated url in plugin info
Features/Bugs:
Please use the project site to report all bugs and request additional features.

Future Updates:

I will be adding Sourcebans support to submit bans from the general public right from the hud when Sourcebans 2.0 is released. I am not going to code it twice. Ban support for admins is active now.

Looking for additional translations! If you have or can translate the phrases, please do and post with the new translations. I will add them to the file and certainly credit you.

Russian - olj - Incomplete
Polish - Zuko - Incomplete

Notes:

This plugin requires Simple Plugins Core to work. It has NOT been included in the .zip file.

I added support for griefing cheaters from my Cheater Hater plugin. Admins can now flag a player as a cheater and which nulls anything but self damage and makes them die on any fall damage. For this feature to work you need Dukehacks 0.0.2.0. It is not required to have this installed and this plugin will work if not, but the feature will not be available. Additionally, this plugin will NOT autoload dukehacks. Since I wanted to keep it optional I have removed the autoload feature. Therefore if you do not use dukehacks with anything else, and installed it specifically for this plugin, you will need another plugin to autoload dukehacks. I have created a plugin to do just that and included that in the .zip file as well. You only need the autoload_dukehacks files if you have no other plugins that will load dukehacks.

There was a problem with the tf2.inc file that comes with sourcemod. I had to change that file in order to get it to work with other games. I also had to change the dukehacks.inc file to make it work with or without dukehacks installed. I included both files with my changes as well. Plugin is compiled in 1.2.3.

olj 09-06-2009 14:02

Re: Simple Spectate
 
1 Attachment(s)
Here's russian one :)

retsam 09-06-2009 14:25

Re: Simple Spectate
 
wo0t for fullfilling my year old request for this. :P

DontWannaName 09-06-2009 15:03

Re: Simple Spectate
 
Yay I kept bugging goerge to tell me if it was done.

Zuko 09-06-2009 16:40

Re: Simple Spectate
 
1 Attachment(s)
polish translation:

Jamster 09-06-2009 18:33

Re: Simple Spectate
 
YES, much needed plugin, cheers man.

Ghost Killer 09-06-2009 19:04

Re: Simple Spectate
 
Thanks mate. Very nice plugin, I was just looking for it tooday.

Zuko 09-07-2009 00:39

Re: Simple Spectate
 
omg, I forgot to change "en" to "pl" in translation file ;/

Edit.
Antithasys change it in first post.

Antithasys 09-07-2009 01:11

Re: Simple Spectate
 
Quote:

Originally Posted by Zuko (Post 925396)
omg, I forgot to change "en" to "pl" in translation file ;/

Edit.
Antithasys change it in first post.

Caught it already when I reviewed the file. No worries.

Zuko 09-07-2009 01:46

Re: Simple Spectate
 
if I 'click' on "Plugin Dependencies:" link I got 404 error.


All times are GMT -4. The time now is 23:15.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.