CarePack
CarePack
by Skyfmmf
Latest stable version: v1.2.1
Features
This plugin allows the users of your server to get some items which can save save their lives.
These items, called "Care-Pack", can only be get if it's night, the players health is low or the player has hunger. Additionaly there is the permission "CarePack.ever". A player with this permission (default: op) can get the Care-Pack at all time without having to fulfil the conditions.
The Care-Pack includes:
- 1 stonesword
- 10 wood
- 4 torches
- 1 bed
- 2 bread
- 1 beef
Commands
- /care-pack - Gives you the Care-Pack
- /carepack - Does the same as "/care-pack"
Permissions
- CarePack.ever - Allows the user to use "/care-pack" at all time
Configuration
Since the version v1.2 it's possible to configure the plugin
The default config.yml looks like this:
#max health that allows to get a Care-Pack health: 6 #max food level that allows to get a Care-Pack food: 6 #the definition of "night" night-starts: 22000 night-ends: 7000 #number of different items a player will get number-of-items: 6 #specification of the items items: item1: MaterialID: 272 MaterialData: 0 amount: 1 item2: MaterialID: 17 MaterialData: 0 amount: 10 item3: MaterialID: 50 MaterialData: 0 amount: 4 item4: MaterialID: 355 MaterialData: 0 amount: 1 item5: MaterialID: 297 MaterialData: 0 amount: 2 item6: MaterialID: 364 MaterialData: 0 amount: 1
I think you know what the lines are doing, but if not, please write a comment, ticket or PM.
So now: Download and HAVE FUN!
Additional Info
Sources
The sources of this plugin are available on Github.
Beta-Versions
The latest version is a release!
The links in the text above are all pointing to the last stable (release) version. If you want to help me finishing these versions so that the features of the beta-version are included in the next release, please test the latest version, which you can download here!
The infos like commands, permissions and configuration for for the latest beta-version you can find here!
Comments