RandomBox

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.


RandomBox

Adds the MysteryBoxes from Call of Duty to your Server!

Define items to be in a box. Then the items will shuffle and the user gets a random one.

(See pictures below for better understanding)

Idea from: shaqniak


Features:

  • RandomBoxes from CoD on your Server
  • Gives a player a random item from a list you defined
  • Works with enchantments, item stacks, custom names and lores
  • Payment via items or your economy system (e.g. iConomy, EssentialsEco, ...)
  • Requires VAULT, if you use a non item economy system, to work!

Screenshots:

Items shuffeling on the RandomBox

Video

Had to change the name from MysteryBox to RandomBox, so don't wonder.

Installation:

  1. Place RandomBox.jar in your plugins folder
  2. Restart the server
  3. Open the config.yml in the RandomBox folder
  4. Modify the base block, costs and shuffled items
  5. (Modify the chat messages)
  6. Restart your Server!

Config:

Should be self-explanatory.

# ID of the RandomBox base block:
base_id: 33

# Money a player has to pay to use a MysterBox:
price_for_usage: 50

# Amount of items to shuffle on the RandomBox:
shuffles: 6

# [...] Message configuration [...]

Commands:

/randombox create

Makes the block you're looking at to a RandomBox (must have the ID you defined in the config)

Alias: /rb create

/randombox reload

Reloads the config.

Alias: /rb reload

/randombox additem

Adds the item in your hand to the items in RandomBoxes

Alias: /mbi add

Permissions:

randombox.create

Allows a player to create a RandomBox.

randombox.destroy

Allows a player to destroy a RandomBox.

randombox.reload

Allows a player to reload the config file.

randombox.use

Allows a player to use a RandomBox.

randombox.additem

Allows a player to add items to all RandomBoxes.

How to use:

  1. Open the config.yml and change settings to your needs.
  2. Place the block you defined as the RandomBox base block in the config.
  3. Run /randombox create or alias: /rb create
  4. Add the items in RandomBoxes by taking the item in your hand (can be enchanted or a stack) and running: /randombox additem or the alias: /rb additem
  5. If you right click the block now you should be withdrawn the price you defined in the config. Items start shuffeling then as often as you defined in the config and the last item added to your inventory.

Planned features:

=Implemented in next version

  • Allow to use items as payment
  • Support for custom item lores and names
  • Changeable prefix and colours in messages

Any more suggestions, feel free to post a comment!


Donate Button
You like my work? I'd really appreciate a donation to buy some coke ;D


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files