Tekkit Restrict
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
- Author: DreadEnd ([email protected])
- Contributor: Taeir ([email protected])
Features
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+)
Limiter
- 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.
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.
Smelting/Crafting
- 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.
Anti-Dupes
- 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
Anti-Hacks
- 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)
Logging
- 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
Other
- 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.
Pages
Compatibility
- Vault - Recommended permissions plugin. (it supports all other permission plugins)
- PermissionsEx/PEX
- GroupManager
- WorldGuard
- GriefPrevention
- LWC
- Factions
- Towny
- PreciousStones
Special Thanks!
Source
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
Metrics
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/
Auto-updater
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.
@dreadslicer
Woaw. i could never do such a things like this, but another questien is there anything i can do for fixing the crash? and if im goin to turn something false what would happen?.
I am removing the "tried to throw items out of the alchemy bag and dupe!" The listener, instead, will search for Black Hole Bands and report if they are throwing items out WHILE using a Black Hole Band. Version 0.6 will have this and several other features.
@Arton123
Lots and lots of love for programming.
@smithy285
Created a ticket for this. This may as well will be released in the next release. Starting some of the development.
@Jawshee
Did you not set AutoRPTimer to false?
@smithy285
Indeed, without this plugin our tekkit server coulden't hold up. everything is so balance and grefing is fixed i love this plugin!. and it's free!? how can u keep it up doing this for us?
@dreadslicer
Hey dreadslicer I know you are getting a lot of requests to "fix" the plugin be other than that I think you should add a option so when someone attempts to dupe it sends a broadcast to the whole server. I love this plugin it has got to be the most important plugin on my tekkit server I have ever had, thank you so much keep up the good work.
Did a ticket, looks like the issue in the ticket keeps causing a crash :(
@Jordan717HD
Can you and Assertive PM me your plugin lists? You both have the same problem. I want to cross-reference them and find out what may be causing this.
@MinecraftB0ss
Oh dear lord, "Q"? >.> Yay! Although, for granted, that would take forever to dupe lol.
@defkult
Yes, I can't get the perm plugins to return a list of their permissions yet. (PEX spoiled me) I will try later when I don't have so much college breathing down my throat.
@MinecraftB0ss
0? Was that the "AutoDechargerThread" option? If so, you just made that thread go at the speed of the server... which is bad. very bad.
@Assertive
Not very well unfortunately. It's not a chunk loader, it's a chunk unloader. I was able to get it to remove all non-used chunks in a radius of 10 chunks when I logged into a test server. Not sure exactly what is happening, but maybe it is just Erroring out of the loop. I probably have to synchronize the thread for it to work.
diabling the AutoRPtimer fixed the crash issues for our server, just set it to false.
@offdps
Same were having the same issue when plugin is active the server will just crash about 15-20 mins of running
Does the Vault + Any SuperPerm Plugin crossed out mean that it only works with PEX now?
The Black Hole Band dupe still works if you throw an item out with the drop key, and have it in the alchemy bag. Just reporting this hope it gets fixed soon. I love this plugin and i appreciate your hard work!
I am getting this error on startup. the decharge thread is set to 0(dont run):
16.09 20:07:11 [Server] SEVERE at com.github.dreadslicer.tekkitrestrict.TDecharger.run(TRThread.java:85) 16.09 20:07:11 [Server] SEVERE at com.github.dreadslicer.tekkitrestrict.TDecharger.autoDecharger(TRThread.java:97) 16.09 20:07:11 [Server] SEVERE at org.bukkit.craftbukkit.CraftServer.getPlayer(CraftServer.java:305) 16.09 20:07:11 [Server] SEVERE at org.bukkit.craftbukkit.CraftServer.getOnlinePlayers(CraftServer.java:298 ) 16.09 20:07:11 [Server] SEVERE java.lang.NullPointerException 16.09 20:07:11 [Server] SEVERE Exception in thread "TekkitRestrict_DechargerThread"
Our red alloy stopped working again. Looks like that one isn't on you, lol.
Hopefully you get the other stuff fixed. How well is your chunk loader working?
everytime i try and use a command it gives me an internal error
@dreadslicer
What does UseAutoRPTimer do? and if i false it will that stop the server crash?
I wish you guys wouldn't spam the freaking comments with that.
If you want to disable this, PLEASE use:
@Assertive
There is an error somewhere in /tr. This is plugin-wide. this is why RMDupe still works and other stuff is crapping up.
Just pointing out that this was never fixed.
14.09 17:16:32 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 14.09 17:16:32 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467) 14.09 17:16:32 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:569) 14.09 17:16:32 [Server] INFO at net.minecraft.server.World.tickEntities(World.java:1190) 14.09 17:16:32 [Server] INFO at ee.TileCollector3.q_(TileCollector3.java:631) 14.09 17:16:32 [Server] INFO at ee.TileCollector3.sendAllPackets(TileCollector3.java:494) 14.09 17:16:32 [Server] INFO at ee.TileCollector3.sendEnergy(TileCollector3.java:478) 14.09 17:16:32 [Server] INFO at net.minecraft.server.WorldServer.getTileEntity(WorldServer.java:45) 14.09 17:16:32 [Server] INFO at net.minecraft.server.World.getTileEntity(World.java:1644) 14.09 17:16:32 [Server] INFO at java.util.ArrayList$Itr.next(Unknown Source) 14.09 17:16:32 [Server] INFO at java.util.ArrayList$Itr.checkForComodification(Unknown Source) 14.09 17:16:32 [Server] INFO java.util.ConcurrentModificationException 14.09 17:16:32 [Server] SEVERE Unexpected exception 14.09 17:16:32 [Server] SEVERE at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 14.09 17:16:32 [Server] SEVERE at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467) 14.09 17:16:32 [Server] SEVERE at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:569) 14.09 17:16:32 [Server] SEVERE at net.minecraft.server.World.tickEntities(World.java:1190) 14.09 17:16:32 [Server] SEVERE at ee.TileCollector3.q_(TileCollector3.java:631) 14.09 17:16:32 [Server] SEVERE at ee.TileCollector3.sendAllPackets(TileCollector3.java:494) 14.09 17:16:32 [Server] SEVERE at ee.TileCollector3.sendEnergy(TileCollector3.java:478) 14.09 17:16:32 [Server] SEVERE at net.minecraft.server.WorldServer.getTileEntity(WorldServer.java:45) 14.09 17:16:32 [Server] SEVERE at net.minecraft.server.World.getTileEntity(World.java:1644) 14.09 17:16:32 [Server] SEVERE at java.util.ArrayList$Itr.next(Unknown Source) 14.09 17:16:32 [Server] SEVERE at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
Sorry to say with all the work u had before but there is still problems dude :P
13:55:39 CONSOLE: [SEVERE] at java.util.ArrayList$Itr.checkForComodification(Unknown Source) 13:55:39 CONSOLE: [SEVERE] at java.util.ArrayList$Itr.next(Unknown Source) 13:55:39 CONSOLE: [SEVERE] at net.minecraft.server.World.getTileEntity(World.java:1644) 13:55:39 CONSOLE: [SEVERE] at net.minecraft.server.WorldServer.getTileEntity(WorldServer.java:45) 13:55:39 CONSOLE: [SEVERE] at eloraam.core.CoreLib.getTileEntity(CoreLib.java:84) 13:55:39 CONSOLE: [SEVERE] at eloraam.core.RedPowerLib.getConSides(RedPowerLib.java:562) 13:55:39 CONSOLE: [SEVERE] at eloraam.core.RedPowerLib.getConnections(RedPowerLib.java:807) 13:55:39 CONSOLE: [SEVERE] at eloraam.wiring.TileWiring.getConnectionMask(TileWiring.java:197) 13:55:39 CONSOLE: [SEVERE] at eloraam.core.RedPowerLib.updateBlockCurrentStrength(RedPowerLib.java:1227) 13:55:39 CONSOLE: [SEVERE] at eloraam.wiring.TileRedwire.updateCurrentStrength(TileRedwire.java:144) 13:55:39 CONSOLE: [SEVERE] at eloraam.wiring.TileWiring.onBlockNeighborChange(TileWiring.java:243) 13:55:39 CONSOLE: [SEVERE] at eloraam.core.RedPowerLib.updateCurrent(RedPowerLib.java:1208) 13:55:39 CONSOLE: [SEVERE] at eloraam.core.BlockMultipart.doPhysics(BlockMultipart.java:29) 13:55:39 CONSOLE: [SEVERE] at eloraam.core.RedPowerLib.notifyBlock(RedPowerLib.java:25) 13:55:39 CONSOLE: [SEVERE] at eloraam.core.RedPowerLib.updateCurrent(RedPowerLib.java:1220) 13:55:39 CONSOLE: [SEVERE] at eloraam.wiring.TileWiring.onBlockNeighborChange(TileWiring.java:243) 13:55:39 CONSOLE: [SEVERE] at eloraam.core.BlockMultipart.doPhysics(BlockMultipart.java:29) 13:55:39 CONSOLE: [SEVERE] at eloraam.core.RedPowerLib.notifyBlock(RedPowerLib.java:25) 13:55:39 CONSOLE: [SEVERE] at eloraam.core.RedPowerLib.updateIndirectNeighbors(RedPowerLib.java:48) 13:55:39 CONSOLE: [SEVERE] at eloraam.logic.TileLogicPointer.timerUpdate(TileLogicPointer.java:219) 13:55:40 CONSOLE: [SEVERE] at eloraam.core.TileExtended.updateBlockChange(TileExtended.java:98) 13:55:40 CONSOLE: [SEVERE] at eloraam.logic.TileLogicPointer.q_(TileLogicPointer.java:413) 13:55:40 CONSOLE: [SEVERE] at net.minecraft.server.World.tickEntities(World.java:1190) 13:55:40 CONSOLE: [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:569) 13:55:40 CONSOLE: [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 13:55:40 CONSOLE: [SEVERE] Unexpected exception 13:55:40 CONSOLE: [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)
My server is crashing every 20 minutes using this plugin.
@Assertive
I think your best bet would be to increase some of the thread rates to fix the red alloy problem.
@dreadslicer
Thanks very much! I pm'd you the image and this was with the latest version you posted on planet minecraft. It was the same method you just described though. Tested and confirmed with non-ops.
If you ever decide to log on, my name is pherce. Just shoot me a pm, otherwise no biggy. I'll wait for an update.
Btw, that chunk loader is pretty boss. Been waiting for something like this.