Beta-Version
CarePack Beta
by Skyfmmf
Latest beta version: b1.1
The latest version is a release!
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
Permissions
CarePack.ever - Allows the user to use "/care-pack" at all time
Configuration
In this beta 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 diefinition 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.
Comments