Hey, now is working but a strange problem..
On maps like fy_snow, aim_, awp_ plugin is working - Balance after 3 Rounds
On de_dust2, mirage, de_cache, toscan (standard maps) plugin doesnt work.. i mean it doesnt balance, why? - 0 balance even score is 12-0.
cfg:
Code:
// This file was auto-generated by SourceMod (v1.10.0.6502)
// ConVars for plugin "skillautobalance-kento-rankme.smx"
// 0 = Disabled. Otherwise, balance teams when 'N' players join/leave the server. Requires sab_balanceafternrounds to be enabled
// -
// Default: "1"
// Minimum: "0.000000"
sab_balanceafternplayerschange "1"
// 0 = Disabled. Otherwise, after map change balance teams when 'N' rounds pass. Then balance based on team win streaks
// -
// Default: "1"
// Minimum: "0.000000"
sab_balanceafternrounds "1"
// If enabled, teams will be rebalanced at the end of every round
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sab_balanceeveryround "0"
// 0 = Don't block. 1 = Block, can join spectate, must rejoin same team. 2 = Block completely (also disables teammenu and chatchangeteam commands like !join !spec)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
sab_blockteamswitch "0"
// When teams are being balanced, 1 = Bots are players (bots have points/KDR), 0 = Bots are outliers (bots do not have points/KDR)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sab_botsareplayers "0"
// Enable joining teams by chat commands '!join, !play, !j, !p, !spectate, !spec, !s (no picking teams)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sab_chatchangeteam "0"
// The amount to subtract from a streak if UseDecay is true. In other words, the ratio of a team's round wins to the opposing team's must be greater than this number in order for a team balance to eventually occur.
// -
// Default: "1.5"
// Minimum: "1.000000"
sab_decayamount "1.5"
// Allow plugin to display messages in the chat
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sab_displaychatmessages "1"
// Show the messages in chat when a player switches team?
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sab_enableplayerteammessage "0"
// Add 'force balance' to 'server commands' in generic admin menu
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sab_forcebalance "0"
// 0 = Disabled, 1 = Optional (!settings), 2 = Forced. Force clients to join a team upon connecting to the server. Always enabled if both sab_chatchangeteam and sab_teammenu are disabled
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
sab_forcejointeam "0"
// Living players are kept alive when their teams are changed
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sab_keepplayersalive "1"
// 0 = Unlimited. Max players allowed on each team. If both teams reach this amount, new non-admin players are kicked. Only works if sab_blockteamswitch is 2.
// -
// Default: "0"
// Minimum: "0.000000"
sab_maxteamsize "0"
// See sab_messagetype for info
// -
// Default: "white"
sab_messagecolor "green"
// How this plugin's messages will be colored in chat. 0 = no color, 1 = color only prefix with sab_prefixcolor, 2 = color entire message with sab_messagecolor, 3 = color prefix and message with both sab_prefixcolor and sab_messagecolor
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
sab_messagetype "3"
// The amount of players not in spectate must be at least this number for a balance to occur
// -
// Default: "5"
// Minimum: "2.000000"
sab_minplayers "4"
// Amount of wins in a row a team needs before autobalance occurs
// -
// Default: "4"
// Minimum: "0.000000"
sab_minstreak "3"
// The prefix for messages this plugin writes in the server
// -
// Default: "[Echilibru]"
sab_prefix "[!]"
// See sab_messagetype for info
// -
// Default: "white"
sab_prefixcolor "white"
// Value to multiply IQR by. If your points have low spread keep this number. If your points have high spread change this to a lower number, like 0.5
// -
// Default: "1.5"
// Minimum: "0.100000"
sab_scale "1.5"
// Randomize teams instead of using a skill formula
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sab_scramble "0"
// Add 'set player team' to 'player commands' in generic admin menu
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sab_setteam "0"
// Whether to enable or disable the join team menu.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sab_teammenu "1"
// If 1, subtract sab_decayamount from a team's streak when they lose instead of setting their streak to 0
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sab_usedecay "1"