- 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