[TF2] Auto Spells
After years being untouched, it will now be updated to a functional plugin.
Commands
sm_spawnspell - Spawns The Spell and Saves it's location on the database
sm_deletespell - Deletes the Spell from map and database.
ConVars
sm_spell_version - Spell Version
sm_spell_respawntime - How Fast Spells Respawn. -1 = Spells only Spawn at Round Start.
Installation
1. Place "AutoSpells.smx" into your addons/sourcemod/plugins/ folder
2. Update your addons/sourcemod/configs/database.cfg File and add this:
Code:
"autospells"
{
"driver" "mysql"
"host" "webserver ip"
"database" "database name"
"user" "database username"
"pass" "database username password"
"port" "3306"
}
Notes
Command's Access Level is ROOT by default
Have your servers a database to sync spells across multiple servers.
Credits:
DarthNinja For his
Auto Pumpkins Plugin.
Changelog
Quote:
Version 1.0.0 [Untested but should work]
+ Redone some code lines
+ Updated into new syntax and declarations
Version 1.0 [Initial release]
+ Release
|