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!
- 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!