GG-BuyLevel v1.2.0

Release your plugins here!
User avatar
satoon101
Project Leader
Posts: 2533
Joined: Sat Jul 07, 2012 1:59 am

GG-BuyLevel v1.2.0

Postby satoon101 » Sat Oct 21, 2017 7:07 pm

GG-BuyLevel is a sub-plugin for GunGame that allows players to purchase their next level instead of having to get a kill.

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
gg_buy_level - v1.2.0.zip
(8.87 KiB) Downloaded 15 times



Older versions
gg_buy_level - v1.1.0.zip
(8.71 KiB) Downloaded 12 times

gg_buy_level - v1.0.0.zip
(8.69 KiB) Downloaded 23 times
Image
User avatar
satoon101
Project Leader
Posts: 2533
Joined: Sat Jul 07, 2012 1:59 am

Re: GG-BuyLevel v1.1.0

Postby satoon101 » Sun Feb 04, 2018 2:32 am

GunGame BuyLevel Update!
Version: 1.1.0
Version Notes:
  • Fixed OverflowError when setting cash value too high.
  • Fixed conditional for sending 'earned' message.
Image
User avatar
satoon101
Project Leader
Posts: 2533
Joined: Sat Jul 07, 2012 1:59 am

Re: GG-BuyLevel v1.2.0

Postby satoon101 » Mon Feb 05, 2018 12:56 am

GunGame BuyLevel Update!
Version: 1.2.0
Version Notes:
  • Fixed buy cost with level increase.
  • Fixed player_cash dictionary value not being updated when players purchase levels.
  • Fixed player_cash dictionary not being cleared on map change.
Image

Return to “Plugin Releases”

Who is online

Users browsing this forum: No registered users and 3 guests