MineResetLitePlus 3.1.2

Must have plugin for Prison Servers! Adding extra functions to MineResetLite plugin.

  1. vk2gpz
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    This plugin adds extra functions to MineResetLite plugin.
    NOTE: As of MRL v3.0.0-VK, you don't really need this plugin. Most of MRLP's features are now in MRL-v3.0.0-VK.

    This plugin works with TokenEnchant plugin's explosive effect.

    The current extra functions are:
    • Percentage-based mine reset : you can specify at what percentage of the mine being mined will trigger the reset.
    • You can display the remaining minutes on a sigh with the placeholder %delay%.
    • PotionEffect : you can allow a player to have automatic potion effects when they are in the mine. These PotionEffects will not affect players' existing PotionEffects.
    • Login pushup: when a player logs in and if s/he is in the reset mine, s/he will be automatically pushed up to the surface.
    • Mine Statistic Sign : you can place a sign to display some stats on a specific mine
      • you can display:
        • number of blocks being mined
        • number of blocks being mined in %
        • % that trigger the mine reset
        • Minutes remaining until reset

    Donation:

    It would be greatly appreciated for your donation to continue providing support for this plugin.
    [​IMG]


    6338ff0b553f6c7118815b332bf74721.png 126b3597f645a82851b1ec02758e5724.png

    Test Server: Please drop me a line, I will let you know the test server detail.

    Commands:

    • /mrlp or /mrlp help : displays a help menu
    • /mrlp reload : reload config and sign files
    • /mrlp reset <mine_name1> <mine_name2> ... : resets the specified mines
    • /mrlp info <mine_name) : displays the information of the specified mine.
    Permissions:
    • mrlp.reload : allows you to do /mrlp reload
    • mrlp.mine.reset : allows you to use /mrlp reset <mine> command
    • mrlp.mine.info : allows you to use /mrlp info <mine> command
    • mrlp.<potiontype> : allows a player in a mine to have this potion effect.

    Installation:
    You need to install MineResetLite along with MineResetLitePlus.jar in the plugins folder.

    Code (Text):
    #
    # This is a configuration file for MineResetLitePlus
    #
    Messages:
      ErrorMsg : "&c[MRLP] : Some error occured."
      MineDoesNotExist: "&c[MRLP] : A mine called %mine% does not exist."


    HelpMessages:
      banner:
        msg: "=== &e[&aMRLP Commands List (%version%)&e] &r==="
      help:
        msg: "&a/mrlp help : displays this help menu."
      reload:
        msg: "&a/mrlp reload : reloads config file."
        permission: "mrlp.reload"
      debug:
        msg: "&a/mrlp debug <true|false> : turn on / off the debug mode."
        permission: "mrlp.debug"
      reset:
        msg: "&a/mrlp reset <mine>"
        permission: "mrlp.mine.reset"
      info:
        msg: "&a/mrlp info <mine>"
        permission: "mrlp.mine.info"

    #
    # whether allowing a plyer to have automatic potion effects in the mine or not
    # In order to let a player have those enabled (true) potion, the palyer
    # or his/her rank must have a permission node "mrlp.XXXXXX" (e.g. mrlp.NIGHT_VISION)
    # If you do not specify "amplifier", the default value 1 will be used.
    potions:
      NIGHT_VISION:
        enabled: true
      FAST_DIGGING:
        enabled: false
        amplifier: 1
    #
    #
    # whether the reset message is broadcasted to the players in the mine or not
    reset_bloadcast: true

    #
    #
    # interval to update Mine sign (in seconds)
    sign_update_interval: 10
    #

    # You can place a sign as:
    # 1st line: [mrlp_sign]
    # 2nd line: mine's name
    # 3rd line: layout name   (if ignored, "default" will be used)
    #
    # placeholders:                                    
    # %minename% => name of the mine                    
    # %maxblocks% => the number of blocks in the mine  
    # %broken% => the number of broken blocks          
    # %reset_per% => the percentage, that triggers the reset
    # %current_per% => the current percentage of blocks mined
    # %delay% => time (min) until the next reset        
    layouts:
    #you can change the default layout but don't delete it!
      default:
        layout:
          - 'Mine &a&l%minename%'
          - '&b%broken% &rmined'
          - '&b%current_per% &r% mined'
          - 'Resets @ &c%reset_per%%'
      time-base:
        layout:
          - 'Mine : &a%minename%'
          - '&b%delay% &rminutes'
          - 'until'
          - 'next reset.'[/B]
    #
    #
    # Effect for LuckBlock being mined.
    LuckyBlockEffect:
      Effect: "MOBSPAWNER_FLAMES"
      Sound: "AMBIENCE_THUNDER"

    #
    # The percentage of blocks being mined to trigger reset, or
    # The time (in minute) to triger reset.
    # <mine name>:
    #   per: <percentage>
    #   # or time based
    #   time: <time in minute>
    #   lucky_blocks: <num>
    #   lucky_commands:
    #     - <command;command;command...>
    #     - <command;command;command...>
    #     - <command;command;command...>
    A:
      per: 0.9
      lucky_blocks: 2
      lucky_commands:
        - "tokenenchant add %player% 3;tm msg %player% &aLucky Block! <nl>&aYou received 3 tokens!"
        - "tokenenchant add %player% 1;tm msg %player% &aLucky Block! <nl>&aYou received one token!"
        - "tokenenchant add %player% 5;tm msg %player% &aLucky Block! <nl>&aYou received 5 token!"
        - "crate givekey %player% common 1;tm msg %player% &aLucky Block! <nl>&aYou received a common key!"
        - "crate givekey %player% rare 1;tm msg %player% &aLucky Block! <nl>&aYou received a rare key!"
    B:
      per: 0.9
      lucky_blocks: 5

     
    Adrician, marcosvbl, MCC321 and 16 others like this.

Recent Reviews

  1. AY11
    AY11
    2/5,
    Version: 3.1.2
    23:02:19 ERROR]: Could not pass event TEBlockExplodeEvent to MineResetLitePlus v3.1.2
    org.bukkit.event.EventException: null
    at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) ~[paper-1615.jar:git-Paper-1615]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[paper-1615.jar:git-Paper-1615]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[paper-1615.jar:git-Paper-1615]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[paper-1615.jar:git-Paper-1615]
    at com.thepurplehoser.tokenenchant.potions.SlicingPotion$b.run(SlicingPotion$b.java:367) ~[?:?]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[paper-1615.jar:git-Paper-1615]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[paper-1615.jar:git-Paper-1615]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:840) ~[paper-1615.jar:git-Paper-1615]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[paper-1615.jar:git-Paper-1615]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[paper-1615.jar:git-Paper-1615]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[paper-1615.jar:git-Paper-1615]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]
    Caused by: java.lang.IllegalArgumentException: bound must be positive
    at java.util.Random.nextInt(Unknown Source) ~[?:1.8.0_201]
    at com.vk2gpz.mineresetliteplus.e.a(e.java:172) ~[?:?]
    at com.vk2gpz.mineresetliteplus.d.onExplode(d.java:179) ~[?:?]
    at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:35) ~[paper-1615.jar:git-Paper-1615]
    ... 11 more
    THIS WILL CRASH!!!!!!!!!!!!!!!!!!!!!!!!!!!
    1. vk2gpz
      Author's Response
      You haven’t purchased TokenEnchant plugin. If you use a leaked plugin, you won’t get any support.
  2. CHeesy
    CHeesy
    3/5,
    Version: 3.1.2
    Decent plugin, but there are issues and the creator does a terrible job at responding. If he does respond he is just very vague and does not really answer your problems.
    1. vk2gpz
      Author's Response
      no much I can do when a user mixes this plugin with the latest MRL-vk.
  3. 8-bits
    8-bits
    5/5,
    Version: 2.8.0
    Wow! Thankkssss! great work :D you could try adding a reload rate when the player comes close enough to sign
  4. DinoMikkiFTW_YT
    DinoMikkiFTW_YT
    4/5,
    Version: 2.8.0
    Good plugin. Would be 5 star but the Mined feature does not seem to be working. I have made a ticket
    1. vk2gpz
      Author's Response
      You need to configure the plugin for each mine you made.
  5. Cronusmaker
    Cronusmaker
    5/5,
    Version: 2.8.0
    nice and cool plugin

    but I could not integrate it with my Crates plugin
    so I could by dropping keys and fragments
    for players to trade in an npc
    I wanted to know more about how this luck block works
    because it apparently only works with tokenenchat
    1. vk2gpz
      Author's Response
      it's nothing to do with tokenenchant. I just put tokenenchant command as an example. you can execute any command there.
  6. MrEminent42
    MrEminent42
    5/5,
    Version: 2.7.0
    Awesome plugin! Perfect addon to MRL, and does exactly what I need. Really appreciate the author's additions to the original MRL.
  7. Cengiz
    Cengiz
    5/5,
    Version: 2.7.0
    This so nice but needs more features like holograms for each mines? Could you add the hologram feature?
  8. OMGBlameSloths
    OMGBlameSloths
    5/5,
    Version: 2.5.0
    really good plugin but im getting a error when tryting to use signs

    9.08 22:41:13 [Server] ERROR Could not pass event SignChangeEvent to MineResetLitePlus v2.5.0
    29.08 22:41:13 [Server] INFO org.bukkit.event.EventException
    29.08 22:41:13 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
    29.08 22:41:13 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
    29.08 22:41:13 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
    29.08 22:41:13 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
    29.08 22:41:13 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1864) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
    29.08 22:41:13 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInUpdateSign.a(SourceFile:49) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
    29.08 22:41:13 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInUpdateSign.a(SourceFile:11) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
    29.08 22:41:13 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
    29.08 22:41:13 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_112]
    29.08 22:41:13 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_112]
    29.08 22:41:13 [Server] INFO at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
    29.08 22:41:13 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
    29.08 22:41:13 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
    29.08 22:41:13 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
    29.08 22:41:13 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
    29.08 22:41:13 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
    29.08 22:41:13 [Server] INFO Caused by: java.lang.NullPointerException
    29.08 22:41:13 [Server] INFO at com.vk2gpz.mineresetliteplus.MineResetLitePlusEventListener.onSignChange(MineResetLitePlusEventListener.java:127) ~[?:?]
    29.08 22:41:13 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_112]
    29.08 22:41:13 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_112]
    29.08 22:41:13 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_112]
    29.08 22:41:13 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_112]
    29.08 22:41:13 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
    1. vk2gpz
      Author's Response
      because the mine which was associated with a sign you previously set no longer exist.
  9. StarGosth005
    StarGosth005
    3/5,
    Version: 2.5.0
    Need help crash report : [18:54:40 ERROR]: Could not load 'plugins/MineResetLitePlus.jar' in folder 'plugins'
    org.bukkit.plugin.UnknownDependencyException: MineResetLite
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:219) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:292) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
    at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
    1. vk2gpz
      Author's Response
      please read the description. this plugin is a plugin which provides extra function to MineResetLite. To use this plugin, you need to have MineResetLite installed...
  10. IEpicDestroyer
    IEpicDestroyer
    4/5,
    Version: 2.5.0
    Great plugin, adds onto MineResetLite, these features should be just in the actual plugin..

    The plugin, however, hangs the server at start up for 10 seconds which I think is a bit unacceptable, as it does this at 100% on my vps... The code should be more efficient at start up instead of taking 1/5 of my server start up...
    1. vk2gpz
      Author's Response
      ??? you should submit a support ticket with the profile of my plugin taking up your VPS's resource. leaving a review like this is not going to help at all.