View Single Post
Author Message
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 07-05-2013 , 01:00   [TF2] Bot Manager
Reply With Quote #1

[TF2] Bot Manager

v1.3.0

Description:
Mimics the functionality of tf_bot_quota "fill" but allows for plugins to hook into the bot adding/kicking processes. Also extends the default functionality of tf_bot_quota "fill" and customizes the join/part messages to be more clear.

Cvars:
  • bot_manager_version - plugin version
  • bot_manager_auto_update - enables automatic updating (has no effect if Updater is not installed)
  • sm_bot_quota - number of players to keep in the server, use this instead of tf_bot_quota
  • sm_bot_join_after_player - if nonzero, bots will wait until a player joins before entering the game, use this instead of tf_bot_join_after_player
  • sm_bot_game_logic - 0 = use plugin logic when assigning bots, 1 = use game logic
  • sm_bot_supported_map - if nonzero, bots will only be present on maps that have nav files
  • sm_bot_on_team_only - if nonzero, players will only be considered "in-game" if they're on a team for purposes of assigning bots

Installation:
Put botmanager.smx into /addons/sourcemod/plugins, and reboot your server or type "sm plugins load botmanager" into your console or rcon.

Auto Update:
Install Updater. The plugin will be auto-updated according to your Updater settings. It'll work without Updater.

Changelog:
  • v1.3.0 (7/14/20)
    • Added support for TF2 Classic
  • v1.2.0 (11/22/13)
    • Added some randomization to choosing which bot to kick
  • v1.1.0 (7/7/13)
    • Added plugin library registration
  • v1.0.0 (7/5/13)
    • Initial release

Download Plugin (botmanager.smx)
View Source (botmanager.sp)
View Include File (botmanager.inc)

Requires updater.inc to compile.
__________________

Last edited by Dr. McKay; 07-14-2020 at 04:57.
Dr. McKay is offline