◼️
EpicBlocks
  • 👋Welcome to EpicBlocks
  • Overview
    • 💡Actions
    • ✨Rewards
    • 🎇Requirements
  • Fundamentals
    • 🛠️Getting set up
    • 📝Setting permissions
Powered by GitBook
On this page
  • Actionbar
  • Command
  • Drop Item
  • Give Item
  • Message
  • Sound
  • Vault
  1. Overview

Actions

  • [actionbar]

  • [command]

  • [drop-item]

  • [give-item]

  • [message]

  • [sound]

  • [vault] - Requires Vault to work.


Actionbar

Sends an action bar message to the player breaking the block

Defined by using [actionbar], its syntax is:

actions:
    - "[actionbar] <red>A red message"

Command

This will execute a command as the console

Defined by using [command], its syntax is:

actions:
    - "[command] say %player% you are very cool!"

Drop Item

Drops an item at the broken block location

Defined by using [drop-item], its syntax is:

actions:
    - "[drop-item] STONE 1"

Give Item

Gives an item to the player breaking the block

Defined by using [give-item], its syntax is:

actions:
    - "[give-item] DIAMOND 10"

Message

Sends a message to the player breaking the block

Defined by using [message], its syntax is:

actions:
    - "[message] <yellow>A beautiful yellow message"

Sound

Plays a sound to the player breaking the block.

Defined by using [sound], its syntax is:

actions:
    # 1 is volume, 0.3 is pitch
    - "[sound] UI_TOAST_CHALLENGE_COMPLETE 1 0.3"

Vault

This requires Vault to be installed on your server.

Modifies the current balance of a player with remove and add operations.

Defined by using [vault], its syntax is:

actions:
    - "[vault] remove 1000" # Takes 1k away from the player
    - "[vault] add 1000" # Adds 1k to the player
PreviousWelcome to EpicBlocksNextRewards

Last updated 1 year ago

Materials can be found on the Bukkit page:

Materials can be found on the Bukkit page:

Sounds can be retrieved from the Bukkit page:

💡
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
https://www.spigotmc.org/resources/vault.34315/