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.
@DarkSinian
I believe the plugin is disabled by default in the config.
Lines 33 and 34 of the tekkitrestrict config.yml
Just remove - EnderChest
And yes I believe all the crash reports are due to this plugin as I am getting the same one as well.
00:53 CONSOLE: [SEVERE] at java.util.ArrayList$Itr.checkForComodification(Unknown Source) 22:00:53 CONSOLE: [SEVERE] at net.minecraft.server.World.getTileEntity(World.java:1644) 22:00:53 CONSOLE: [SEVERE] at net.minecraft.server.WorldServer.getTileEntity(WorldServer.java:45) 22:00:53 CONSOLE: [SEVERE] at ee.TileCollector3.sendEnergy(TileCollector3.java:478) 22:00:53 CONSOLE: [SEVERE] at ee.TileCollector3.sendAllPackets(TileCollector3.java:519) 22:00:53 CONSOLE: [SEVERE] at ee.TileCollector3.q_(TileCollector3.java:631) 22:00:53 CONSOLE: [SEVERE] at net.minecraft.server.World.tickEntities(World.java:1190) 22:00:53 CONSOLE: [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:569) 22:00:53 CONSOLE: [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467) 22:00:53 CONSOLE: [SEVERE] Unexpected exception 22:00:53 CONSOLE: [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 22:00:53 CONSOLE: [SEVERE] at java.util.ArrayList$Itr.next(Unknown Source)
Is this anything to do with the plugin? just asking :D
Another crash..
00:51:22 CONSOLE: [INFO] Connection reset 00:51:33 CONSOLE: [SEVERE] at java.util.ArrayList$Itr.checkForComodification(Unknown Source) 00:51:33 CONSOLE: [SEVERE] at net.minecraft.server.World.getTileEntity(World.java:1644) 00:51:33 CONSOLE: [SEVERE] at eloraam.core.TubeLib.isConSide(TubeLib.java:303) 00:51:33 CONSOLE: [SEVERE] at eloraam.core.TubeLib.getConnections(TubeLib.java:355) 00:51:33 CONSOLE: [SEVERE] at eloraam.core.TubeLib$RouteFinder.find(TubeLib.java:222) 00:51:33 CONSOLE: [SEVERE] at eloraam.core.TubeLib.findRoute(TubeLib.java:398) 00:51:33 CONSOLE: [SEVERE] at eloraam.machine.TileTube$1.schedule(TileTube.java:51) 00:51:33 CONSOLE: [SEVERE] at eloraam.core.TubeFlow.update(TubeFlow.java:76) 00:51:33 CONSOLE: [SEVERE] at eloraam.machine.TileTube.q_(TileTube.java:227) 00:51:33 CONSOLE: [SEVERE] at java.util.ArrayList$Itr.next(Unknown Source) 00:51:33 CONSOLE: [SEVERE] at net.minecraft.server.WorldServer.getTileEntity(WorldServer.java:45) 00:51:34 CONSOLE: [SEVERE] at net.minecraft.server.World.tickEntities(World.java:1190) 00:51:34 CONSOLE: [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:569) 00:51:34 CONSOLE: [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467) 00:51:34 CONSOLE: [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 00:51:34 CONSOLE: [SEVERE] Unexpected exception 00:51:50 CONSOLE: [INFO] Connection reset 00:52:02 CONSOLE: [INFO] Connection reset
red moring star works is that a bug and if can you fix it now my spawn is gone yay :-P
im getting server crashing and this coming up
15:36:39 CONSOLE: [SEVERE] at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819) 15:36:39 CONSOLE: [SEVERE] at java.util.ArrayList$Itr.next(ArrayList.java:791) 15:36:39 CONSOLE: [SEVERE] at net.minecraft.server.World.getTileEntity(World.java:1644) 15:36:39 CONSOLE: [SEVERE] at net.minecraft.server.WorldServer.getTileEntity(WorldServer.java:45) 15:36:39 CONSOLE: [SEVERE] at ee.TileCollector.sendEnergy(TileCollector.java:423) 15:36:39 CONSOLE: [SEVERE] at ee.TileCollector.sendAllPackets(TileCollector.java:433) 15:36:39 CONSOLE: [SEVERE] at ee.TileCollector.q_(TileCollector.java:561) 15:36:39 CONSOLE: [SEVERE] at net.minecraft.server.World.tickEntities(World.java:1190) 15:36:39 CONSOLE: [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:569) 15:36:39 CONSOLE: [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467) 15:36:39 CONSOLE: [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 15:36:39 CONSOLE: [SEVERE] Unexpected exception
This is exactly what I'm looking for, thanks! I'll be donating once I see how effective this plugin is.
Getting this crash.
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)
Hi there,
Firstly let me commend you on the plugin. It's exactly what Tekkit needs and I'm loving it on my server.
I'm having an issue on my server where Black Hole Chests are turned into dirt when someone without the bypass perm gets one in their inventory. The ID for them isn't banned anywhere, it's not in my perms, NoItem or TekkitRestrict.
Here is my pastebin: http://pastebin.com/dexj0LWg
Keep in mind beta plugins don't usually get donations until it leaves beta on to full release. I advertised your plugin recently so you should be getting more hits.
@dreadslicer
Not all admins are competent and usually rely on the plugin developer to have some sort of command to restore their inventory back to normal. I knew /openalch replaces my inventory, I just didn't know if there was a better way to restore it back to normal. Your first reply was me helping another user out with problems for your plugin. The second reply aimed at me was merely a heads up about something that would make your plugin more useful. I am aware that admins should only use /openalch but not all admins will know how to reset their inventory back to normal. I appreciate your plugin, I am a server own and a college student myself. I have little to no money to begin with, and virtually none to donate to plugin developers for an online game. I'm sorry for being poor.
Come on folks, Post your problems in Tickets. And, yes, /openalc replaces your inv. I already knew that after the first day of programming it in.
Don't expect too much in the next release, because
@defkult
In the list of stuff that I have to do, you want me to update something that is in one of the basic list of files? o.o erm... okay... I will get to it eventually.
@defkult
Lets just say this is a slight glitch that I will fix sometime in the future. That is why /openalc is best for only admins to use. Otherwise, it just dupes the other player's inventory.
@PiP69
Technically, the plugin is set up like any other plugin, but maybe I have to go further to setup non-PEX super-perms? I hope I do not...
@DepokBoy
It only loops through the entities. no, that number is not in TICKS. it is in MILLISECONDS. So, 50000 = 50 seconds.
So, setting it to 100 will make it run TEN TIMES in 1 second. so, yes, it will freaking lag out your server.
@DepokBoy
Console: openalc does not work... since you have to be a player to use it lol.
@Dreadcor
are you actually doing: DisableItem: - "126:6"
or are you just doing DisableItem: - 126:6
->>> (= ADDR 126 = 2185855)Also with the /openalch command, are changes in the target inventory saved? And there doesn't seem to be a command to change back to your inventory (/openalch <my name> <my alchemy bag color> works), could you introduce a command similar to "/openalch clear" to reset back to my inventory when I am done snooping around?
@PiP69
update your tekkitrestrict. In the log it says you have 0.1, the latest is .45 :P
I'm having problems. If I try any /tr from in game I get: An internal error occurred while attempting to perform this command. But from the console it work fine.
Not sure what is supposed to come up on the console, but I don't think its running right.
Console output. Also included is when I place a block. http://pastebin.com/3Mg9C9Ex
I'm new to running a server, so let me know if there is any other info you need.
@defkult
It works with any superperm plugin
So I read somewhere that this only works with PEX. Is there any ETA when it becomes compatible with other permission plugins (bPermissions especially). Or does it work already? I really want to add this, but I want to make sure it won't conflict with anything. Thanks for your effort!
You're right. It did work, it's just that the re-timer is attached to the WorldCleanerThread and it's configured at 50000 ticks (about 41 minutes) so I just change it to 100 ticks but I'm wondering, will it lag the server much?
@DepokBoy
No, I don't think so... I think it means "/tr" is not a command and you must use "/tr admin" instead (obviously without / for console)
EDIT: try "/tr help"?
when I type "tr" on the console it outputs:
03:11:17 [OFF] [tekkitrestrict] [TekkitRestrict Commands]
03:11:17 [OFF] [tekkitrestrict] Aliases: /tr, /tekkitrestrict
03:11:17 [OFF] [tekkitrestrict] /tr admin - list admin commands
03:11:17 [OFF] [tekkitrestrict] /openalc [player] [color] - Open Alchemy bag of player using color: 'white', 'lightblue', ect.
does that means the plugin is not on?
I need this plugin to limit the timer on the server I'm maintaining and somehow it does not do that. How can I make it work?
I got it working. But i have a new issue.
[123,345.67,"89:01"]
seems to work that way.
For some reason no matter which way i disable items.. It won't let me disable MK2 relays.. "126:6"
@dreadslicer
Allready used it and i like this plugin a lot more, well i can keep it as like kind of a warn for peopels who tried it agiens the rules. Once agien thanks a lot for your work!