Raised This Month: $85 Target: $400
 21% 

Simple Team Manager


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Antithasys
Moderator
Join Date: Apr 2008
Plugin ID:
1043
Plugin Version:
2.0.107
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
6 
Plugin Description:
Manages players and their teams
Old 07-26-2009 , 18:53   Simple Team Manager
Reply With Quote #1

Simple Team Manager

Description:

Manages players and their teams.
Plugin is part of the Simple Plugins project.

Features:
  • Admin flags can be set in simpleteammanager.cfg
  • Admin menu integration
  • Players with specified flag can swap their team
  • Players with specified flag can swap players team and force them to stay there
  • Players with specified flag can scramble the teams
  • All players can vote for a team scramble
  • Works with Simple Team Balancer

Commands:
  • sm_swapteam <[0]instant/[1]queued> - Swaps your team to the other team
  • sm_moveplayer <name/#userid> <team[number/name]> <[0]instant/[1]ondeath> <[0]unforced/[1]forced> - Moves a player to the specified team
  • sm_scrambleteams: <[0]now/[1]roundend> <[0]dontrestart/[1]restartround> - Scrambles the current teams
  • sm_votescramble - Starts a vote to scramble the teams

Console Variables:
  • stm_enabled - Enable or Disable Simple Team Manager
  • stm_logactivity - Enable or Disable the displaying of events in the log
  • stm_adminflag_swapteam - Admin flag to use for command
  • stm_adminflag_moveplayer - Admin flag to use for command
  • stm_adminflag_scramble - Admin flag to use for command
  • stm_scrambledelay - Delay to scramble teams once a scramble is called for
  • stm_voteenabled - Enable voting for a scramble
  • stm_votewin - Win percentage
  • stm_votedelay - Delay before another vote can be called
A simpleteammanager.cfg file will be made when first ran. It will be located in /cfgs/sourcemod


Installation:
Place the simple-teammanager.smx in the /sourcemod/plugins dir.
Place the simple-plugins.smx in the /sourcemod/plugins dir.
Place the simpleteammanager.phrases.txt in the /sourcemod/translations dir.
Changelog:

Quote:
2.0.107

Added check for core plugin
Fixed translation file
Features/Bugs:
Please use the project site to report all bugs and request additional features.

Future Updates:

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.

French - by Vader_666 - Incomplete
Hungarian - by KhyrOO - Incomplete


Notes:

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

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 included that file with my changes as well. Plugin is compiled in 1.2.3.
Attached Files
File Type: zip Simple Team Manager.zip (31.5 KB, 2521 views)
__________________
[my plugins]

When you think about asking a question... consider what have you tried?

Last edited by Antithasys; 12-30-2009 at 16:01. Reason: formatting
Antithasys is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 07-26-2009 , 18:55   Re: Simple Team Manager
Reply With Quote #2

Reserved
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
louen
Junior Member
Join Date: Dec 2008
Old 08-01-2009 , 13:20   Re: Simple Team Manager
Reply With Quote #3

The plugin doesn't work with Insurgency mod. I've tried to swap someone but nothing happens.
__________________

louen is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 08-01-2009 , 16:09   Re: Simple Team Manager
Reply With Quote #4

Are there errors in the log? What happens?
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
louen
Junior Member
Join Date: Dec 2008
Old 08-01-2009 , 16:40   Re: Simple Team Manager
Reply With Quote #5

The plugin is loaded and enabled but the command swap doesn't respond : nothing happens when i swap a player.
__________________

louen is offline
tcviper
Veteran Member
Join Date: Oct 2005
Location: Netherlands
Old 08-06-2009 , 04:10   Re: Simple Team Manager
Reply With Quote #6

in CSS:
Quote:
L 08/06/2009 - 10:09:14: -------- Mapchange to de_dust2 --------
L 08/06/2009 - 10:09:16: [SM] Unable to load extension "game.tf2.ext.dll": The s
pecified module could not be found.

L 08/06/2009 - 10:09:16: [SM] Failed to load plugin "simple-teammanager.smx": Un
able to load plugin (error 1: Unrecognizable file format)
L 08/06/2009 - 10:09:16: [GEOIP] GeoIP database info: GEO-106FREE 20080301 Build
1 Copyright (c) 2007 MaxMind LLC All Rights Reserved
L 08/06/2009 - 10:09:16: [SM] Native "CloseHandle" reported: Handle 0 is invalid
(error 4)
L 08/06/2009 - 10:09:16: [SM] Displaying call stack trace for plugin "gameme.smx
":
L 08/06/2009 - 10:09:16: [SM] [0] Line 510, gameme.sp::check_loaded_plugins()

L 08/06/2009 - 10:09:16: [SM] [1] Line 194, gameme.sp::OnPluginStart()
L 08/06/2009 - 10:09:16: [SM] Unable to load plugin "simple-plugins.smx": Native
"TF2_RespawnPlayer" was not found
L 08/06/2009 - 10:09:16: [SM] Native "GetConVarFlags" reported: Invalid convar h
andle 0 (error 4)
L 08/06/2009 - 10:09:16: [SM] Displaying call stack trace for plugin "simple-tea
mbalancer.smx":
L 08/06/2009 - 10:09:16: [SM] [0] Line 158, C:\Compiler\scripting\simple-team
balancer.sp::OnPluginStart()
__________________
tcviper is offline
Send a message via MSN to tcviper
ST1flus
Junior Member
Join Date: Jul 2009
Old 08-12-2009 , 17:21   Re: Simple Team Manager
Reply With Quote #7

I need this for CSS as well, is there a way to also be able to switch players to spec?
ST1flus is offline
ilovelamp
Junior Member
Join Date: Aug 2009
Old 08-12-2009 , 23:22   Re: Simple Team Manager
Reply With Quote #8

Currently attempting to use this in tandem with Custom Votes. Getting this(with no scramble occuring):

23:19:29 sm_scrambleteams 0 1
23:19:29 L 08/12/2009 - 22:17:44: [SM] Native "SM_IsValidAdmin" reported: Plugin owning this native is currently paused.
23:19:29 L 08/12/2009 - 22:17:44: [SM] Displaying call stack trace for plugin "simple-teammanager.smx":
23:19:29 L 08/12/2009 - 22:17:44: [SM] [0] Line 554, C:\Compiler\scripting\simple-teammanager.sp::Command_ScrambleTeams()

Code:
    if (!SM_IsValidAdmin(client, sFlags))
    {
        ReplyToCommand(client, "\x01\x04[SM]\x01 %T", "RestrictedCmd", LANG_SERVER);
        return Plugin_Handled;
    }

Last edited by ilovelamp; 08-12-2009 at 23:31.
ilovelamp is offline
markg
Senior Member
Join Date: Jan 2009
Old 08-15-2009 , 16:45   Re: Simple Team Manager
Reply With Quote #9

the plug in works great for me!

any chance you could add the swapteam and votescramble commands into the menu?

thanks!

Last edited by markg; 08-15-2009 at 16:48.
markg is offline
ZiramMaddness
Member
Join Date: Jun 2007
Location: Chicago, IL
Old 08-26-2009 , 09:17   Re: Simple Team Manager
Reply With Quote #10

Thanks for the plugin, I have a few ideas if you could add to it.

I would like to have the sm_scrambleteams to run at the halfway point in my server time, running at the start of the closest time.

Also can you add a option to switch players to Spec, right now i have a seperate plugin do that and would like to bring it down to 1
__________________
ZiramMaddness is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:29.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode