[ANY] SwapTeam Manager
Description
Manage teams, swap teams, exchange players teams, and force team on a target.
This is a standalone version of SwapTeam module from my All-In-One plugin "Random Commands Plugin" (unreleased).
Supporting translations, currently having swedish & english atm.
Games Currently Supported
1. Team Fortress 2
2. Team Fortress 2 Classic
3. Counter-Strike: Source
4. Counter-Strike: Global Offensive
5. Left 4 Dead
6. Left 4 Dead 2
7. Day of Defeat: Source
8. More to be supported later by suggestion
Commands
1. sm_swap - Swap a player to opposite team
2. sm_swapteam - Swap a player to opposite team
3. sm_switch - Swap a player to opposite team
4. sm_switchteam - Swap a player to opposite team
5. sm_exchange - Exchange a target to a clients team
6. sm_spec - Switch to spectators team
7. sm_switchspec - Switch a player to the spectators team
8. sm_swapteam - Switch a player to the spectators team
9. sm_forceteam - Force a team index on a client
10. sm_scramble - Scramble a player to a random team.
11. sm_scrambleteams - Scramble players to a random team.
ConVars
1. sm_swapteam_notify_swapteam - Determine if teamswaps shall be notified to everyone or just the client. Default:
1
2. sm_swapteam_notify_specteam - Determine if spectator teamswaps shall be notified to everyone or just the client. Default:
1
3. sm_swapteam_notify_exchangeteam - Determine if exchange teamswaps shall be notified to everyone or just the client. Default:
1
4. sm_swapteam_instant - Should team swaps be instant? (Teamchange without respawning) Default:
0
5. sm_swapteam_updatemodel - [CSS/CSGO] Should the players model get updated once swapped team? Default:
1
Dependencies
1. Tk Libraries - Required to compile the plugin.
2. Updater - Required to compile with and have updater support using the plugin.
Plans
1. Add team scramble command.
Done
2. Implement an administration menu.
Changelog
Quote:
Version 1.3.2
+ Updated code.
+ Added Updater Support.
+ Added Danish translation. (Thanks to ksgoescoding).
Version 1.3.0
+ Fixed "CS_UpdateClientModel native not found" error bug (It's loaded even tough it shouldn't be able to be loaded on non-cs games).
+ Fixed cvars not functioning correctly.
+ Fixed messages to properly function and be shown correctly.
+ Updated & cleaned up the code.
+ Updated translations.
Version 1.2.0
+ Added Day of Defeat: Source Support.
+ Added Command sm_scramble - Scramble a player to random team.
+ Added Command sm_scrambleteams - Scramble players to a random team.
+ Fixed team swapping to work properly now.
Version 1.1.0
+ Added Left 4 Dead & Left 4 Dead 2 Support.
+ Updated Translation File.
+ Added Swedish Translation.
+ Updated The Code.
+ Updated sm_swapteam_notify.
+ Added ConVar sm_swapteam_notify_swapteam - Determine if teamswaps shall be notified to everyone or just the client.
+ Added ConVar sm_swapteam_notify_specteam - Determine if spectator teamswaps shall be notified to everyone or just the client.
+ Added ConVar sm_swapteam_notify_exchangeteam - Determine if exchange teamswaps shall be notified to everyone or just the client.
+ Added ConVar sm_swapteam_notify_forceteam - Determine if forced teamswaps shall be notified to everyone or just the client.
+ Compiling Now Requires Tk Libraries.
> Note: Be sure to delete your current plugin folder (/cfg/sourcemod/swapteam_manager.cfg) and restart the server or reload the plugin to configure the new convars.
Version 1.0.0
+ Release
|
GitHub Repository | Latest Release
Translations are welcome
__________________