Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| GiftOfTheDay release | 12.61 KB | Oct 30, 2011 | CB 1337 | 1,389 | Download |
| V 1.0 release | 12.57 KB | Sep 11, 2011 | CB 1060 | 791 | Download |
| r31 beta | 4.29 KB | Oct 30, 2011 | CB 1337 | 290 | Download |
| V0.4b beta | 12.14 KB | Sep 9, 2011 | CB 1060 | 342 | Download |
| v0.3b [CB1060] beta | 10.40 KB | Aug 29, 2011 | - | 229 | Download |
| v0.21b [CB1060] beta | 10.48 KB | Aug 28, 2011 | - | 284 | Download |
| v0.2b [CB1060] beta | 10.47 KB | Aug 28, 2011 | - | 160 | Download |
| v0.1 [CB1060] beta | 9.93 KB | Aug 27, 2011 | - | 188 | Download |
| r30 alpha | 4.24 KB | Sep 11, 2011 | CB 1060 | 222 | Download |
| r29 alpha | 4.16 KB | Sep 9, 2011 | CB 1060 | 96 | Download |
| r28 alpha | 5.58 KB | Sep 9, 2011 | CB 1060 | 97 | Download |
| r27 alpha | 5.19 KB | Sep 4, 2011 | CB 1060 | 98 | Download |
Description
Summary
This plugin allows players to receive a "semi-random" reward on first login of the day.
Items, stack and rate can be changed simply by editing the gifts.yml located in plugin/GiftOfTheDay.
Originally developped in order to rewards players of my server (for being so great ! :D), I decided to share it with the minecraft community :).
gift.yml structure
- Gifts:
- 'rollChance':
- 'item id':
- amount: How many items you want to give
- distribution: Either 'linear' or 'exponential' or 'normal'. Everything else will be considered as 'linear'
You can have a full example here
About distribution methods
- linear: Regular distribution. You have as many chances to get the object as the amount you specified
- normal: "Gaussian" distribution. Most of the time, you'll receive an amount close to the one you specified. But from time to time you might receive a very different quantity.
- exponential: You receive at least the specified amount. You can also receive more.
- invertexponential: Very often, you'll receive the specified amount. You can also receive more but chance decrease.
Permissions
- gotd.admin: Allow to use both resegift and regift command
- gotd.receive: Allow to receive the gift (doesn't work for the moment)
Commands
- /regift <player>: Give another gift to specified player
- /resegift <player>: Reset the last gift date for specified player
Planned features
- None for the moments
Known issues
- Exponential distribution can be improved in my opinion.
Get 0.05 TON 💎
Download

Add a comment