Class Notifier
Description
Notifies players on the same team when a class is to high or to low.
Features - Only notifies players of the appropriate class (other classes if low, target class if high)
- Ability to change warning displays (player/team)
- --Player mode displays message once on class change
- --Team mode places message on timer and repeats to team until class is no longer high or low
- Ability to change warning mode(chat/center/hint)
- Ability to set min player threshold
CommandsCvars- clsnote_enabled - Enable or Disable Class Notifier
- clsnote_threshold - Player threshold to start notifications
- clsnote_warningads - Who to send the warnings to (1 = Player | 2 = Team)
- clsnote_warningmode - How to send the message (1 = Chat | 2 = Center | 3 = Hint)
- clsnote_warning_repeat_time - Warning ad repeat time (60.0 = 1 min ads)
Upper limit for class warnings
Value is >=
Default is 6, so when there are 6 of a class the warnings start
- clsnote_highlimit_blu_demomen
- clsnote_highlimit_blu_engineers
- clsnote_highlimit_blu_heavies
- clsnote_highlimit_blu_medics
- clsnote_highlimit_blu_pyros
- clsnote_highlimit_blu_scouts
- clsnote_highlimit_blu_snipers
- clsnote_highlimit_blu_soldiers
- clsnote_highlimit_blu_spies
- clsnote_highlimit_red_demomen
- clsnote_highlimit_red_engineers
- clsnote_highlimit_red_heavies
- clsnote_highlimit_red_medics
- clsnote_highlimit_red_pyros
- clsnote_highlimit_red_scouts
- clsnote_highlimit_red_snipers
- clsnote_highlimit_red_soldiers
- clsnote_highlimit_red_spies
Lower limit for class warnings
Value is <
Default is 0, or disabled
Setting to 3 means warnings will start 2 or less people on that class
- clsnote_lowlimit_blu_demomen
- clsnote_lowlimit_blu_engineers
- clsnote_lowlimit_blu_heavies
- clsnote_lowlimit_blu_medics
- clsnote_lowlimit_blu_pyros
- clsnote_lowlimit_blu_scouts
- clsnote_lowlimit_blu_snipers
- clsnote_lowlimit_blu_soldiers
- clsnote_lowlimit_blu_spies
- clsnote_lowlimit_red_demomen
- clsnote_lowlimit_red_engineers
- clsnote_lowlimit_red_heavies
- clsnote_lowlimit_red_medics
- clsnote_lowlimit_red_pyros
- clsnote_lowlimit_red_scouts
- clsnote_lowlimit_red_snipers
- clsnote_lowlimit_red_soldiers
- clsnote_lowlimit_red_spies
Installation - Place the class_notifier.smx in the /sourcemod/plugins dir.
- Place the plugin.classnotifier.cfg in the /cfg/sourcemod dir.
Changelog
Future Updates
Add Translation Support
Notes
Thanks to
Tsunami for some great code in the
[TF2] Class Restrictions plugin.