Provides an API and modules for administrative functions for your servers (Think advanced commands, but without the necessity of all of those disparate commands being in one plugin. If you don't like a set of commands, simply unload them!).
It provides these natives:
native RegExtendedCommand(Function:command,const String:name,const String:category="misc"); // A short note on categories: They can be anything you want, they will automatically be added to the menus.
filter_all = 0,
sm_advmenu - Shows the plugin's primary menu
sm_advitem <item> - Shows that particular command's menu (e.g. !advitem Set player HP). Note: this one was sort of shoehorned in, as you could possibly tell - I'm interested in feedback on it.
As this was a project that I had dropped a few weeks back due to lack of time, I haven't really added all that many modules to it.
Set Player HP - Provides a menu to set client HP to 150/125/100/75/50/25.
Respawn Player - Provides a menu to respawn currently dead players
Kill Player - Provides a menu to kill currently living players
Heal To Max HP - Provides a menu to heal players to their maximum War3 health
Reset Cooldowns - Provides a menu to reset the cooldowns of any player.
None to my knowledge, although this plugin has not been thoroughly tested yet.
What it requires:
My Improved Commands plugin: https://forums.allie...ad.php?t=180761
War3Source's extensive include files are required to compile the war3source_commands module.
Currently I took a bit of a lazy approach and only attached admin flags to the menus (and by extension, the commands), I will later correct this with overrideable admin flags per command, but don't have the time to do that small, yet important, change quite yet.
Attached Files extended_commands.zip (28.8 KB) extended_commands.inc (1.6 KB)
Wyświetl pełny artykuł