SerenityCore icon

SerenityCore 1.1

Add new event to your server

Page 1
Block Break Event

I add new block break event and reload system

Update: 

commands:
  serenity:
    description: Main command for Serenity plugin
    usage: /<command> <reload>
    permission: serenity.use
    permission-message: You don't have permission to use this command.

blockBreakEvent:
  DIAMOND:
    isEnable: true
    blockType: "DIAMOND_ORE"
    onBlockBreak:
      - "give %player% diamond 1"
    message: "You broke first diamond ore!"
    forOnlyFirst: true

 

and example:

blockBreakEvent:
  DIAMOND:
    isEnable: true
    blockType: "DIAMOND_ORE"
    onBlockBreak:
      - "give %player% diamond 1"
    message: "You broke first diamond ore!"
    forOnlyFirst: true
  IRON:
    isEnable: true
    blockType: "IRON_ORE"
    onBlockBreak:
      - "give %player% iron 1"
    message: "You broke first iron ore!"
    forOnlyFirst: true
  COAL:
    isEnable: true
    blockType: "COAL_ORE"
    onBlockBreak:
      - "give %player% coal 1"
    message: "You broke first coal ore!"
    forOnlyFirst: true
Page 1

mechanic

serenity

core

default

event

new

custom

config

update

2025