I'm uploading this upon some server owners' request.
It is based on the original MineResetLite plugin and includes my bug fixes and new features.
Your current MineResetLite config should work across all server versions supported by the original MineResetLite + any new versions the original MineResetLite did not support.
Features:
- It supports non-cuboid shape mines such as Polygon2D, Cylinder, Ellipsoid in addition to a traditional cuboid. You can use WorldEdit to specify such complex shape mines.
- It works with v6, v7 and new-v7 WorldEdit (including FastAsyncWorldEdit).
- This version also supports 1.13 style block specification, it supports all the following formats:
- STONE
- 1
- STONE:2
- GRANITE
- 1:2
- <custom_block_name_ID> (if you have custom blocks from a plugin like ItemsAdder, you can put the custom block's ID).
- As of v3.0.0, features previously provided in MineResetLitePlus have been integrated (see "New commands & Permissions")
- If you want to display various placeholders in Sign/Holograms, you should. use PlaceholderAPI. This MineResetLite comes with built-in PlaceholderAPI expansion module (no need to install separate PAPI expansion). You can use those placeholders HolographicExtension, PAPISign (example of creating MineResetLite sign is on PAPISign's overview page) and DynamicSigns.
This resource is distributed under the same Apache License Version 2.0 and the original source code can be obtained from MineResetLite's source repository and modifications I made to this original are found here.
If you can make contributions towards updating or adding to the language files (phrases_xx.properties), please submit your pull request here.
- /mrl settp <mine name>
- Permission: mineresetlite.mine.settp
- This command will set the specified mine's reset spawn point to where you're standing.
- /mrl removetp <mine name>
- Permission: mineresetlite.mine.removetp
- This comamnd will remove the specified mine's reset spawn point.
- /mrl addpot <mine name> <potion name:amplifier>
- Permission: mineresetlite.mine.addpotion
- adds the potion effect <potion name> with <:amplifier> to <mine name>.
- mineresetlite.potion.<potiontype> (or mrl.potion.<potiontype>, or mrlp.<potiontype> : allows a player in a mine to have this potion effect.
- /mrl removepot <mine name> <potion name>
- Permission: mineresetlite.mine.removepotion
- removes the potion effect <potion name> from <mine name>.
- /mrl flag <mine name> resetPercent <value>%
- Permission: mineresetlite.mine.flag
- resetPercent : A integer number (0 < x < 100) specifying the percentage of mined blocks triggering the reset. Set to -1 to disable automatic percent resets.
- /mrl redefine <mine name>
- Permissions: mineresetlite.mine.redefine
- To redefine a mine, make a selection via either WorldEdit or /mrl p1/p2, then use this command to save the redefined mine to memory. Mine names are allowed to have spaces.
- /mrl setlucky <mine name> <number of lucky blocks>
- Permissions: mineresetlite.mine.setlucky
- This command will set the number of lucky blocks in the specified mine.
- /mrl list
- Permissions: mineresetlite.mine.list
- Simply enough, this command lists the names of all mines.
- /mrl p1 (-feet)
- Permissions: mineresetlite.mine.create
- This command will set your first MRL selection point to the block you are looking at. If you execute the command with the -feet argument, it will set your first point to the block you're standing on.
- /mrl p2 (-feet)
- Permissions: mineresetlite.mine.create
- This command will set your second MRL selection point to the block you are looking at. If you execute the command with the -feet argument, it will set your second point to the block you're standing on.
- /mrl create <mine name>
- Permissions: mineresetlite.mine.create
- To create a mine, make a selection via either WorldEdit or /mrl p1/p2, then use this command to save the mine to memory. Mine names are allowed to have spaces.
- /mrl info [mine name]
- Permissions: mineresetlite.mine.info
- To view information about a mine, such as its composition, automatic reset settings, or world, use /mrl info.
- Without the parameter [mine name], the plugin will presume you are looking for information about the mine you are standing in - this feature is only available to players, consoles will still be required to use the parameter and players can still use the parameter if they want to get information from a specific mine.
- /mrl set <mine name> <block name> <percentage>%
- Permissions: mineresetlite.mine.composition
- Example usages:
- Set the mine to contain 98% stone: /mrl set <mine name> stone 98%
- Set the mine to contain 50% birch log: /mrl set <mine name> log:2 50%
- Setting the percentage of a block already in the mine will always overwrite the old value in the mine. You cannot have a mine whose composition totals to be over 100%, however, you can have a mine with a composition of less than 100%. When a mine resets, if the composition is less than 100%, it is padded with air until the composition does equal 100%.
- /mrl unset <mine name> <material name>
- Permissions: mineresetlite.mine.composition
- To remove a block entirely from a mine's composition, such that the mine will no longer contain that block, use /mrl unset.
- Example usages:
- Remove stone from the mine: /mrl unset <mine name> stone
- Remove birch logs from the mine: /mrl unset <mine name> log:2
- /mrl reset <mine name> (-s)
- Permissions: mineresetlite.mine.reset
- /mrl reset will immediately reset the specified mine, also crediting the player who ran the reset command. If you wish to not have the mine broadcast the fact it was just reset, use /mrl reset <mine name> -s. This will no longer look for similar mine names, just the exact one.
- /mrl flag <mine name> <setting> <value>
- Permissions: mineresetlite.mine.flag
- /mrl flag most importantly modifies settings for automatic resets. Each flag is detailed below:
- resetDelay: The integer number of minutes between every mine reset. For example, if the resetDelay was 10, the mine would reset every 10 minutes.
- resetWarnings: A comma separated list of integer minute values to warn players of the imminent mine reset. For example, to display a warning at 10, 5, and 1 minute before the reset, set the value of resetWarnings to: 10,5,1,30s,10s,5s,4s,3s,2s,1s
If 'resetPercent' is specified, you can use this flag option to specify at what remaining %s, you display reset warning message(s). - fillMode: Boolean, whether or not to activate fill mode on reset of this mine. Fill mode means only blocks that are air will be changed. This mode is not commonly used on prison servers. NOTE: as of v4.0.3, this mode will reset the blocks whose material type does not belong to the mine.
- surface: A block type. When set to anything but air, sets the top block of the mine to always be the specified block after a reset. This hides "surface ores" that are freebies. When set to air, the flag is cleared.
- silent: Boolean. If true (the default), the mine will announce when it has been automatically reset. When false, the mine won't announce that. This flag doesn't apply to command-initiated resets.
- tpAtReset: A boolean (true or false) of whether or not players in the mine should be teleported at the reset.
- /mrl erase <mine name>
- Permissions: mineresetlite.mine.erase
- To completely and irrevocably remove a mine, simply delete it with /mrl erase.
- /mrl tp <mine name>
- Permissions: mineresetlite.mine.tp
- Teleports the player to the top of the centre of the mine.
Donation:
It would be greatly appreciated for your donation (PayPal: [email protected]) to continue providing support for this plugin.