spoorn / myLoot

Instanced loot chests for Minecraft Fabric
Other
4 stars 5 forks source link

[Feature Request] Indestructible #5

Closed itsdinkd closed 2 years ago

itsdinkd commented 2 years ago

Add option to allow or disallow players from destroying Myloot blocks

spoorn commented 2 years ago

added in https://github.com/spoorn/myLoot/commit/cea36802a6dbd20b75fb4b25ed45509597ab1b21

Eianex commented 2 years ago

Hello, how to use it?

Eianex commented 2 years ago

Add option to allow or disallow players from destroying Myloot blocks

How did you used it bro?

spoorn commented 2 years ago

it's an option in config/myloot.json5

you can set this field to false: https://github.com/spoorn/myLoot/blob/main/config-documentation.json5#L8

Eianex commented 2 years ago

I know Spoorn, I manage servers from time to time and dived into the config file, but if a client has myLoot installed, then the client's own config file overrides the server one. The client indeed can destroy the myLoot chests even if the server config file is set to false.

spoorn commented 2 years ago

That's a bug, you could have submitted a new Issue for that. I'll have a fix out soon

spoorn commented 2 years ago

Fixed in https://github.com/spoorn/myLoot/commit/7737b36caff30b4de3b26b364c870de480c6d103

Eianex commented 2 years ago

Thanks man!