Zaoneblock icon

Zaoneblock -----

A plugin for playing sounds, messages, and commands on block break, mob kill, and fishing events.



This plugin was created for my own server to integrate with BentoBox, allowing for a central island block event, as the BentoBox plugin did not implement this.

Attention! This plugin was created for version 1.21.4 and has no support for other game versions. It has been tested only on the Paper core, and during testing, no errors have been found so far.

There will be no support for versions below 1.21.4 in the future, as I only play on the latest Minecraft versions.

Resource Description

This plugin allows you to play sounds, send messages, and execute commands when certain events occur on your Minecraft server. It currently supports the following events:

  • Block Break

  • Mob Kill

  • Fishing
What You Can Do with This Plugin:
  1. Configure sounds when breaking specific blocks. For example, play a celebration sound when mining diamonds.

  2. Set sound or text notifications when killing specific mobs. For instance, play an explosion sound when killing a Creeper.

  3. Add reactions to successful fishing — let players celebrate their catch with a melody!

  4. Execute commands on these events, like giving a reward for defeating a boss or sending a message to the player.
How to Use:
  1. Download the plugin and place it in your server’s plugins folder.

  2. Restart the server to generate the configuration files.

  3. Go to the plugins/zaoneblock/ config.yml folder and open the configuration file.

  4. Customize events, sounds, messages, and commands as desired.

  5. Save your changes and restart the server to apply them.

    Why It’s Useful:
    • Simple configuration and integration on your server.

    • Supports sounds, messages, and commands in one plugin.

    • Flexible customization for various events.

    • Enhances the server atmosphere and provides a unique experience for players.
    Optional Dependencies:
    • PlaceholderAPI — for using placeholders in messages and commands.

    • Vault — for executing economy-related commands.

    • BentoBox — for compatibility with BentoBox game modes.

    • AOneBlock — for enhanced support on OneBlock servers.
    If you have any questions or suggestions — feel free to reach out!


    Code (Java):
    # Thank you for installing the plugin. Any questions about the plugin you can write to me personally in telegram https : //t.me/Zoobastiks

    # Plugin settings
    use -bentobox : true  # Enable integration with BentoBox and AOneBlock ( true / false )

    # All sounds you can find here https : //hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
    # What is written in the config are custom sounds that were added using resource packs, you can remove them or replace them with others
    # Event Settings
    events :
      one :
        sounds :
          - start_zoobastiks
          - welcome_zoobastiks
        messages :
          - "§a message 1"
          - "§a message 2"
        commands :
          - "eco give {player} 1"
          - |
            give {player } bone 1 0
        summonmob : arrow 1
        chance : 1.0 # Chance from 0 to 1. Where 1 is 100 %, therefore 0.3 is 30 %
        event : block - break # Event on broken blocks ( ( If your server does not have the BentoBox plugin and its AoneBlock addon, it will act on blocks that will be tracked outside the island, definitely works everywhere, and does not matter control ) )
        commandrandom : true # Commands are executed randomly
        messagerandom : false # The messages are executed randomly
        soundrandom : true # sounds are played randomly (not in turn ) but randomly

      two :
        sounds :
          - ENTITY_PLAYER_LEVELUP
        messages :
          - "§a message 2"
        commands :
          - "xp give {player} 10"
        chance : 0.8
        event : mob -kill # Mob Kill Event
        mob :
          - ZOMBIE # The name must be in capital letters ! You can remove or add more mobs to this list
          - SKELETON # The name must be in capital letters ! You can remove or add more mobs to this list
        commandrandom : false # Commands are executed randomly
        messagerandom : false # The messages are executed randomly
        soundrandom : false # sounds are played randomly (not in turn ) but randomly

      three :
        sounds :
          - ENTITY_PLAYER_LEVELUP
        messages :
          - "§a message 3"
        commands :
          - "xp give {player} 10"
        chance : 0.8
        event : fish
        commandrandom : false
        messagerandom : false
        soundrandom : false

      four :
        sounds :
          - ENTITY_PLAYER_LEVELUP
        messages :
          - "§a message 4"
        commands :
          - "xp give {player} 10"
        chance : 0.8
        event : death # Death Event
        commandrandom : false
        messagerandom : false
        soundrandom : false

    # Message and command when players enter the server, it is executed with a delay of 10 seconds
      player -join :
        sounds :
          - start_zoobastiks
          - welcome_zoobastiks
        messages :
          - ""
          - "§a Welcome"
          - "§a {player}"
          - ""
        chance : 1.0
        soundrandom : true
        delay -before -sound : 10  # Delay before sound plays (in seconds )
    This plugin has no commands or permissions, events work for all players.
Resource Information
Author:
----------
Total Downloads: 12
First Release: Mar 23, 2025
Last Update: Mar 23, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings