Do you want to add some features? Join our discord!
ePowerBlocks is one of the
paid,
modern and
well optimized plugin from ePlugins! This plugin will
entertain and
reward your players for mining blocks. Everything is
fully-customizable!
We make only well optimizted plugins and easy-to-use for every server owner! Everything is fully and
easily customizable in the config! If you need help, join our
discord!
We really appreciate every
download,
feedback and
rating that you are giving to us! We are trying our best to make your server the best! If you have something to tell us, feel-free to
contact us on our social medias!
ePowerBlock Usage
Velocity Feature
ForceField Feature
Entertain players and reward them for mining blocks!
Rewards can be set to items or commands
Easy to use GUI Editor where you can edit the whole Power Block (WIP)
You can activate features: Velocity, ForceField and more soon!
Every line in holograms is highly editable (Holographic Displays or Decent Holograms)
Every state has it own hologram that can be modified in the configuration file
Set your own material and health to every block (material can be an entity)
You can even set more materials and have them to change every time the block is destroyed!
Set custom cooldown to each block that has been destroyed! (before can be mined again)
We tried our best to create a permission to every action in this plugin
We have also managed to reward offline players, by giving them their reward after they join!
Displays the current number that the player has mined (in hologram)
Highly configurable built-inAFK System with a lot of features
PowerBlock teleportation is now supported!
Everything is reloadable with in-game command
Placeholders support! (PAPI)
Custom player & blocks statistics
RGB colors supported! Gradient system included! (More in 'Using Colors')
AFK System - Check if player is AFK or not (you can teleport him, or just disable mining)
And lot of more!
Now we are working on:
Features - We will implement more features (There are now two Velocity, ForceField)
PowerBlocks Spawn - Let players teleport to these blocks by creating a warp for them (/mb spawn)
Particles - Spawn particles every time someone deals damage to a block, or just like every 10 hits (it’s up to you)
GUI Editor - Configure your blocks in a GUI editor (rewards, health, material, etc.)
Commands:
/powerblocks help - Displays a message with a command to use to get list of all commands
/powerblocks list - Displays a list of all available blocks
/powerblocks tp <block> - Teleports you on top of the block
/powerblocks info <block> - Displays all important info about the specific block
/powerblocks stats <block> [player] - Shows all statistics for a given block
/powerblocks reset <block> - Resets the block
/powerblocks menu - Opens the menu
/powerblocks about - Shows basic info about the plugin
/powerblocks reload - Reloads the plugin
/powerblocks miners - Returns a list of players who are currently mining a block
powerblocks.stats - Allows player to execute all administration commands
powerblocks.admin - Allows player to execute all administration commands
# Will the plugin be enabled? After change, restart needed! enabled: true
# If set to true, the plugin will send message everytime the plugin is not updated check-for-updates: true
# Default settings for all PowerBlocks, when they are created! Edit specified PB in their files itself! default-powerblock:
enabled: true
# List of available materials: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html (We recommend using only solid blocks) # We are supporting Entities too! (You can spawn mobs instead of blocks) # List of available entities: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html material: - STONE
# This function will only work if you have more than 1 material in the list above # every-time: Every time you mine the block, the material will be changed to the next material in the list # destroy: The material will be changed to the next material in the list only when the block is fully destroyed # chance-x: every time you mine the block, there is a X% chance that the material will be changed to the next material in the list (X = 0-100) # Example: chance-50 = 50% chance that the material will be changed to the next material in the list material-swap: "every-time"# This function is working only if you have more than 1 material in the list above
# Direction of the block (only for Directional blocks like stairs, chest, furnace, piston etc.) # You can find the direction of the block in the F3 menu (look at the block and look at the "facing" section) # Example: facing: north = material-direction: NORTH # If you want to swap the direction of the block, set material-direction-swap to true and the direction will be changed to the random direction every time the block is mined material-random-direction-swap: false
# Permission required to mine the block # none = no permission required permission: "none"
# Do you want to give rewards to players for mining this block when they are OFFLINE? offline-rewards: true
# Enable saving player stats # If save-player-stats is enabled, you can use placeholders like alltime-wasted-time, alltime-breaks etc... save-player-stats: true
# Location of the block location:
world: world
x: 0.0
y: 0.0
z: 0.0
# Basic hologram (can be customized individually in the folder with concrete block) hologram:
enabled: true
offset: # You can offset the hologram from the original hologram position x: 0
y: 0.2
z: 0
lines: -
"Default MineBlock" -
"%health%/%max-health%" -
"" -
"1. %placement_1% - %placement_1_breaks%" -
"2. %placement_2% - %placement_2_breaks%" -
"3. %placement_3% - %placement_3_breaks%" -
"" - "You: %placement% - %placement_breaks%"
# How many lives will the block have? (1x block mining = -1 health) health: 100-200
# Increase or decrease the health of the block when it is mined health-type: DECREASE
# These actions are called when the block is mined or when the player don't have permission to mine the block (to one or all players) actions:
player:
block-break: -
"You have mined a block!" missing-permission: -
"none" server:
block-destroyed: -
"The block has been destroyed!"
# Basic cooldown settings cooldown: # Do you want every time a block reaches 0 life to be under cooldown? enabled: true
# If a block is destroyed, what is the cooldown before the block is regenerated and can be mined again? (in seconds) time: 180
# What material should the block be changed to in cooldown material: BEDROCK
# Basic settings about hologram when it is under cooldown separate-hologram: # Do you want to use different hologram when the block is under cooldown? enabled: true
offset: # You can offset the hologram from the original hologram position x: 0
y: 0.2
z: 0
lines: # You can customize the hologram -
"Default MineBlock" -
"" -
"Will be available in:" -
"%cooldown_formatted%" # Do you want to broadcast a message to all players when the block is respawned? (edit message in messages.yaml) # If you want none message write "none" actions:
server:
respawn: -
"The block has been regenerated!" player:
failed: -
"The block is under cooldown!"
# Basic inactive feature settings inactive: # Do you want to reset/heal the block's health when it is not mined by anyone in some period of time? enabled: true
# After what time the block should be reset/healed? (in seconds) time: 3600
# RESET: The block will be healed to maximum health immediately # HEAL: X life will be added every X seconds type: HEAL
# Basic action settings (more on our wiki) actions:
server:
start: -
"The block has been marked as inactive!"
# There can be used %player% failed: -
"Someone managed to break the block before it was fully healed" done: -
"The block has been fully healed!" period-heal: -
"Block was healed for 3 hp!" player:
failed: -
"You broke the block before it was fully healed! Thanks for that!"
# Under this section you can customize the healing process # How many lives should be added every X seconds? (only if type is set to HEAL) heal-amount: 1
# How fast should the block be healed? (in seconds) (only if type is set to HEAL) heal-time: 3
# What material should the block be changed to when it is inactive (only if type is set to HEAL) material: REDSTONE_BLOCK
# Basic settings about hologram when it is inactive (only if type is set to HEAL) separate-hologram: # Do you want to use different hologram when the block is inactive? (only if type is set to HEAL) enabled: true
offset: # You can offset the hologram from the original hologram position x: 0
y: 0.2
z: 0
lines: # You can customize the hologram -
"Block is healing!" -
"%health%/%max_health%" -
"" -
"Quickly break the block!" -
"Block is healing for %inactive_formatted%"
# Default settings for rewards rewards:
NewReward: # Name of reward (random name) # Do you want to use this reward? enabled: true
# What should be the chance of getting this reward? (in percent) 100% = every time chance: 10
# When should the reward be given? when: Placement 5
# What should be the reward? rewards: # Every reward has its own settings (you can find them in the wiki) -
"[CHAT] You got a reward!" -
"[CONSOLE] give %player% diamond 1" reward-1:
enabled: true
# This reward will be used chance: 100
# Chance to get this reward is 100% (every time) permission: "mining.reward.1"# Permission required to get this reward when: Mined 20
# When the player mines 20+ blocks rewards: # I recommend creating items in-game. I doubt anyone could do it in the config anyway... xd - |
item:
==: org.bukkit.inventory.ItemStack
v: 3337
type: DIAMOND
amount: 2
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: '
{"extra":
[{"text":
"DIAMONDS!!"}],
"text":
""}'
ItemFlags: - HIDE_ATTRIBUTES
-
"[CONSOLE] give %player% diamond 2" required-tools: # Do you want to use required tools? enabled: false
# What tools should be required to mine the block? tools:
firstTool: # tool field is required! You can write there * for all items! tool: "WOODEN_*" enchants: # With this enchantments: -
"DIG_SPEED:3"# Efficiency 3+ -
"SILK_TOUCH"# every Silk touch name: # With this name: -
"My Diamond Pickaxe" secondTool:
tools: -
"*_PICKAXE"# All pickaxes
# If you want allow all enchantments write "none" or remove this section enchants: -
"none" name: -
"none" actions:
player:
wrong-tool: -
"You used wrong tool to mine the block!"
# Default settings for block particles particles: # Coming soon
# Default settings for features features:
Velocity:
actions: -
"[TITLE] &e&lVelocity" -
"[SUBTITLE] &7You were thrown by the block." chance: 10
# Chance to get this feature is 10% velocityPower: 0.8
# Velocity power is 0.8 velocityHeight: 0.4
# Velocity height is 0.4 ForceField:
actions: -
"[TITLE] &c&lForceField" -
"[SUBTITLE] &7You're too close to the block" radius: 2.1
# Radius is 2.1 block strength: 0.3
# Strength is 0.3
# Default settings to our AFK system afk-system: # Do you want to use our AFK system? enabled: true
# After what period of time should be the player marked as AFK? (in seconds) time: 120
actions:
player:
afk: -
"You are AFK!" afk-back: -
"You are not AFK anymore!"
# What do you want to do with the player when he is marked as AFK # MINE: we will block mining for him, but he will remain still in the same position # TELEPORT: we will teleport the player to configured location # KICK: we will kick the player from the server (kick-reason: <text>) # NONE: only broadcast message will be executed marked: # We show you only TELEPORT type, other types don't have LOCATION! type: TELEPORT
warn-time: 10
location:
world: "world" x: 60
y: 70
z: 50
yaw: 0
pitch: 0
kick-reason: "You were AFK for too long!" permission-to-ignore: "epowerblock.afk.bypass"
Code (YAML):
enabled: true
# List of available materials: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html (We recommend using only solid blocks) # We are supporting Entities too! (You can spawn mobs instead of blocks) # List of available entities: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html material: - YELLOW_GLAZED_TERRACOTTA
# This function will only work if you have more than 1 material in the list above # every-time: Every time you mine the block, the material will be changed to the next material in the list # destroy: The material will be changed to the next material in the list only when the block is fully destroyed # chance-x: every time you mine the block, there is a X% chance that the material will be changed to the next material in the list (X = 0-100) # Example: chance-50 = 50% chance that the material will be changed to the next material in the list material-swap: "every-time"# This function is working only if you have more than 1 material in the list above
# Direction of the block (only for Directional blocks like stairs, chest, furnace, piston etc.) # You can find the direction of the block in the F3 menu (look at the block and look at the "facing" section) # Example: facing: north = material-direction: NORTH # If you want to swap the direction of the block, set material-direction-swap to true and the direction will be changed to the random direction every time the block is mined material-random-direction-swap: true
# Permission required to mine the block # none = no permission required permission: "none"
# Do you want to give rewards to players for mining this block when they are OFFLINE? offline-rewards: true
# Enable saving player stats # If save-player-stats is enabled, you can use placeholders like alltime-wasted-time, alltime-breaks etc... save-player-stats: true
# Location of the block location:
world: world
x: 0.5
y: 0.5
z: 0.5
# Basic hologram (can be customized individually in the folder with concrete block) hologram:
enabled: true
offset: # You can offset the hologram from the original hologram position x: 0
y: 0.2
z: 0
lines: -
"#ICON: YELLOW_CANDLE" -
"<BOLD><GRADIENT:BBFB57:EEFD5D>ePowerBlock - Example</BOLD></GRADIENT>" -
"&#FB3000❤ &f%health%/%max-health% &#FB3000❤" - ''
-
"Block will be inactive in &#CEFF4B%inactive_in_formatted%" - ''
-
"&#CEFF4B1.&f %placement_1% - &#CEFF4B%placement_1_breaks%" -
"&#B6E1422.&f %placement_2% - &#B6E142%placement_2_breaks%" -
"&#A2C83B3.&f %placement_3% - &#A2C83B%placement_3_breaks%" - ''
-
"You were mining for &#EFFF93%wasted-time_formatted%" -
"&#EFFF96&fYou are &#EFFF93%placement%.&f with &#EFFF93%breaks%&f blocks"
# How many lives will the block have? (1x block mining = -1 health) health: 50-100
# Increase or decrease the health of the block when it is mined health-type: DECREASE
# These actions are called when the block is mined or when the player don't have permission to mine the block (to one or all players) actions:
player:
block-break: -
"none" missing-permission: -
"none" server:
block-destroyed: -
"%prefix% The Example Block has been destroyed!"
# Basic cooldown settings cooldown: # Do you want every time a block reaches 0 life to be under cooldown? enabled: true
# If a block is destroyed, what is the cooldown before the block is regenerated and can be mined again? (in seconds) time: 120
# What material should the block be changed to in cooldown material: BEDROCK
# Basic settings about hologram when it is under cooldown separate-hologram: # Do you want to use different hologram when the block is under cooldown? enabled: true
offset: # You can offset the hologram from the original hologram position x: 0
y: -0.2
z: 0
lines: # You can customize the hologram -
"<BOLD><GRADIENT:BBFB57:EEFD5D>ePowerBlock - Example</BOLD></GRADIENT>" -
"" -
"Will be available in:" -
"%cooldown_formatted%" # Do you want to broadcast a message to all players when the block is respawned? (edit message in messages.yaml) # If you want none message write "none" actions:
server:
respawn: -
"%prefix% The Example Block has been regenerated!" player:
failed: -
"none"
# Basic inactive feature settings inactive: # Do you want to reset/heal the block's health when it is not mined by anyone in some period of time? enabled: true
# After what time the block should be reset/healed? (in seconds) time: 3600
# RESET: The block will be healed to maximum health immediately # HEAL: X life will be added every X seconds type: HEAL
# Basic action settings (more on our wiki) actions:
server:
start: -
"%prefix% The Example Block has been marked as inactive!" failed: -
"%prefix% Someone managed to break the Example Block before it was fully healed" done: -
"%prefix% The Example Block has been fully healed!" period-heal: -
"none" player:
failed: -
"%prefix% You broke the block before it was fully healed! Thanks for that!"
# Under this section you can customize the healing process # How many lives should be added every X seconds? (only if type is set to HEAL) heal-amount: 1
# How fast should the block be healed? (in seconds) (only if type is set to HEAL) heal-time: 3
# What material should the block be changed to when it is inactive (only if type is set to HEAL) material: REDSTONE_BLOCK
# Basic settings about hologram when it is inactive (only if type is set to HEAL) separate-hologram: # Do you want to use different hologram when the block is inactive? (only if type is set to HEAL) enabled: true
offset: # You can offset the hologram from the original hologram position x: 0
y: 0.2
z: 0
lines: # You can customize the hologram -
"<BOLD><GRADIENT:BBFB57:EEFD5D>ePowerBlock - Example</BOLD></GRADIENT>" -
"&7Block is healing!" -
"%health%/%max-health%" -
"" -
"Quickly break the block!" -
"Block is healing for:" -
"%inactive_for_formatted%"
# Default settings for rewards rewards:
NewReward: # Name of reward (random name) # Do you want to use this reward? enabled: true
# What should be the chance of getting this reward? (in percent) 100% = every time chance: 50
# When should the reward be given? # Placement 1-5: When the player is in the top 5 miners # Placement 2-3: When the player placement is between second and third top miners. # Placement 3: When the player is in third place # Mined 1-5: When the player has mined 1-5 blocks # Mined 2-3: When the player has mined between 2 and 3 blocks # Mined 3: When the player has mined 3 or more blocks (3+ blocks) when: Placement 1
# What should be the reward? rewards: # Every reward has its own settings (you can find them in the wiki) - '
[CHAT
] You got a reward!'
- '
[CONSOLE
] give
%player% diamond 1' - '
[TITLE
] You got a REWARD!'
- '
[SUBTITLE
] CG!'
-
"[SOUND] UI_TOAST_CHALLENGE_COMPLETE" reward-1:
enabled: true
# This reward will be used chance: 100
# Chance to get this reward is 100% (every time) permission: "mining.reward.1"# Permission required to get this reward when: Mined 20
# When the player mines 20+ blocks rewards: -
"[CONSOLE] give %player% diamond 2" required-tools: # Do you want to use required tools? enabled: false
# What tools should be required to mine the block? tools:
firstTool: # tool field is required! You can write there * for all items! tool: "WOODEN_*" enchants: # With this enchantments: -
"DIG_SPEED:3"# Efficiency 3+ -
"SILK_TOUCH"# every Silk touch name: # With this name: -
"My Diamond Pickaxe" actions:
player:
wrong-tool: -
"%prefix% You used wrong tool to mine the block!"
# Default settings for block particles particles: # Coming soon
# Default settings for features features:
Velocity:
actions: -
"[TITLE] &e&lVelocity" -
"[SUBTITLE] &7You were thrown by the block." chance: 10
# Chance to get this feature is 10% velocityPower: 0.8
# Velocity power is 0.8 velocityHeight: 0.4
# Velocity height is 0.4 ForceField:
actions: -
"[TITLE] &c&lForceField" -
"[SUBTITLE] &7You're too close to the block" radius: 2.1
# Radius is 2.1 block strength: 0.3
# Strength is 0.3
# Default settings to our AFK system afk-system: # Do you want to use our AFK system? enabled: true
# After what period of time should be the player marked as AFK? (in seconds) time: 120
actions:
player:
afk: -
"none" afk-back: -
"none"
# What do you want to do with the player when he is marked as AFK # MINE: we will block mining for him, but he will remain still in the same position # TELEPORT: we will teleport the player to configured location # KICK: we will kick the player from the server (kick-reason: <text>) # NONE: only broadcast message will be executed marked: # We show you only TELEPORT type, other types don't have LOCATION! type: TELEPORT
warn-time: 10
location:
world: "world" x: 60
y: 70
z: 50
yaw: 0
pitch: 0
kick-reason: "You were AFK for too long!" permission-to-ignore: "epowerblock.afk.bypass"
Code (YAML):
# # ███████╗██████╗ ██████╗ ██╗ ██╗███████╗██████╗ ██████╗ ██╗ ██████╗ ██████╗██╗ ██╗███████╗ # ██╔════╝██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗██╔══██╗██║ ██╔═══██╗██╔════╝██║ ██╔╝██╔════╝ # █████╗ ██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝██████╔╝██║ ██║ ██║██║ █████╔╝ ███████╗ # ██╔══╝ ██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗██╔══██╗██║ ██║ ██║██║ ██╔═██╗ ╚════██║ # ███████╗██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║██████╔╝███████╗╚██████╔╝╚██████╗██║ ██╗███████║ # ╚══════╝╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝╚═════╝ ╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚══════╝ # # "ANSI Shadow" from http://patorjk.com/software/taag/ # -- # General messages # You can use %prefix% to replace it for the currently prefix in config.yaml # If you want to, you can use RGB colors (Gradients, Solid) -> more on our wiki # Our systems supports PAPI # --
# The main plugin prefix that will be displayed in front of every PowerBlocks plugin message # You can use the normal minecraft color codes by using "&cPowerBlocks" or you can use our Hex color system (more information on wiki) prefix: "<BOLD><GRADIENT:f44336:ff786e>PowerBlocks</BOLD></GRADIENT> &7»&r"
# output of %emineblocks_<mineblock>_ top:
nobody: "&cNobody" nobodyValue: "0" placeholder-error: "N/A" units:
second: "seconds" minute: "minutes" hour: "hours" offline-reward: -
"%prefix% You have receive offline reward for mining %block%" command-missing-permission: "%prefix% &cYou don't have the permission to execute this command"
# Placeholder %time-to-afk% # Write none to title if you don't want to send a title afk-warn-title: "&4&lYou will be afk in %time-to-afk%s" afk-warn-subtitle: "&7Move to cancel"
# Placeholder %afk-time% # Write none to title if you don't want to send a title afk-title: "&4&lAFK" afk-subtitle: "&7You are AFK %afk-time%s"
# Placeholder %afk-time% afk-back-title: "&a&lWelcome back!" afk-back-subtitle: "&7You were AFK for %afk-time%s"
# More coming soon
Drag and drop ePowerBlocks plugin into your plugin folder