ZPS-centric swapteam plugin.
NOTE: This plugin is currently unsupported and will not be updated! After ZPS 3.0, the plugin no longer works due to changes in how teams are changed/swapped. In order to fix it, it will need to be updated with the appropriate hooks into methods that can be used to change teams for survivors and zombies. Feel free to fork and use however you see fit!
This plugin allows players to swap teams. There is functionality for admins and donators (can be changed in the configs) to swap as many times as they want (if desired).
- Updated code files with separate ZPS-related items and renamed the plugins.
- Compiled for SM 1.9
- Compiled codebase for SM 1.8
- Changed plugin name to zps_swapteam in order to avoid confusion. The configuration file has also had its name updated to plugin.zpsswapteam.
- Changed game_round_restart hook to round_win.
- General code update to fix minor compatability issues.
- Used TEAM_SPEC define in team change logic instead of having it hard-coded.
- Added admin/donator flags/functionality
- Added player threshholds. This ensures that it can be used after x amount of players are playing and deactivates after x amount of players are on the server.
- Created swap functionality.
- Added cooldown on swap functionality for regular players.