Wiki
uBlock Wiki
How-to config.yml
Default config.yml: http://dev.bukkit.org/paste/4069/ or DOWNLOAD
So this might look complicated to some but its actually not, lets go through it little by little.
PROTECTIONS
- boolean = true or false
- true the statement will activate
- false the statement will not be active
- If true then enderman cant pickup or place blocks Enderman_Nerf: boolean
- If true TNT and creepers wont explode Nerf_TNT: boolean
- If true fire cant spread or start Anti-Firespread: boolean
BLOCKS
This is where all the fun starts :D
- This is where you define the items or blocks you want to block from being used!
- The names must be the programmatical names meaning all caps no spaces Blocked_Blocks: - TNT - BEDROCK - MOB_SPAWNER
- Ect...
- Same for items Blocked_Items: - LAVA_BUCKET - WATER_BUCKET - FLINT_AND_STEEL
- Ect...
- Now to configure them!
- We'll start with TNT
- Where the text is offset from the main (TNT) is four spaces
- The block we defined in the "Blocked_Blocks" TNT:
- This is the message displayed when a player without certain permissions places the block
- The [PLAYER] will be replaced by the regex, meaning this is a player's name and can be moved wherever
- The &e is the color code for the sentence, I took the liberty in posting all the color codes at the top
Message: '&e[PLAYER] has placed TNT!'
- This is the message displayed when a player is kicked for trying to place the block according to the Kick_Player boolean and the Kick_Chances integer
- The [PLAYER] will be replaced by the regex, meaning this is a player's name and can be moved wherever
- The &4 is the color code for the sentence, I took the liberty in posting all the color codes at the top
Global_Kick_Message: '&4[PLAYER] has been kicked for trying to place TNT!'
- This message is displayed to the player after they get kicked
- You can use color code if you want
- No [PLAYER] can be used here
- Only Displayed if you have the Kick_Player set to true
Kick_Message: 'You have been kicked for placing TNT!'
- Set whether the player will be kicked for placing the block x times
- Kick chances are set with the key Kick_Chances
Kick_Player: false
- How many times the player can try to place the blocked block before being kicked
Kick_Chances: 3
- If true, when the player joins the server back they get another x times they can try to place the blocked block
- If false, the player doesnt get any extra chances to place the blocked block
Kick_Reset: false
- If true, if the player tries to place a blocked block, they are charge money according to the key Penalty_Price
Penalty: false
- Money charged when a player tries to place a blocked block
- Only happens if the key Penalty is true
Penalty_Price: 15
- Message appeared when a player has been charged money for trying to place a blocked block
- Only shows of the key Penalty is true
- [PRICE] is another regex which is replaced with the key Penalty_Price
- Color code is allowed
Penalty_Pay_Message: 'You were penalized and payed a fine of [PRICE]'
Comments