Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whitelisted worlds doesnt work #26

Closed
YasinKalca opened this issue Sep 12, 2022 · 3 comments
Closed

Whitelisted worlds doesnt work #26

YasinKalca opened this issue Sep 12, 2022 · 3 comments

Comments

@YasinKalca
Copy link

Even tough i whitelisted a specific world. it enabled the block replacement in all worlds

@AIPTU
Copy link
Owner

AIPTU commented Sep 13, 2022

Can you show me your configuration?

@YasinKalca
Copy link
Author

YasinKalca commented Sep 14, 2022

---
# Do not change this (Only for internal use)!
config-version: 1.8

# The time in seconds when the block will be replaced with the previous block.
cooldown: 10 

# 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.
auto-pickup: true

blocks:
  # The default block to use as a replacement.
  default-replace: "bedrock"
  # List of blocks to be replaced.
  list:
    - "coal_ore" # It will be replaced to the default replacement block.
    - "diamond_ore"
    - "emerald_ore"
    - "gold_ore"
    - "iron_ore"

# Add particles when you destroy blocks.
particles:
  # 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"

# Add sound when you destroy blocks.
sounds:
  # Do you want to add sound?
  enable: 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 enable-world-blacklist and disable-world-blacklist are set to the same setting,
  # the block will be replaced for all worlds.
  enable-world-blacklist: false
  # If enable-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 enable-world-blacklist and disable-world-blacklist are set to the same setting,
  # the block will not be replaced for all worlds.
  enable-world-whitelist: true
  # If enable-world-whitelist is set to true, blocks will not be replaced for all worlds,
  # except the worlds mentioned here.
  whitelisted-worlds:
    - "Mines"
...

@AIPTU
Copy link
Owner

AIPTU commented Sep 14, 2022

Use the 1.9.0 version

@AIPTU AIPTU closed this as completed Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants