Home›Java›Mods›HoloCrates
HoloCrates
ModsJava

HoloCrates

Java mod listed for Minecraft 1.9–1.11. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
So i made this plugin a while ago, but actually have never even used it anywhere, so I decided to put it on spigot maybe someone will find a use for this.

This crate plugin is specifically designed to reward players with items, but it also supports everything else.

You can look at some gifs HERE ​

Features:
Commands:
Permission:
Requirements:
How to create a crate:
  1. Firstly create a straight line of 5 blocks.
  2. Write /holocrates create <name>, this will generate a new file inside a crate folder where you can edit it.
  3. Go the middle block and look at the direction so that the line of those blocks is perpendicular to ur sight line, write /holocrates set <name> it will put a crate to the location where u stand.


Config explained:
Spoiler: Config
Code (Text):
#Plugin: HoloCrates
#Author: Qifi (elving21)
#The variables which start and end with '%' you can either move them around or comepletely remove from the message
lang:
  prefix: '&f[&aHoloCrates&f] '
  reload: '&fPlugin has been reloaded.'
  nomoney: 'You dont have required amount of money to open &c%crate% &fCrate. &a(%money% Coins)'
  onopen: 'Roll for crate &c%crate% &fhas started. &c(-%money% Coins)'
  noperm: 'You dont have permission required to open &c%crate% &fCrate. &c(%perm%)'
  bookgive: 'You have been given a book with information about all items in crate &c%crate%.'
  menu:
    row1: '     &f&l>>> [ &aHoloCrates &f&l] <<<'
    row2: '&c/holocrates create <cratename>&f - Creates new crate'
    row3: '&c/holocrates set <cratename>&f - Sets the location of the crate'
    row7: '&c/holocrates list &f- Lists crates'
    row4: '&c/holocrates enable <cratename>&f - Enables crate'
    row5: '&c/holocrates disable <cratename>&f - Disables crate'
    row8: '&c/holocrates book <crate> <player>&f - Gives a book to a player'
    row9: '&c/holocrates getitem <crate> <item>&f - Gets an item from a crate'
    row10: '&c/holocrates listitems <crate>&f - Lists all items names in a crate'
    row6: '&c/holocrates reload&f - Reload Config'
settings:
  #You can create two signs for each crate, sign to start a crate and sign to give a book which contains all items you are able to get from the crate
  #Sign should look like this:
  #[Holocrates]
  #<nameofthecrate>
  #Start or Items
  signs:
    #The very top line that sign need to have
    topline: '&a[HoloCrates]'
    #a line for sign that starts the crate
    startline: 'Start'
    #a line for sign that gives a book
    getbook: 'Items'
  book:
    bookname: '&f&lCrate: %cratename%'
    author: 'Server'
crates:
- ExampleCrate
- onemore

Example crate:
Spoiler: Example crate
Code (Text):
#EXAMPLE CRATE
settings:
  #Permission for crate
  permissions:
    use: true
    perm: 'crate.user.examplecrate'
  #How much will it cost to open a crate?
  cost: 3000
  #Visible display name showed in messages.
  cratename: '&cExampleCrate'
  #If you set this to true, only middle item name will be shown while rolling
  show_only_middle_item_name: true
#Here you specify all rewards each new reward should have new number
actions:
  '1':
    #chance of the reward
    #this doesnt directly mean 50%! the chance is calculated by combining all chances from the crate and then deviding this value by it.
    #this means chance of getting reward 1. is = 50/(50+20+10+20)
    chance: 50
    #Each reward NEEDS to have an indicator item (an item that is being shown while rool is happening), you will need to create  an indicator items under the 'items:' for each of them
    indicatoritem: item1
    #When roll is done, player is able to pick up an idicator item, but if you dont want to give him that item, set this to true, and he will just recieve all other rewards
    remove_indicatoritem: false
    #Here you can specify any additional items player will get, tho all items listed here should be created under 'items:'
    additionalitems:
    - item1
    - axeofSomething
    #You can specify which commands will be executed when player recieves this reward, you can use %player% placeholder which indicates player name
    commands:
      cmd1: 'give %player% 2 1'
      cmd1: 'money give %player% 300'
    #You can send some messages to the player
    messages:
      message1: '%prefix%You have been given &a2x grass, &c%player%!'
      message2: '%prefix%+300 Coins'
    #If you dont want any broadcast just remove it completely
    broadcast: '%prefix%&c%player% &fhas won an &c%itemname%!'
    #action bar message
    actionbar: '&aActionBar Message'
  '2':
    chance: 20
    indicatoritem: axeofSomething
    remove_indicatoritem: false
    additionalitems:
    commands:
      cmd1: 'give %player% 1 1'
      cmd2: 'give %player% 276 1'
    messages:
      message1: 'Congratulations! Take your loot!'
      message2: 'Chat message without prefix '
    broadcast: '&f[&aCustom Prefix&f] %player% won!'
    actionbar: '&aActionBar Message'
  '3':
    chance: 10
    indicatoritem: apple
    remove_indicatoritem: false
    additionalitems:
    - someitem1
    commands:
      cmd1: 'give %player% 322 1'
      cmd2: 'give %player% 322 1'
    messages:
      message1: '%prefix%You have won a &7Golden Apple!'
      message2: 'msg2'
      message3: 'msg3'
    broadcast: '%prefix%&c%player% &fhas won an &c%itemname%!'
    actionbar: '&aActionBar Message'
  '4':
    chance: 20
    indicatoritem: moneyitem
    remove_indicatoritem: true
    commands:
      cmd1: 'money give %player% 2000'
    messages:
      message1: '%prefix%You have won a &a2000$!'
    broadcast: '%prefix%&c%player% &fhas won &a2000$&f!'
    actionbar: '&aEz skrilla.'

#Here you create all items for this specific crate
items:
  #item name indicator
  item1:
    #Items id
    Itemid: 276
    #Data
    Data: 0
    #amount
    Amount: 1
    #You can set a displayname
    Displayname: '&8Sword of Darkness'
    #You can set any lore
    Lore:
    - ''
    - '&fDamage: &a+112.2'
    - '&fSpeed: &a+7.8%'
    - '&fLife Steal: &a+32.2%'
    #and you can set any enchantments
    Enchantments:
    - DAMAGE_ALL:40
  axeofSomething:
    Itemid: 279
    Data: 0
    Amount: 1
    Displayname: '&aAxe of Something'
    Lore:
    - ''
    - '&fDamage: &a+112.2'
    - '&fSpeed: &a+7.8%'
    - '&fLife Steal: &a+32.2%'
    Enchantments:
    - DAMAGE_ALL:40
  apple:
    Itemid: 322
    Data: 1
    Amount: 5
    Displayname: '&eApple'
  someitem1:
    Itemid: 276
    Data: 0
    Amount: 1
    Displayname: 'Diamond Sword'
  moneyitem:
    Itemid: 388
    Data: 0
    Amount: 1
    Displayname: '&a2000$'

You can look at some gifs HERE ​

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

HoloCrates is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11. Downloaded 369 times (via Spigot). Download it and open it directly in the game.

Explore more