
BlockEffects is a light-weight plugin that activates special effects when players interact or step on the block. There are 6 trigger types: LEFT_CLICK, RIGHT_CLICK, WALK, WALK_INSIDE, BREAK, PLACE. On trigger you can send messages, execute commands, add potion effects & more. There is a built-in cooldown and per block permission. The plugin is ideal for kitpvp, skypvp or other types of servers. :)
/blockeffects - Displays the plugin details (version, author)
/blockeffects blocks - Displays all the registered blocks.
blockeffects.blocks - Allows the user to see all the registered blocks.
+ You can add custom permissions for each block.
# ____ _ _ ______ __ __ _ __ ___
# | _ \| | | | | ____|/ _|/ _| | | /_ | |__ \
# | |_) | | ___ ___| | _| |__ | |_| |_ ___ ___| |_ ___ __ _| | ) |
# | _ <| |/ _ \ / __| |/ / __| | _| _/ _ \/ __| __/ __| \ \ / / | / /
# | |_) | | (_) | (__| <| |____| | | || __/ (__| |_\__ \ \ V /| |_ / /_
# |____/|_|\___/ \___|_|\_\______|_| |_| \___|\___|\__|___/ \_/ |_(_)____|
# Get a potion effect when you step on a block!
# Coded by NickDEV
#
# ==========================================================================
# Template
# ==========================================================================
# Copy the following template and fill in the data in order to create a new
# block.
#
# <name> - custom name (doesn't affect anything in game)
# <material> - block material (Material: http://tinyurl.com/spigot-material)
# <message> - custom message sent to the player
# <trigger-type> - when the block is triggered (WALK, WALK_INSIDE, LEFT_CLICK, RIGHT_CLICK, BREAK, PLACE)
# <permission> - allows only the player's with the given permission to use the block
# <potion-effect> - potion effect type (http://tinyurl.com/spigot-potioneffect)
# <potion-duration> - time in seconds
# <potion-amplifier> - potion amplifier
#
# <name>:
# material: <material>
# message: <message>
# trigger: <trigger-type>
# permission: <permission>
# effect:
# type: <potion-effect>
# duration: <potion-duration>
# amplifier: <potion-amplifier>
# commands:
# - "<command1>"
# - "<command2>"
# - "<command3>"
blocks:
example-block:
material: REDSTONE_BLOCK
trigger: RIGHT_CLICK
message: "&6[BlockEffects] &cRegenerating your health!"
effect:
type: REGENERATION
duration: 25
amplifier: 2
permission: blockeffects.redstone_block
coal-block:
material: COAL_BLOCK
trigger: WALK
message: "&6[BlockEffects] &7You are now blind!"
effect:
type: BLINDNESS
duration: 10
amplifier: 1
commands:
- "say %player% has stepped on a coal_block,"
- "say he is now blind!"
# ==========================================================================
# Security
# ==========================================================================
# Highly recommended to be enabled if you don't want to get spammed with
# effects & messages.
#
# enabled - boolean that enables/disables the security
# cooldown - cooldown when you step on a block (all-blocks)
security:
enabled: true
cooldown: 1
# Sends a message if player tries to use a block he doesn't have permission for.
no-permission:
send: true
# ==========================================================================
# World
# ==========================================================================
# List of the worlds in which the BlockEffects are going to work.
enabled-worlds:
- "world"
We can improve the plugin together contact me and send me your ideas. If the idea is good it will be added in the new (next) version.
- Per block cooldown
- Region support
- + Your ideas
If you find any bugs please report them as soon as possible. Don't report them in the comment / review section, because I won't respond to bug reports there. Send me a private message or open an issue on GitHub. I will do my best to fix them as soon as possible.
View the source code or contribute on:
If you like the plugin & want to support the development, you can buy me a coffee here!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta
