Dupe Fixes / Illegal Stack Remover 2.1.5

Provided fixes for several vanilla bugs that allow players to dupe on your server.

  1. dNiym
    Native Minecraft Version:
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:

    Config Resetting? READ THIS!

    The following exploits are confirmed working as of Spigot 1.16:

    Tripwire Dupe Exploit
    Villager Trade Cheesing

    About the only 1.15 bugs that have been fixed so far is the zero tick glitch.. Additionally most long standing exploits such as portal dupes and bedrock destruction will likely never get fixed unless Mojang does it. Feel free to report these methods to Mojang maybe one day they will fix them.


    Protect your sever from over FIFTY glitches and dupes that have made it into final Spigot builds! This plugin supports all versions of Spigot from 1.8.8 to present. I try to keep it up to date with any new exploits that are found (from any version) So please feel free to contact me if you know of a vanilla game mechanic exploit that should be fixed!

    Got a question? need some help? Join our discord!

    New Wiki!
    This resource page was getting quite messy with all the new features that have been added to IllegalStack over the years, thus I have created a github page and a wiki for this plugin that is a comprehensive guide to every single protection and option in this plugin, along with a guide on how to use the in-game config editor! So please for more detailed information check out the:

    -->ESPANOL TRANSLATION Messages.yml<--

    Recent Plugin Updates:

    *New for version 2.1.3b*

    Added protection against players using dispensers/droppers to break end portals. -> Wiki Page
    FlekMoon, TiroZit, Nik3214 and 19 others like this.

Recent Updates

  1. Rail/Carpet Duper Protection for 1.16
  2. Bugfix Update
  3. Bugfix Update for 1.16

Recent Reviews

  1. CrushedCorpses
    Version: 2.1.4a
    Many players who have wanted to break the game on my server cannot thanks to this plugin, I highly recommend it!
  2. RaphaelSimon
    Version: 2.1.3b
    Even if people is pretty dumb and paste in the comments errors they've instead of using the common channels for doing it, i think you're doing an amazing job solving what mojang can't. You should have more much appreciation that what are you recieving from people right now.

    Guys, for fucks sake, instead of publishing comments as "this crash my server" or pasting your logs here, try to make this plugin better by using the ONLY documentation the plugin's owner gives to us. Is not hard, he's not even charging us for this amazing plugin. Atleast you could read what he's typing for us, FOR FREE.

    Geez, amazing job and i feel your work in Spigot is amazingly well done, your plugin is one of those i install the first along with AWE and EssentialsX.

    Keep the good work, even if some guys don't appreciate your work, i really do.

    Sincerely yours, a grateful user of your plugin.
  3. AsCrAnyelo
    Version: 2.1.3b
    > [02:30:27 ERROR]: Could not pass event InventoryMoveItemEvent to IllegalStack v2.1.3b
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.TileEntityHopper.a(TileEntityHopper.java:406) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.TileEntityHopper.a(TileEntityHopper.java:367) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.TileEntityHopper.m(TileEntityHopper.java:193) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.TileEntityHopper.c(TileEntityHopper.java:177) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1488) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:597) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:786) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
    Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.Inventory.getStorageContents()[Lorg/bukkit/inventory/ItemStack;
    at me.dniym.checks.CheckUtils.CheckEntireInventory(CheckUtils.java:80) ~[?:?]
    at me.dniym.listeners.fListener.onHopperXfer(fListener.java:505) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor519.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_242]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_242]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    ... 14 more

    server 1.8.8
    1. dNiym
      Author's Response
      Had you reported this with a message or via discord I could have fixed it sooner, now I'll have to upload another fix... In the future please send me a message or a message via discord.
  4. SoyJorge09
    Version: 2.1.3b
    Good plugin keep it up mate, I would like to know if the plugin is already compatible for version 1.16.1
    1. dNiym
      Author's Response
      the latest version now is updated for 1.16 i'll update the main page I forgot to do that!
  5. FrostyGaming_YT
    Version: 2.1.2e
    Amazing plugin! Works great for my server.
    I was wondering if you fixed the Llama/Donkey dupe glitch though, it doesn't matter if you haven't, as there is another plugin I have that fixes it. Just wondering :)
  6. YourPandaYt
    Version: 2.1.2e
    Obviously trolls just spamming alot of troll reviews, unneded and should be illegal. anyhow works like a charm
  7. SevJ6
    Version: 2.1.2e
    Thanks for adding the protection the reverts illegals in shulkers upon placing them! It really is helping out on my server!
  8. jfdkjfakdkm
    Version: 2.1.2e
    [06:18:39] [Server thread/ERROR]: Error occurred while enabling IllegalStack v2.1.2e (Is it up to date?)
    java.lang.NullPointerException: null
    at main.IllegalStack.loadMsgs(IllegalStack.java:312) ~[?:?]
    at main.IllegalStack.onEnable(IllegalStack.java:68) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:402) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:374) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:323) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:421) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:382) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:337) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:544) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]

    Version Minecraft: 1.12
    1. dNiym
      Author's Response
      Looks like your messages .yml file might have some bad values in it, try to rename this file and let the plugin regenerate it.
  9. PedoQwen
    Version: 2.1.2d
    Thank you very much, dude.
    Very useful and nice plug.
    Used this on Spigot 1.15.2 and it works
  10. Lilith88
    Version: 2.1.2d
    A very usefull plugin, works perfect on Spigot 1.12.2! - A must have for all economic servers. - No bugs found, clean work! :)