FAQ
On this page(9)
How do I update SnMines?
Download the newer version from https://sndevelopment.dev/plugins/snmines and replace the jar. Configs auto-merge on restart. Your mines are kept as they are.
Does it support Folia?
No, SnMines is not Folia-compatible. It runs on Paper 1.20.4 and newer.
Why does my mine never reset?
A mine regenerates only while its block shares add up to exactly 100%. The menus show an incomplete mine with what is missing, and every reset is refused until you fix it.
Timed resets are also skipped when nothing was mined since the last reset. Manual, threshold and startup resets always run.
Players can break blocks that WorldGuard protects. Why?
protection.bypass is on by default. Inside an enabled mine, breaking is allowed whoever cancelled it. Placing and interacting stay protected. Set protection.bypass: false to leave the decision to your protection plugins.
How do I add a custom block from Nexo or ItemsAdder?
Drag the item into the composition menu. If SnMines does not recognize it, learn mode starts: place the item once anywhere and the plugin reads the exact block state. You have editor.learn-timeout seconds.
A custom block drops twice. What do I do?
If a block plugin spawns its own drop for a block that is in a composition, it can drop twice. Test it on a mine and turn off that plugin's drops for those blocks.
My pickaxe's smelting enchant gives an extra drop. How do I stop it?
Keep drops.cancel-foreign: true (the default since 1.1.0). A block of the composition then gives only its configured drop: items and experience that other plugins spawn at that block are removed. Only items another plugin puts straight into the inventory (telepathy or auto-pickup) cannot be stopped.
Can a block give nothing?
Yes. In the block editor, switch the drop mode to Nothing. The block still counts as mined, so a mine can be 90% stone that gives nothing and 10% ore that drops an item.
Why do some blocks break with their vanilla drops?
Only the blocks a reset placed pay the custom drop. Blocks a player placed, or that a piston, falling block or fluid moved in, drop normally even if they look like a composition block.