Installation
Download the attached zip file and extract it into your server's base directory (the same directory where you extracted Source.Python and GunGame).
Configuration
Once you have installed GG-BuyLevel, GunGame must be loaded (reloaded) on your server to create the configuration file. The file should be located at ../cfg/source-python/gungame/custom_plugins/gg_buy_level.cfg. Edit the file to your liking. The default cfg file currently looks like this:
Code: Select all
// Default Value: 2000
// The starting amount for purchasing levels (to purchase level 2).
gg_buy_level_start_amount 2000
// Default Value: 200
// The amount to increase the cost for each level.
gg_buy_level_level_increase 200
// Default Value: 800
// Amount to give players for killing other players.
gg_buy_level_kill_reward 800
// Default Value: 800
// Amount to give players for leveling up.
gg_buy_level_level_reward 800
// Default Value: 0
// Enable/Disable purchasing a level to skip a nade level.
gg_buy_level_skip_nade 0
// Default Value: 0
// Enable/Disable purchasing a level to skip a knife level.
gg_buy_level_skip_knife 0
// Default Value: 0
// Enable/Disable allowing winning from buying a level.
gg_buy_level_allow_win 0
Once you have it configured, add gg plugin load buy_level to one of the configuration files you use on your server and restart the server.
Help wanted/needed
There are translations for GG-BuyLevel. Currently only English is supported. If you know more than one language, please assist me by posting a pull request to update the translations.
If you find a bug or enhancement, please submit an issue on the issue tracker or a pull request. The repository can be found here:
https://github.com/satoon101/GunGame-BuyLevel
Current version download
Older versions