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.
@FTSxRY4Nx
could you possibly PM me your server IP and i will see if i can come on and help you resolve your problem
@monstermon5
You will have to wait until Taeir comes on, I have notified him of the error and you should get a response soon hopefully EDIT:
I have spoke to Taier and he says that error appears in older versions of tekkit restrict and no longer appears in current versions, you can ignore it but if it does bother it seeing you i would advise to upgrade your tekkit restrict to the latest released version
Sorry for spamming these comments with stuff.... but its broken again:
after it started working I added a few items to the noitem config (Nukes,TNT and ITNT) to see if it would still work and it did. I then added all the items i wanted banned aswell as put limits on some of them with the itemlimiter thing. Now every item i get changes to dirt and says its banned (even if it isnt in the noitem config)
Can anyone tell me what this means
Error: [Entity thread] null
24:34:23 [0:34:11] java.util.ArrayList$Itr.checkForComodification(Unknown Source)
24:34:23 [0:34:11] java.util.ArrayList$Itr.next(Unknown Source)
24:34:23 [0:34:11] com.github.dreadslicer.tekkitrestrict.TEntityRemover.disableEntities(TRThread.java:307)
24:34:23 [0:34:11] com.github.dreadslicer.tekkitrestrict.TEntityRemover.run(TRThread.java:283)
@FTSxRY4Nx
ok i was going to suggest that you pm me the server details and i would come and give you a bit of on server help but if you have managed to resolve your problems that's great news
Dosent matter now... ive made a new map on my server and that seems to have fixed the problem
Would anyone be able to send me their disable items config or something so i can just be lazy and use that xD
@robertjones6
I'm fine with banned items changing to dirt... its just it does it to every item.... even when i put nothing in the Disable Items config.
Also ive tried re installing it again and the same thing is happening... its fine when i disable the disable items but i kinda need that as like you said, there are items in this that can crash servers..
@FTSxRY4Nx
The changing an item to dirt is the NoItem Feature of Tekkit Restrict, i would advise that if you have started deleting things already to download the latest released version of tekkit restrict and look at the Disable Items Config and take out the id's you dont want to disable, you can also change what the item turns in to so changing 3 (dirt) to 0 (air) will completely take out the item.
If you wish to disable noitem, that feature can be found in the general config BUT i would not recommend this as their are items in tekkit classic that are dangerous and can crash servers and are pre-input on to the NoItem ban list for that reason
Hope this Helps
Ive got a problem... when i get ANY item thats not in vanilla minecraft in my inventory.. it changes to dirt and says removed a banned item in your inventory.. ive tried deleting the whole folder with all the configs in and used versions 1.2.0 and 1.2.1 but nothing has worked
@Taeir
What version is this implemented?
Thanks,
Dablakbandit
@Dablakbandit
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.
@Taeir
I am using forge craftbukkit, as it is a tekkit classic server.
Thanks,
Dablakbandit
@Dablakbandit
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+ +?
@2sick4you
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).
@tli08
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 :)
@theindel
Update to java 7
@Kixes
sort of, but i changed the Fly Tolerance (srry for bad eng, im swedish) to some litle higher :)
Anybody else having the problem where people are being kicked for fly-hacking when they have the ring?
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.
I don't know what to do. I have worldedit and Tekkit customizer also on the server