NonSquareMines | Original Mines Plugin icon

NonSquareMines | Original Mines Plugin -----

Mines Management Plugin | Create your own shape for a mine without schem | MUST SEE



[​IMG]
[​IMG]

NonSquareMines is a professional mine plugin management that allows you to create mines from any shape without using schematics.

It will detect the blocks that have to be resetted and It will protect the other blocks such as decoration blocks. See mine examples

NOW You can even create InfiniteMines for Skyblock!

NOW You can even enable the combination of break decoration blocks and randomly reset blocks on mines like on this video:


It needs Lib1711 to work.

[​IMG]

[​IMG]

[​IMG]

[​IMG]

[​IMG]


[​IMG]
(All features explained at the wiki)

[​IMG]

  • 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.
Code (YAML):
#################################################################
#                        NonSquareMines                            #
#                        Configuration                            #
#################################################################

#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):

public static MineActive getPlayerMine (Player player ) ;
public static List <MineActive > getMines ( ) ;
public static MineActive getMine ( String name ) ;
 

Event Supported:

Code (Java):
@EventHandler
      public void onMineReset (MineResetEvent event )
      {
          //TODO
      }

HOW TO PUT A SIGN:

To setup a mine sign first you have to edit a mine, for example: /nsmine edit T
Then you will put a sign like this somewhere:

[​IMG]
[​IMG] [​IMG]

[​IMG]

Aliases

  • nsmine
  • nonsquaremines

Commands

  • nsmine
    • Shows the help menu
  • nsmine list
    • Shows the list of mines
  • nsmine vanish
    • Toggle vanish on a mine
  • nsmine convertmrlp
    • Convert all the mines from MineResetLite to NonSquareMines
  • nsmine tp <mine>
    • Teleports to a mine
  • nsmine info <mine>
    • Shows the info of a mine
  • nsmine create
    • Begin the creation of a mine
  • nsmine edit <mine>
    • Edits a mine
  • nsmine sel <mine>
    • Select the mine region with WorldEdit
  • nsmine cover <mine>
    • Cover all reset blocks with the block you have in your hand (it might be useful sometimes :D )
  • nsmine reset <mine>
    • Force the reset of a mine
  • nsmine disable <mine>
    • Disables a mine
  • nsmine enable <mine>
    • Enables a mine if it has been disabled
  • nsmine reload
    • Reload the plugin
[​IMG]
  • nsmine list
    • nonsquaremines.list
  • nsmine vanish
    • nonsquaremines.vanish
  • nsmine convertmrlp
    • nonsquaremines.convertmrlp
  • nsmine tp <mine>
    • nonsquaremines.tp
  • nsmine info <mine>
    • nonsquaremines.infomine
  • nsmine create
    • nonsquaremines.createmine
  • nsmine edit <mine>
    • nonsquaremines.editmine
  • nsmine sel <mine>
    • nonsquaremines.selectmine
  • nsmine cover <mine>
    • nonsquaremines.covermine
  • nsmine reset <mine>
    • nonsquaremines.resetmine
  • nsmine disable <mine>
    • nonsquaremines.disablemine
  • nsmine enable <mine>
    • nonsquaremines.enablemine
  • nsmine reload
    • nonsquaremines.admin.reload
[​IMG]


[​IMG]
[​IMG]
[​IMG]
[​IMG]

[​IMG]

If you have any question after reading the wiki, you can PM me or join our discord!

[​IMG]


Resource Information
Author:
----------
Total Downloads: 183
First Release: Oct 19, 2020
Last Update: Feb 6, 2024
Category: ---------------
All-Time Rating:
12 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings