This update fixes a lot of things that I found weren't working with the regions such as blocking mob spawns properly.
This update also adds a new option for regions! There is now a dropOnPlayer option present in the first inventory you see in /region. When this is turned on, all mined items will drop on top of the player rather than inside of the respawned block.
I also changed the way that regions and nodes are stored. This shouldn't be an issue since all regions will automatically be migrated to the new system upon server startup, if not, you can use the command /migrateregion [region] to do it manually! Nodes will also automatically migrate themselves when someone breaks the block it is resting at.
Finally for regions, /showborder has changed, instead of putting a glass perimeter up for like 5 seconds, it will now outline a perimeter with green particles until you toggle it off, the new command looks like this:
/showborder [region] [true/false]
There are 2 new features for Nodes! You can now customize the item that dropped from getting mined, meaning you can change the name and add lore to the item. You can now also set a range for how much of the item you want to drop as well by setting a min-drop and max-drop value. Like with regions, there is also a dropOnPlayer flag that does the same thing when set to true. A new example drops.yml config using all the features can be seen here:
Code (YAML):
blocks:
DIRT:
drops:
DIAMOND:
name
: '&2Optional Test Item'
lore
:
- '&6Optional line'
- '&2Optional Second line'
max-drop
: 5
min-drop
: 1
replenishTime
: 100
dropOnPlayer
: true
I'm sorry for disappearing for a bit, but if you still have any questions or have any issues, dm me on discord at Meep#8596