bypassWorldGuard: If you dont want to create regions for "build:true" you can put this to true and NonSquareMines will manage the regions of the mines itself and will allow to mine to players that have permission for the mine even if the region is set to build false
secondsToCheckResets : Number of seconds to check if a mine is ready to reset. If the mine has reached the time reset or the percentage mined you configured for each mine.
secondsToUpdateSigns : Number of seconds to update all signs and holographics
materialForMine : Block that will be used to mark the 'mining blocks' when creating a Mine. See tutorial on media section
autoDisappearPlacedBlocks : Auto remove blocks player puts on a mine region
dropDisappearedPlacedBlocks : Drop instead of disappear blocks. Only works if autoDisappearPlacedBlocks is enabled
secondsToDisappearBlocks : Seconds to make blocks placed dissapear when autoDisappearPlacedBlocks is enabled
whitelistBlocksDisappear : List of blocks whitelisted to avoid them from disappearing when autoDisappearPlacedBlocks is enabled
blacklistBlocksPlace : List of blocks blcacklisted to avoid them from being placed on mine region
asyncResetMine : Configuration to make mine resets async to avoid lag spikes on resets when you have large mines. Recommended: true.
blocksResetsPerTask : Number of blocks that will reset per ticksDelayPerTask when asyncResetMine is enabled.
ticksDelayPerTask : Ticks for making each reset task when asyncResetMine is enabled.
layouts : List of layouts for Signs and Holographics.
#Use it if you want to bypass worldguard build protections in mines. #Putting it to true will let the minable blocks to be able to break without #an worldguard region with build allow bypassWorldGuard: true
#Clear lucky chests inventory when mine reset clearInventoryLuckyChest: true
#Seconds to check if the mines have to reset secondsToCheckResets: 1
#Seconds to update every signs or holographics secondsToUpdateSigns: 1
#Material used to build the reset blocks of a mine in the creation materialForMine: 'GOLD_BLOCK'
#Enable this if you want that the blocks that users put in a mine disappears in X seconds autoDisappearPlacedBlocks: true
#Enable this if you want that the blocks that disappears are drop. Only works if autoDisappearPlacedBlocks is enabled dropDisappearedPlacedBlocks: true
#Use it only if autoDisappearPlacedBlocks is enabled secondsToDisappearBlocks: 6
#Use it only if autoDisappearPlacedBlocks is enabled whitelistBlocksDisappear: - 'BEACON'
#Blacklist of items that cant be placed on mines blacklistBlocksPlace: - 'ICE'
#Async Resetting mine to avoid lag when a huge mine resets. #Totally recommended to have it true asyncResetMine: true
#If asyncResetMine is true this var sets the amount of blocks that will get in queue blocksResetsPerTask: 1000
#Ticks to reset a queue of blocks if asyncResetMine is set to true ticksDelayPerTask: 1
#Layouts for signs and holographics: #%current_per% -> Current percentage mined #%current_per_bar% -> Current percentage mined using bars #%minename% -> Mine name #%broken% -> Blocks broken #%total% -> Total blocks of the mine #%reset_per% -> Reset Percentage #%reset_time_extended_format% -> Reset time left extended version #%reset_time% -> Reset time left #%composition% -> Block composition of the mine (Just for holographics) #%text_composition% -> Block composition of the mine just using text (Just for holographics) #%top_mined_1% ... %top_mined_10% -> Top of blocks mined on the reset #%top_mined_player_1% ... %top_mined_player_10% -> Top of players that mined on the reset layouts:
default:
- 'Mine: &a%minename%' - '&b
%broken% &fmined' - '&b
%current_per% &r% mined' - Reset @ &c
%reset_per%&0%
These are the placeholders that can be used in the layout section of the configuration for signs and holographics
%current_per% : Current percentage mined
%current_per_bar% : Current percentage mined using bars
%minename% : Mine name
%broken% : Blocks broken
%total% : Total blocks of the mine
%reset_per% : Reset Percentage
%reset_time_extended_format% : Reset time left extended version
%reset_time% : Reset time left
%composition% : Block composition of the mine (Just for holographics)
%text_composition% : Block composition of the mine just using text (Just for holographics)
%top_mined_1% ... %top_mined_10% : Top of blocks mined on the reset
%top_mined_player_1% ... %top_mined_player_10% : Top of players that mined on the reset
API USAGE
It is a static api so you can use it as
NSMApi.method()
Some examples:
Code (Java):
publicstatic MineActive getPlayerMine
(Player player
); publicstatic List
<MineActive
> getMines
(); publicstatic MineActive getMine
(String name
);