This plugin gives your donators a little extra by granting them HP, armor, speed, glow, etc. It is a port of the original AMX Mod X plugin to SourceMod.
It was sponsored by the California-based Kung Fu Comedy community.
Configuration
You can configure different donation ranks and assign different players to them. The ranks config file (configs/donator/ranks.txt) looks like:
Code: "Ranks"
{
"Starter"
{
"level" "1"
"health" "100"
"armor" "100"
"glow" "255"
"speed" "1.0"
"gravity" "1.0"
}
"Medium"
{
"level" "2"
"health" "110"
"armor" "110"
"glow" "230"
"speed" "1.1"
"gravity" "0.9"
}
...
}Any admin with the RCON flag access can add donators and set their rank through his admin menu.
The donators list file (configs/donator/donators_simple.ini), is fully compatible to the original plugin file and is very similar to admins_simple.ini:
Code: //
// READ THIS CAREFULLY!
//
// For each donator, you need two settings:
// "identity" "ranklevel"
//
// For the Identity, you can use a SteamId.
// For the Rank level, you can use an integer value that represents the rank level.
//
// So if you have the following rank in configs/donator/ranks.txt:
//
// "Hardcore Donator"
// {
// "level" "8"
// "gravity" "1.5"
// ...
// }
//
// And you want to make STEAM_0:X:XXXXXXX a hardcore donator, type 8 in the rank level.
//
////////////////////////////////
// Examples: (do not put // in front of real lines, as // means 'comment')
//
// "STEAM_0:1:1634871" "1"
// "STEAM_0:0:0512161" "2"
// "STEAM_0:0:1451571" "8"
//
//////////////////////////////In the near future I'll add MySQL support.
Cvars
- sm_donator_gravity - Sets whether gravity boost is enabled for donators.
- sm_donator_health - Sets whether health boost is enabled for donators.
- sm_donator_glow -Sets whether glow is enabled for donators.
- sm_donator_armor - Sets whether armor boost is enabled for donators.
- sm_donator_speed - Sets whether speed boost is enabled for donators.
1.0.1 (31 January 2012)
- Changed armor default value to be the HP value.
- Initial Release
The plugin and the config files, as well as the full source code are available on the following zip file:
http://dl.dropbox.co...nator-1.0.1.zip
Wyświetl pełny artykuł