Presents is a plugin to place chests, that players can open and get random items:
To place a chest type "/placechest", it will be facing to your side.
To place or remove a chest player must have a permission "presents".
Plugin has three configuration files: config.yml, weights.yml and messages.yml.
For now, here's only two options:Code:#Cooldown feature doesn't let player open a chest more than once in cooldown-time seconds cooldown: true cooldown-time: 300
cooldown: enables or diables cooldown feature
cooldown-time: cooldown time in secondsHere you can add items for chests. Item IDs must be surrounded with quotes.Code:#Here you can write down the weights for items (IDs) #The item with higher weight has more chance to be randomly chosen #min and max specify how much of the item player can get (chosen randomly) "357": weight: 20 min: 8 max: 16 "354": weight: 15 min: 1 max: 1
weight: item weight, higher weight - higher chance that player gets it
min: minimal amount of an item that player can get
max: maximum amountThe file messages.yml specifies messages that are used by plugin. You can translate them or change formatting.