Bonus Blocks [1.12 - 1.16+] 50% SALE ! v1.2

Get the chance to break a Bonus Block which gives you rewards!
Omidius presents...
Bonus Blocks
-=-=-=-=-=--=-=-=-=-=-
This is a lightweight plugin designed to allow players with
the permission node, "bonusblocks.use" to be able to get
the chance to earn rewards each time they break a type
of block set from a list in the config!



Installation
To install this plugin, put the BonusBlocks.jar into your
plugins folder, restart your server, dive straight into the
config. and change up the options to whatever you like!
(See the full config. file at the bottom of the page!)


Commands & Permissions
/bonusblocks or /bb - The main command for the plugin.
- bonusblocks.* (to be able to use all of the plugin's commands & abilities!)


- bonusblocks.use (to be able to use the pickpocket mechanic on other players.)

/bonusblocks add <block> - Adds a block to the Bonus Blocks list.
- bonusblocks.add (to be able to use the add command.)

/bonusblocks remove <block> - Removes a block from the Bonus Blocks list.
- bonusblocks.remove (to be able to use the remove command.)

/bonusblocks help - Shows the help page for you to view.
- bonusblocks.help (to be able to the help command.)


/bonusblocks reload - Reloads the plugin's config files.
- bonusblocks.reload (to be able to the reload command.)


Screenshots & Media
Wlsufdx.png
t2Y7B4I.png

-=-=-=-=-=--=-=-=-=-=-

Full Config. File
Code:
#
#----------------------######################---------------------------
#                            BonusBlocks v1.0 by Omidius
#----------------------######################---------------------------
#
# This is a lightweight plugin designed to allow players with the permission node, "bonusblocks.use"
# to be able to get the chance to earn rewards each time they break a type of block set from the
# list below! Below is all the information you will need to ge this plugin up & running smoothly!
#
#--------------------------------------------------------------------------------------------------
# IMPORTANT INFO:
#        The 'blocks.yml' file allows you to set what actual blocks in-game will
#        be Bonus Blocks! You can add as many blocks to this list as you like using
#        commands, just make sure toget the block names & spelling all correct!
#--------------------------------------------------------------------------------------------------
# COMMANDS:
#        /bonusblocks or /bb - The general command for the BonusBlocks plugin.
#        /bonusblocks add <block> - Adds a block type to the 'blocks.yml' list.
#        /bonusblocks remove <block> - Removes a block type from the 'blocks.yml' list.
#        /bonusblocks setchance <chance> - Sets the chance of finding a Bonus Block.
#        /bonusblocks dropamount <amount> - Sets item drop amount for a Bonus Block.
#        /bonusblocks help - Shows the help page for the BonusBlocks plugin.
#        /bonusblocks reload - Reloads the config.yml file for BonusBlocks.
#--------------------------------------------------------------------------------------------------
# PERMISSIONS:
#         - bonusblocks.* (to be able to use all of the BonusBlocks commands & abilities!)
#         - bonusblocks.use (to be able to break an ore and find a Bonus Block!)
#         - bonusblocks.add (to be able to use the add block command.)
#         - bonusblocks.remove (to be able to use the remove block command.)
#         - bonusblocks.setchance (to be able to use the setchance command.)
#         - bonusblocks.dropamount (to be able to use the dropamount command.)
#         - bonusblocks.help (to be able to use the help command.)
#         - bonusblocks.reload (to be able to use the reload command.)
#--------------------------------------------------------------------------------------------------
Options:
#--------------------------------------------------------------------------------------------------
#The prefix will only be shown to the user who runs the commands. To have no preifx just set it as ''.
  prefix: '&3Bonus&bBlocks &7&l»&r '
 
#This allows you to completely enable or disable Bonus Blocks (enabled = true, disabled = false).
  bonus-blocks-enabled: true

#This allows you to change the percentage (out of 100) that a block you break (from
#the list below) will be a Bonus Block and give you the rewards set in this config!
  bonus-block-chance: 3

#This allows you to change the message that shows when you run the setchance command.
  set-chance-message: "&aYou have set the bonus block chance to: &f&l<chance>&a!"

#This allows you to change the item drop amount for the Bonus Block! Every 1/2 a second
#it will spawn another item on the goround for the amount of times you set below here.
  item-drop-amount: 5

#This allows you to change the message that shows when you run the dropamount command.
  set-drop-amount-message: "&aYou have set the item drop amount to: &f&l<amount>&a!"

#This allows you to change whether or not a command will be run when a player breaks a Bonus Block.
  command-enabled: true

#This allows you to change the command that will run whenever a player breaks a Bonus Block.
#The command will be ran from the comsole so use <player> to get the player in the event.
  bonus-block-command: "eco give <player> 100"

#This allows you to change whether or not a message will show to the player when they break a Bonus Block.
  message-enabled: true

#This allows you to change the message that shows when you break a Bonus Block in-game.
  bonus-block-message: "&aThe &f<block> &aturns out to be a Bonus Block!"

#This allows you to change the message that shows when you use the add block command.
  add-block-message: "&aYou have added &f<block> &ato the Bonus Blocks list!"

#This allows you to change the message that shows when you use the remove block command.
  remove-block-message: "&aYou have removed &f<block> &afrom the Bonus Blocks list!"

#This allows you to change the message that shows when you perform the reload command.
  reload-message: "&aSuccessfully reloaded the &3Bonus&bBlocks &aconfig. files!"
 
#This allows you to change the message that shows when a player doesn't have the right permissions.
  no-permissions-message: "&cSorry, &7you don't have the permissions to do this."
#--------------------------------------------------------------------------------------------------
Enabled-Worlds:
#--------------------------------------------------------------------------------------------------
#This allows you to select what worlds the plugin will work in (You can add as many as you want).
#Make sure that all of your worlds are spelled correctly, with the right capital letters as well!
- world
- world_nether
- world_the_end
#--------------------------------------------------------------------------------------------------
#
# If you have any problems, issues or even suggestions then please contact the plugin's
# developer on either their SpigotMc or MC-Market page and send them a private message!
#
#----------------------######################---------------------------
#                    Thank you so much for downloading !
#----------------------######################---------------------------
#

Latest updates

  1. Update 1.2 (List Command!

    - added a “/bonusblocks list” command that shows the player the full list of current Bonus...
  2. Update 1.1 (Big Changes!)

    - changed the code for the when the player breaks a Bonus Block, it now only drops the amount of...
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.