Skip to content

Commit

Permalink
fix: adds missing Mimic config entries
Browse files Browse the repository at this point in the history
  • Loading branch information
timbru31 committed Jun 28, 2024
1 parent a0ebf4c commit 9f3d895
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ This Bukkit (compatible with CraftBukkit, Spigot, Paper) plugin adds a way to ob
- Economy addon [SilkSpawnersEcoAddon](https://dev.bukkit.org/projects/silkspawnersecoaddon)
- Shop addon [SilkSpawnersShopAddon](https://spigotmc.org/resources/12028/) (login required, Premium Plugin)
- BossBarAPI support for >= 1.9, otherwise BarAPI can be used
- Mimic support
- Support for multiple Minecraft versions, from 1.8.8 to 1.21 (with exlusion of 1.9 and 1.10)

_Third party features, all of them can be disabled_
Expand Down Expand Up @@ -54,6 +55,9 @@ permissionExplode: false
# Should be checked for WorldGuard build ability to change spawners
useWorldGuard: true

# Allows you to use Mimic item IDs in allowedTools
useMimic: true

# Percentage of dropping a spawner block when TNT or creepers explode
explosionDropChance: 30

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ private void loadDefaultConfig() {
config.addComment("permissionExplode", "", "# Should a permission be required when a spawner explodes by TNT to achieve a drop");
config.addDefault("useWorldGuard", true);
config.addComment("useWorldGuard", "", "# Should be checked for WorldGuard build ability to change spawners");
config.addDefault("useMimic", true);
config.addComment("useMimic", "", "# Allows you to use Mimic item IDs in allowedTools");
config.addDefault("explosionDropChance", 30);
config.addComment("explosionDropChance", "", "# Percentage of dropping a spawner block when TNT or creepers explode");
config.addDefault("destroyDropChance", 100);
Expand Down
2 changes: 1 addition & 1 deletion modules/SilkSpawners/src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ permissionExplode: false
# Should be checked for WorldGuard build ability to change spawners
useWorldGuard: true

useMimic: true
# Allows you to use Mimic item IDs in allowedTools
useMimic: true

# Percentage of dropping a spawner block when TNT or creepers explode
explosionDropChance: 30
Expand Down

0 comments on commit 9f3d895

Please sign in to comment.