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-10-2012 , 23:01   [TF2] Local Item Server
Reply With Quote #1

[TF2] Local Item Server

v1.1.4

Description:
Makes your loadout work even when the item server is down. Whenever someone respawns or touches a resupply cabinet, their current loadout is checked. If they are using all stock weapons and the netprop m_bLoadoutUnavailable is true, they will be given their last known loadout using TF2Items. If their loadout is available, it is saved.

Note: Hats, miscs, and action slot items won't be saved.

Cvars:
local_item_server_version - plugin version
local_item_server_auto_update - enables automatic updating (has no effect if Updater is not installed)

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

Requirements:
This plugin requires TF2Items Give Weapon, and consequently, TF2Items.

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

Changelog:
  • v1.1.0 (7/12/12)
    • Added ability to disable automatic updating (local_item_server_auto_update)
  • v1.0.0 (7/10/12)
    • Initial release

Download Plugin (itemserver.smx)
View Source (itemserver.sp)
__________________

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