By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

PocketMine-MP plugin that replaces a block with another block at a predetermined time.
version 2.0.0
Approved
Direct Download How to install?
Switch version
90 Downloads / 1649 Total
11 Reviews
Plugin Description §

BlockReplacer

A PocketMine-MP plugin that replaces a block with another block at a predetermined time.

Features

  • Automatic update checker.
  • Permission bypass.
  • Custom cooldown replacement.
  • Automatic item pickup support.
  • Custom block replacement.
  • Custom drop block.
  • World blacklist and whitelist support.
  • Support for sound customization.
  • Support for particle customization.
  • Support for block replacement when the server is stopped.
  • Support block replacement in different time.
  • Lightweight and open source ❤️

Permissions

  • Permission blockreplacer.bypass allows the user to bypass block replacement.

Default Config

---
# Permission defaults for the "blockreplacer.bypass" permission
# This permission allows players to bypass block replacement.
# Valid values:
#   op: all server operators (ops) are assigned this permission by default
#   all: everyone is assigned this permission by default
#   none: no one is assigned this permission by default
permission:
  defaults: "op"

# Dropped items will be automatically added to the player's inventory.
# If the player's inventory is full, the item will be automatically dropped near the player.
# This will also include experience points.
auto-pickup:
  enabled: true

blocks:
  # The default block is used as a replacement.
  default-replace: "air"
  # The default time is used as a replacement.
  # The time in seconds when the block will be replaced with the previous block.
  default-time: 60
  # List of blocks to be replaced.
  # This should also always be wrapped in quotes to ensure it is parsed correctly.
  list:
    # This should follow the format: "block_from=block_to=time".
    # If "block_to" is not set, it will replaced to the default replacement block.
    # If "time" is not set, it will replaced to the default replacement time.
    "cobblestone=stone=5": # It will be replaced from cobblestone to stone and will be replaced with the previous block within 5 seconds.
      # This should follow the format: "item:amount:chance".
      drops: []
    "oak_log=spruce_log=10":
      drops:
        - item: "spruce_log"
          amount: 1
          chance: 70
        - item: "spruce_leaves"
          amount: 2
          chance: 50
    "coal_ore=stone": # It will be replaced to the default replacement time.
      drops:
        - item: "coal"
          amount: 2
          chance: 90
    "diamond_ore=stone":
      drops:
        - item: "diamond_sword"
          amount: 1
          chance: 1
          name: "&cLifesteal &4Sword"
          lore:
            - "&6Steals health upon hitting enemy."
            - "&b!!!"
          enchantments:
            - name: "sharpness"
              level: 3
            - name: "lifesteal"
              level: 1
    "gold_ore": # It will be replaced to the default replacement block and default replacement time.
      drops:
        - item: "gold_ingot"
          amount: 1
          chance: 20
        - item: "gold_nugget"
          amount: 1
          chance: 10
    "iron_ore=bedrock":
      drops:
        - item: "iron_ingot"
          amount: 1
          chance: 20
        - item: "iron_nugget"
          amount: 1
          chance: 10
    "sweet_berry_bush:3=sweet_berry_bush:1=5":
      drops: []

particles:
  # Whether to add particles when destroying blocks.
  enabled: true
  # The name of the particle that will be added when destroying the previous block.
  from: "minecraft:villager_happy"
  # The name of the particle that will be added when replacing the block after it.
  to: "minecraft:explosion_particle"

sounds:
  # Whether to add sound when destroying blocks.
  enabled: true
  # Set the volume sound.
  volume: 1
  # Set the pitch sound.
  pitch: 1
  # The name of the sound that will be added when destroying the previous block.
  from: "random.orb"
  # The name of the sound that will be added when replacing the block after it.
  to: "random.explode"

worlds:
  # Set this to true if you want to use the blacklisted-worlds setting.
  # If both enabled-world-blacklist and enabled-world-whitelist are set to the same setting,
  # the block will be replaced for all worlds.
  enabled-world-blacklist: false
  # If enabled-world-blacklist is set to true, the block will be replaced for all worlds,
  # except the world mentioned here.
  blacklisted-worlds:
    - "blacklistedworld1"
    - "blacklistedworld2"
  # Set this to true if you want to use the whitelisted-worlds setting.
  # If both enabled-world-blacklist and enabled-world-blacklist are set to the same setting,
  # the block will not be replaced for all worlds.
  enabled-world-whitelist: false
  # If enabled-world-whitelist is set to true, blocks will not be replaced for all worlds,
  # except the worlds mentioned here.
  whitelisted-worlds:
    - "whitelistedworld1"
    - "whitelistedworld2"
...

Upcoming Features

  • Currently none planned. You can contribute or suggest for new features.

Additional Notes

  • If you find bugs or want to give suggestions, please visit here.
  • We accept all contributions! If you want to contribute, please make a pull request in here.
  • Icons made from www.flaticon.com
What's new §
  • Custom drop block.
  • Support for block replacement when the server is stopped.
  • Support block replacement in different time.
  • Fixed whitelisted worlds and blacklisted worlds not working properly, #26
  • Support for sound customization.
  • Support for particle customization.
  • Fixed auto pickup not working properly, close #20
  • Fixed player without permission can replace block for all world
  • Support if the world is locked
  • Easier to set configuration
  • PM4 support
  • Require php 8
  • Support non-solid blocks
  • Added world Blacklist/Whitelist support
  • Added UpdateNotifier
  • Implements Permissions
  • Implements per blocks custom replacement
  • Simplify some methods

DaDevGuy
Outdated
using v1.7.0
01 May 22
blocks is not replaceing for player without op
DaDevGuy
Outdated
using v1.6.0
17 Apr 22
DaDevGuy
Outdated
using v1.5.0
13 Mar 22
Its Epic
ItsRealNise
Outdated
using v1.1.0
10 Sep 21
Nice Plugin :D
AIPTU
10 Sep 21
Thanks for the review
Pedhot-Dev
Outdated
using v1.1.0
07 Sep 21
Very nice plugin!
AIPTU
08 Sep 21
Thanks for the review
ProtectorYT364
Outdated
using v1.0.0
20 Aug 21
This is epic :)
AIPTU
20 Aug 21
Thanks for the review
fernanACM
Outdated
using v1.0.0
10 Aug 21
AIPTU
10 Aug 21
Thanks for the review
KygekDev
Outdated
using v1.0.0
09 Aug 21
AIPTU
09 Aug 21
Thanks for the review
KRUNCHSHooT
Outdated
using v1.0.0
09 Aug 21
Nice plugin,pale pale
AIPTU
09 Aug 21
Thanks for the review
MrNinja008
Outdated
using v1.0.0
09 Aug 21
Maybe Per World option and perms?
AIPTU
09 Aug 21
Thanks for the review, you can modify per world in config and permission may in next version
MulqiGaming64
Outdated
using v1.0.0
09 Aug 21
Very Nice, You Can Make Mine Zone With This Plugins
AIPTU
09 Aug 21
Thanks for the review

Reply to review by :

/ 5
Supported API versions
4.0.0
->
4.12.2
Producers §
  • Collaborators:
    • @AIPTU
  • Contributors:
    • @KRUNCHSHooT
License §
Categories:
General
Mechanics
Fun
Miscellaneous
Permissions
Manage blocks/items

You can leave one review per plugin release, and delete or update your review at any time

/ 5
Loading...