Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- # Most important data. The plugin will not start up if this has not been configured
- SETUP_DONE: false # Mark this as true once the DATABASE section has been validly set up
- DATABASE:
- SERVERNAME: 'localhost'
- PORT: 3306
- DATABASENAME: 'dayz'
- USERNAME: 'user'
- PASSWORD: '123'
- # Most important data. The plugin will not start up if this has not been configured
- # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- # Blocks configuration
- blocks:
- example-block:
- block: '1:0' # This is a stone block
- regen: true # This block will regenerate
- time: 60 # This would mean 3 seconds because there are 20 ticks in 1 second
- explosives: true # Crackshot explosions will cause the block to break. No drops.
- projectiles:
- snowballs: true # <-- Unclear to me
- eggs: true # <-- Unclear to me
- arrows: true # <-- Unclear to me
- placeable: true # Are players allowed to place this block?
- breakable: true # Are players allowed to break this block?
- drops:
- drop: true # false will drop default block drop. None will drop nothing at all. True will use the drops node
- items:
- - '3:0:15:1-5' # 15% chance to drop between 1 to 5 dirt items
- breakwith: '278:0' # Diamond pickaxe
- requiredenchants: true
- enchants:
- - 'SILK_TOUCH:1' # Enchantments can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
- removeitemonbreak: true # Will the 'breakwith' item be removed if the player is holding that specific item?
- required: true # Is the 'breakwith' item required to break this block?
- dropsonly: true # If true, the custom drops will only dropped when the block is broken with the 'breakwith' item
- # Blocks configuration
- # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement