ExpBreakBlock [1.8 -> 1.16.5] Break any blocks you will be get exp icon

ExpBreakBlock [1.8 -> 1.16.5] Break any blocks you will be get exp -----

Give more exp for player when they break block




- Add play sound when the player break block (Remember the sound must be support in your server else that sound will be invalid)
- Add effect when the player break block (the effect default ExpBottleBroken, if you want to custom, please wait the next update!)

(!) Config has changed, add some new, please add all the line in your config.yml plugin!

Code (Text):
#Allow spawn effect exp bottle when player break the block that the block has supported give exp?
#True: this plugin will be spawn the exp bottle broken when they break block
#False: Don't spawn exp bottle broken. (Set false if you want to make your server will be smooth and improve performance both your server and player)
allow-effect-exp-bottle-broken: true

#Sound effect for player who was break the block success:
#Allow play sound for player?
#True: this plugin will be play sound for that player if they had broken block!
#False: this plugin won't play sound. (set false if you want to make your server will be smooth and improve performace both your server and player)
allow-play-sound: true
sound-name: "CLICK"
(!) Lost config.yml file? Copy this, it's default config.yml:

Code (Text):
#Prefix plugin:
prefix-plugin: "&7[&eExpBreakBlock&7]"

#If the command is not exist, send them a message:
command-not-exist: "&eThe command is not exist, please use /ebb help"

#When the server change about allow give exp player, send a message for the person who is trying change:
change-allow-give-exp: "&aNow, About give exp for player is"

#When the server change about allow notice for player break block give exp, send a message:
change-notice-get-exp: "&aThe message notice about got how much exp is"

#If sender is not a player, send them a message:
not-player: "&4You're not a player!"

#The sender can't execute without permission:
no-permission: "&4You don't have permission to do that"

#Send a message for player to they know how much exp they got:
notice-message: "&2You got"

#When you change edit in gui, send message:
change-edit-in-gui: "&aNow, it has changed to"

#If the config was broken, the plugin will be send you a message:
config-broken-message: "&4Check all blocks in your config.yml file. There are something wrong from that!"

#Success change block message:
change-message: "&aSuccess change edit blocks!"

#Fail to change value exp for block because the value that player set is not a number maybe a string, a char,...!
change-value-exp-fail: "&4Fail to change value exp! Make sure the input value exp is number"

#Reload config.yml file
reload-config: "&aReloaded file"

#Allow give exp for player when they break the block:
#If you want to allow give exp: true
#Stop give exp: false
allow-give-exp: true

#Turn on/off the notice about player get how much exp?
notice-status: true

#Allow spawn effect exp bottle when player break the block that the block has supported give exp?
#True: this plugin will be spawn the exp bottle broken when they break block
#False: Don't spawn exp bottle broken. (Set false if you want to make your server will be smooth and improve performance both your server and player)
allow-effect-exp-bottle-broken: true

#Sound effect for player who was break the block success:
#Allow play sound for player?
#True: this plugin will be play sound for that player if they had broken block!
#False: this plugin won't play sound. (set false if you want to make your server will be smooth and improve performace both your server and player)
allow-play-sound: true
sound-name: "CLICK"

#If you want to change the exp for one block, add the block like example:
#Example:
#Blocks:
#   COAL_ORE:
#      default:  
#         allow: true  
#         exp-value: 2
#      min: 2    
#      max: 10  
#
#The value max should be smaller min if not it will be not working!
#This is sytanx, if you want:
#Blocks:
#   <name_block>:          (<-- this is a name block, the name block should be upcase if not it will be not working!)
#      default:               (<-- default, must be have because we have a method about default exp value not only max and min)
#         allow: <true/false>            (<-- Set "true", the value exp this block will be give for player with value-exp default)
#         exp-value: <number integer>      (<-- Set a value for exp this block, the player will be get exp default from this)
#         no-drop: <true/false>         (<-- This option talking about add item in player's inventory but it's not drop, true will be not drop else false is drop. If you don't create this line, default is will drop)
#      min: <number integer>      (<-- If you want to drop exp random from [min, max], (min and max maybe drop) please set a value min)
#      max: <number integer>      (<-- The value exp maximum that the plugin can drop, the value maximum should be smaller min)
#
#
#Remeber this plugin is support multiple version, make sure the blocks that you add it in this config.yml file is supported for your server, if not your server maybe crash!
#The value exp should be greater or equals by 1 not smaller if not it's maybe not working. Don't want that block drop exp, you should remove that block is better than set value.
Blocks:
   STONE:
      default:
         allow: false
         exp-value: 30
         no-drops: true
      min: 5
      max: 10
   GRASS:
      default:
         allow: true
         exp-value: 20
         no-drops: false
      min: 1
      max: 10
----------, Oct 18, 2021

- Fix the error about this plugin can't running from v1.9 -> 1.16.5 (this is a mistake from me, sorry)
----------, Oct 9, 2021

- Remove some bugs about running plugin.
- Remove check update. Sorry :(
----------, Oct 6, 2021

- New feature in default's part. You can see tutorial in my config.yml.
- Add "stop drop the item when the player break block". (it's only working if you setting that block give exp).

An example:
Code (Text):
#The value max should be smaller min if not it will be not working!
#This is sytanx, if you want:
#Blocks:
#   <name_block>:          (<-- this is a name block, the name block should be upcase if not it will be not working!)
#      default:               (<-- default, must be have because we have a method about default exp value not only max and min)
#         allow: <true/false>            (<-- Set "true", the value exp this block will be give for player with value-exp default)
#         exp-value: <number integer>      (<-- Set a value for exp this block, the player will be get exp default from this)
#         no-drop: <true/false>         (<-- This option talking about add item in player's inventory but it's not drop, true will be not drop else false is drop. If you don't create this line, default is will drop)
#      min: <number integer>      (<-- If you want to drop exp random from [min, max], (min and max maybe drop) please set a value min)
#      max: <number integer>      (<-- The value exp maximum that the plugin can drop, the value maximum should be smaller min)
#
#
#Remeber this plugin is support multiple version, make sure the blocks that you add it in this config.yml file is supported for your server, if not your server maybe crash!
#The value exp should be greater or equals by 1 not smaller if not it's maybe not working. Don't want that block drop exp, you should remove that block is better than set value.
Blocks:
   STONE:
      default:
         allow: "false"
         exp-value: 30
         no-drops: true
      min: 5
      max: 10
   GRASS:
      default:
         allow: "true"
         exp-value: 20
         no-drops: false
      min: 1
      max: 10
----------, Oct 6, 2021

- Add more message in config.yml. Copy them and paste in your config.yml (For someone using the previous version) (v2.0)
- Add more command:

Code (Text):
/ebb set <name_block> default <allow/exp-value> <value>: Editing the block default
/ebb set <name_block> <max/min> <value>: Changing about value the max or min value exp
(!) Copy the new message in config.yml:

Code (Text):
#If the config was broken, the plugin will be send you a message:
config-broken-message: "&4Check all blocks in your config.yml file. There are something wrong from that!"

#Success change block message:
change-message: "&aSuccess change edit blocks!"

#Fail to change value exp for block because the value that player set is not a number maybe a string, a char,...!
change-value-exp-fail: "&4Fail to change value exp! Make sure the input value exp is number"
----------, Oct 5, 2021

Before you read this post update, i want to say apologize for everyone who was using the old verion because it's time i change one more time about config.yml. Please forgive me, thank you! :giggle: :giggle:

- Add the random drop exp, default exp.
- Add more message in config.yml.
- Config has changed!.

(!) This update has changed the config.yml file. Please use the new file config.yml, copy this:

Code (Text):
#Prefix plugin:
prefix-plugin: "&7[&eExpBreakBlock&7]"

#If the command is not exist, send them a message:
command-not-exist: "&eThe command is not exist, please use /ebb help"

#When the server change about allow give exp player, send a message for the person who is trying change:
change-allow-give-exp: "&aNow, About give exp for player is"

#When the server change about allow notice for player break block give exp, send a message:
change-notice-get-exp: "&aThe message notice about got how much exp is"

#Reload config.yml file
reload-config: "&aReloaded file"

#The sender can't execute without permission:
no-permission: "&4You don't have permission to do that"

#Allow give exp for player when they break the block:
#If you want to allow give exp: true
#Stop give exp: false
allow-give-exp: true

#Turn on/off the notice about player get how much exp?
notice-status: true

notice-message: "&2You got"

#If the config was broken, the plugin will be send you a message:
config-broken-message: "&4Check all blocks in your config.yml file. There are something wrong from that!"

#If you want to change the exp for one block, add the block like example:
#Example:
#Blocks:
#   COAL_ORE:  (<-- this is a name block, the name block should be upcase if not it will be not working!)
#      default:   (<-- default, must be have because we have a method about default exp value not only max and min)
#         allow: true   (<-- Set "true", the value exp this block will be give for player with value-exp default)
#         exp-value: 2  (<-- Set a value for exp this block, the player will be get exp default from this)
#      min: 2     (<-- If you want to drop exp random from [min, max], (min and max maybe drop) please set a value min)
#      max: 10    (<-- The value exp maximum that the plugin can drop, the value maximum should be smaller min)
#
#The value max should be smaller min if not it will be not working!
#This is sytanx, if you want:
#Blocks:
#   <name_block>:
#      default:
#         allow: <true/false>
#         exp-value: <number integer>
#      min: <number integer>
#      max: <number integer>
#
#
#Remeber this plugin is support multiple version, make sure the blocks that you add it in this config.yml file is supported for your server, if not your server maybe crash!
#The value exp should be greater or equals by 1 not smaller if not it's maybe not working. Don't want that block drop exp, you should remove that block is better than set value.
Blocks:
   STONE:
      default:
         allow: false
         exp-value: 30
      min: 5
      max: 10
   GRASS:
      default:
         allow: true
         exp-value: 20
      min: 1
      max: 10
 

 
- If you are from the previuos version (v1.2). Please add more this line:

Code (Text):
#If the config was broken, the plugin will be send you a message:
config-broken-message: "&4Check all blocks in your config.yml file. There are something wrong from that!"
- Read carefully about add blocks in config.yml.
- Vote 5 stars my plugins. Thank you!
----------, Oct 5, 2021

- Change config.yml, add the block to get exp will be different for old version.
- Add the notice about notice for player how much exp they got when they break the block!

(!) Config.yml has changed, please copy the new config.yml below. You can add more information about my config.yml. But i only send below this look like a default config.yml file.

Config.yml
Code (Text):

#Prefix plugin:
prefix-plugin: "&7[&eExpBreakBlock&7]"

#If the command is not exist, send them a message:
command-not-exist: "&eThe command is not exist, please use /ebb help"

#When the server change about allow give exp player, send a message for the person who is trying change:
change-allow-give-exp: "&aNow, About give exp for player is"

#When the server change about allow notice for player break block give exp, send a message:
change-notice-get-exp: "&aThe message notice about got how much exp is"

#Reload config.yml file
reload-config: "&aReloaded file"

#The sender can't execute without permission:
no-permission: "&4You don't have permission to do that"

#Allow give exp for player when they break the block:
#If you want to allow give exp: true
#Stop give exp: false
allow-give-exp: true

#Turn on/off the notice about player get how much exp?
notice-status: true

notice-message: "&2You got"

#If you want to change the exp for one block, add the block like example:
#Example:
#Blocks:
#   - WOOD: 20
#   - DIAMOND_ORE: 30
#   - <name_block>: <value_exp>
#
#
#Remeber this plugin is support multiple version, make sure the blocks that you add it in this config.yml file is supported for your server, if not your server maybe crash!
#The value exp should be greater or equals by 1 not smaller if not it's maybe not working. Don't want that block drop exp, you should remove that block is better than set value.
Blocks:
   STONE: 5
   GRASS: 100
 

 
----------, Oct 4, 2021

- Fix the mistake about "allow get exp", because when you set false, the player still get exp.
- Add permission to player can't access the admin's command.

(!) Config.yml has changed one things!:
If you still use the version v1.0 please add this line in your config.yml:

Code (Text):
#The sender can't execute without permission:
no-permission: "&4You don't have permission to do that"
----------, Oct 3, 2021

Resource Information
Author:
----------
Total Downloads: 1,211
First Release: Oct 3, 2021
Last Update: Oct 18, 2021
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings