Tekkit Restrict

[v1.00] Set "*" Permissions and MicroPermissions

Tekkit Restrict (requires Tekkit Classic)

"My initial opinion of having my own server was that players would get along. Boy, was I wrong. Only 2 days after my server's release, I already had 7 players who duped Gem Armor and blew up spawn about a trillion times. After setting gem armor to a certain rank, they then torched my spawn. After disabling most of EE until a certain playtime rank, they then found their own way around my disabling plugin. (noitem)

Then I decided to make Tekkit Restrict..." - DreadSlicer

TekkitRestrict Stats


  • Author: Taeir ([email protected])
  • Former Author: DreadEnd ([email protected])


Crash Prevention
  • Prevention of certain server crashing Tekkit Classic problems, like REP's in a deployer
Ban Items and Blocks
  • Ban items and blocks from vanilla Minecraft AND from any mod installed.
  • Customizable messages for why something is banned (v1.19+)
  • Limit the amount a player can place of a specific kind of block.
Limited Creative
  • Prevent the use (left/rightclick) of certain items in creative.
  • Make players unable to move valuable items over from creative to survival.
    • Prevent interaction with other inventories in creative.
    • Prevent the dropping of items in creative.
Limited Interacts
  • Disable the right/left clicking with items.
  • Highly customizable: Prevent clicking on a block/in the air/in safezones.
  • De-charge EE "Tools" upon entering a marked SafeZone.
  • Remove most entities in SafeZones. (not including dropped items, vehicles, players, etc.)
  • Force Ring of Arcana into "Earth" mode to prevent griefing.
  • Advanced integration with WorldGuard and GriefPrevention to mark all regions or specific ones as safezones.
  • Basic integration with Towny, Factions and PreciousStones to mark all regions as safezones.
  • Remove smelting recipes
  • Remove crafting recipes
  • Prevent the crafting of banned items and warn players so they don't waste ingredients.
    • As of v1.19, Tekkit Restrict can prevent crafting of banned items in ALL crafting tables, including project tables and automatic crafting tables, by integrating with forge.
Max EU
  • Set the maximum EU charge Electrical IC2 items can hold.
  • Change the speed at which Electrical IC2 items charge at.
EMC Value Changer
  • Set, change or remove EMC values from any item or block.
  • Ability to set a command that will be executed after someone has duped x amount of times.
  • Anti-Dupes for:
  • RM Furnace Dupes
  • Alchemy Bag + Void Ring/Black Hole Band Dupes
  • Transmutation Table + Klein Star Dupes
  • Tank Cart Dupes
  • Teleportation Dupe
  • Project Table + 2 players Dupe
  • Automatic Crafting Table Mk. 2 + Mining Laser/Mining Turtle/BlockBreaker Dupes
  • Ability to set a command that will be executed after someone has hacked x amount of times.
  • Anti-Hacks for:
  • Speed Hacks
  • Fly Hacks
  • Forcefield Hacks (hit players out of range/out of your field of view)
  • Split the server log output into various other files.
  • Filter out certain messages so they don't show up in the console.
  • Log the usage of EE Tools
  • Prevent the use of certain Gem armor abilities
  • Forcefully unload chunks when the total number is getting too high.
  • Prevent the placement of certain blocks next to locked machines/chests, to prevent people from stealing stuff with buildcraft pipes.
  • Display the server time used by each and every eventlistener on the server to see what plugins are causing lag.
  • Open and modify the alchemy bags and inventories of people, online and offline.
  • Teleport to places where there are alot of items on the ground.
  • Patch ComputerCraft to make sure people can't crash your server with ComputerCraft scripts.
  • Set the minimum time for RedPower timers to prevent lag.



  • Vault - Recommended permissions plugin. (it supports all other permission plugins)
  • PermissionsEx/PEX
  • GroupManager
  • WorldGuard
  • GriefPrevention
  • LWC
  • Factions
  • Towny
  • PreciousStones

Special Thanks!


The source is available on GitHub: TekkitRestrict GitHub

Dev Builds

Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.Link to jenkins


Tekkit Restrict uses Hidendra's plugin metrics system, and as of version 1.18 also uses TMetrics by Taeir. This means that the following information is collected and sent to mcstats.org and metrics.taico.nl:

  • A unique identifier
  • The server's Java version
  • Whether the server is in offline or online mode
  • The plugin's version
  • The minecraft version of the server
  • The OS version/name and architecture
  • The amount of CPU cores
  • The amount of memory allocated to your server
  • The number of players online
  • The Metrics version

If you wish to disable Metrics, you can do so by opt-ing out, which you can do in the Metrics config file under /plugins/PluginMetrics/
You can disable TMetrics in the General.config.yml file under /plugins/TekkitRestrict/


Tekkit Restrict has a built-in auto-updater, which connects to BukkitDev to check for updates. If you want to change or disable this behaviour, you can change the update settings in the General.config.yml file.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Taeir Taeir Jan 21, 2014 at 10:15 UTC - 1 like

    @Dablakbandit: Go

    I found some older tickets that described the same problem. At the time, it was supposedly fixed by disabling the AutoRPTimer, but this will not help in current versions. I completely changed the AutoRPTimer. It now just changes the min value in redpower, something server owners can set themselves in the redpower config. It's now nothing more than a convenient shortcut to set the minimal interval.

    EDIT: While typing this message and trying to explain what TekkitRestrict does, I might have found the problem.

    When the block 136 (redpower tubes, covers and wires) has to be removed (because it is banned, or blocked because it is placed near a LWC lockable), tekkitrestrict has to manually remove it's tile entity. When getting this tile entity, since the cover is only half placed at that time, strange things could occur.

    I will change when it removes the cover to see if that can fix the problem.

    My Plugins: Tekkit Restrict, OpenAlc
    Co-Owner of Ozonelayer (Server-Adress: ozonelayer.aurean.com:25565, Website: www.aurean.com)

  • Avatar of Dablakbandit Dablakbandit Jan 17, 2014 at 11:48 UTC - 0 likes

    @Taeir: Go

    I am using forge craftbukkit, as it is a tekkit classic server.



  • Avatar of Taeir Taeir Jan 11, 2014 at 21:04 UTC - 0 likes

    @Dablakbandit: Go

    I cannot seem to find the error in the ee code itself. Since the error is thrown in minecraft code at world.getTileEntity(), there is no way for me to catch the error. When I added a workaround where all calls from ee go to a method which does have a try catch, other mods started to get tile entity errors.

    Minecraft is coded synchronously, so the tile entity list should not be able to be modified within a tick. If an error like this one occurs, it means that a mod or a plugin is changing the list within a tick (asynchronously) or is looping through it and changing it in that loop. I don't see any part of the ee code where it loops through the list making changes to it, it only gets tile entities subsequently.

    I did a stress test with ee where I created more than 100000 collectors and relays, and no problems occured, apart from the expected immense lag and tps drop (10TPS). On bigger servers with a lot of players though, it seems to happen randomly and frequently.

    I do wonder, are you using spigot or craftbukkit+ +?

    Last edited Jan 11, 2014 by Taeir
  • Avatar of Taeir Taeir Jan 11, 2014 at 20:37 UTC - 0 likes

    @2sick4you: Go

    If you use spigot and an error occurs, it will list what each thread is doing at the time of the error, causing a massive error log. It only listed that the TR entity disabler thread is currently sleeping (doing nothing).

  • Avatar of robertjones6 robertjones6 Jan 11, 2014 at 20:34 UTC - 0 likes

    @tli08: Go

    That fix is in the next version of Tekkit Restrict, but as you can imagine Taeir is very busy at the moment so please be patient and it will be here soon :)

  • Avatar of Taeir Taeir Jan 11, 2014 at 20:29 UTC - 0 likes

    @theindel: Go

    Update to java 7

  • Avatar of tli08 tli08 Jan 11, 2014 at 12:04 UTC - 0 likes

    @Kixes: Go

    sort of, but i changed the Fly Tolerance (srry for bad eng, im swedish) to some litle higher :)

  • Avatar of Kixes Kixes Jan 10, 2014 at 18:12 UTC - 1 like

    Anybody else having the problem where people are being kicked for fly-hacking when they have the ring?

  • Avatar of theindel theindel Jan 04, 2014 at 15:55 UTC - 0 likes

    I'me having a BIG problem. I downloaded the most recent version of Tekkit Restrict. (TekkitRestrict 1.21 Beta 2 for 1.2.5 Dec 20, 2013)

    Whenever i try to start my server with this plugin, it doesn't load and gives me this error on the server console.

    10:47:32 [SEVERE] Could not load 'plugins/TekkitRestrict-1.21-Beta-2.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: nl/taico/tekkitrestrict/tekkitrestrict : Unsupported major.minor version 51.0
    	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:151)
    	at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:310)
    	at forge.bukkit.ForgePluginManager.loadPlugin(ForgePluginManager.java:55)
    	at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:231)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:221)
    	at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:197)
    	at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:59)
    	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:177)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.UnsupportedClassVersionError: nl/taico/tekkitrestrict/tekkitrestrict : Unsupported major.minor version 51.0
    	at java.lang.ClassLoader.defineClass1(Native Method)
    	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:249)
    	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:140)
    	... 9 more

    I don't know what to do. I have worldedit and Tekkit customizer also on the server

  • Avatar of Dablakbandit Dablakbandit Jan 03, 2014 at 19:13 UTC - 1 like


    Well... I found the problem. Its cause by the fact that all Collectors and Relays and Condensors are all register to the server as a TileEntity, and what happens is when a collector sends energy to a Relay which then sends it to a Condensor, each time it sends energy it registers in the TileEntity Array List, which being accessed by an Iterator's "next" when casting to a TileEntity. When you have HUNDRED's of collectors on the server it gets to the point where the array list cant handle it anymore and throws the exception "ConcurrentModificationException"

    Please I ask you to find a way to fix this, I'm having multiple crashes per day.

    Thanks, Dablakbandit

    Last edited Jan 04, 2014 by Dablakbandit


Date created
Aug 30, 2012
Last update
Mar 02, 2014
Development stage
  • enUS
GNU General Public License version 3 (GPLv3)
Curse link
Tekkit Restrict
Recent files