Crate-Rewards

11.6k Downloads

Heading

Crate-Rewards

Got a request for creating a plugin that would reward players for voting/donating to peoples servers. So I made this, decided to make it public for those who would like to try.

Basically what this plugin does, after a player votes or donates, using another plugin e.g. Buycraft or Votifier, you can send out a command to reward that player. In this case you could do /Crate Give <Player> <Amount> as a reward. Now in the crates plugin a player can have "Crates" which is really just like a "Currency". If a player has Crates then they can type /Crate Open and claim a prize. Prizes can be justified within the config.yml. You can set what players can win in the prizelist.txt (Color Code Supported). To view what you can win, ingame type /Crate Rewards.

Rewards will be give out as commands randomly. Example, in the config.yml you'll see "rewards" and then a list. To make one simply put 'and then command here' e.g. 'give %player% 264 3' gives a player 3 diamonds for opening the crate.

There is also an option to give a player crates after killing another player. This is configurable in the config.yml along with how many crates per-kill they should get.

Installation:

  • - Download this plugin.
  • - Drag and drop it into your plugins folder.
  • - Restart your server.
  • - You can edit the config to your likings.

Commands:

  • - /Crate Give <Player> <Amount> - Give a player crates.
  • - /Crate List - List how many crates you have.
  • - /Crate Open - Open your crate(s) and claim a prize!
  • - /Crate Rewards - View a list of rewards.
  • - /Crate See <Player> - Check stats of a specific player.
  • - /Crate Set <Player> <Amount> - Set a player's crates.

Permissions:

  • - crates.give - Allow use of the /Crate Give Command.
  • - crates.see - Allow use of the /Crate See Command.
  • - crates.set - Allow use of the /Crate Set Command.