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.
@AbuRom so it should look like this for the scratch in TekkitRestrickt/ModModification right?
DEFAULT: EMC farm removal [Milk, Blaze Rod, Bonemeal]
SetEMC:
- "335 768"
- "377 308"
- "351:15 29"
and after you removed the " " and did /tr admin reload, it works untill restart? and after restart the " " is back as default? right?
i had the same problem BUT...
change it so it looks like this:
DEFAULT: EMC farm removal [Milk, Blaze Rod, Bonemeal]
SetEMC:
- "335 768"
- "377 308"
- "351:15 29"
- 335 768
- 377 308
- 351:15 29
its the config i have right now, and i tested to restart my server and its still fixed... :)
i hope it works for you :)
@tli08
I've done that, and it works... However... I ran into another issue... Just like tempset... It only lasts until a server restart. As soon as the server is restarted, I have to do /tr admin reload, for it to once again take effect. What could be causing this? :/
@AbuRom
change it from:
- "335 758"
- "377 198"
- "351:15 28"
to:
- 335 758
- 377 198
- 351:15 28
it worked for me :)
So... The EMC value setting doesn't work. Tempset works fine, however that changes as soon as a restart occurs.
Here are the current settings:
- "335 758"
- "377 198"
- "351:15 28"
I still get 2+ stacks of blaze rods from 1 stack of macerated blaze powder... Did I miss something?
Thanks
Hi is it possible for you guys to prevent the dupes with: buffer (194 and 137:2), retrievulator (194:5), disk drive (208), item loader and ADV item loader? because they are pretty annoying... would be glad if you could :)
ooh and btw.. can you do so they cant shift click anywhere inside the trans tab?
for more info about how the dupes are... add me on skype: Robbin_97
Metrics :) Image
@KflowWGT
What version did you update from? Some permissions might have changed.
@TurnipTheBeet
It is not made for newer versions of minecraft, but if you disable all features besides the limiter, it might just work. I recommend using the config files to set the limits. If you use PEX, permissions will probably not work.
@j0ach1mmall3
I am unable to patch this without altering the source code of the RailCraft mod itself. I'm currently awaiting response from the maker of RailCraft if he gives his permission for me to distribute the patch.
Please include the Chest cart + Item Loader dupe glitch
@KflowWGT
This is infact an error in your permissions with the tekkit restrict permission nodes, check you have the correct format and try again.
@Taeir
The mysql is not in strict mode.
@unga23
Hello,
This plugin was intended to be used for Tekkit Classic only, so 1.2.5 minecraft.
Tekkit restrict is turning all my items into dirt with the newest version even with all the specifications disabeled, i havnt had this issue until i updated.
Im running MCPC 1.6.4 and im getting this spam error when anyone on the server open his inventory or a crafting table!:
25.11 19:05:22 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:441) 25.11 19:05:22 [Server] INFO Caused by: java.lang.ClassNotFoundException: net.minecraft.server.EntityHuman 25.11 19:05:22 [Server] INFO ... 16 more 25.11 19:05:22 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:435) 25.11 19:05:22 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601) 25.11 19:05:22 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 25.11 19:05:22 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 25.11 19:05:22 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 25.11 19:05:22 [Server] INFO at nl.taico.tekkitrestrict.TRListener.onInventoryCloseEvent(TRListener.java:234) 25.11 19:05:22 [Server] INFO Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/EntityHuman 25.11 19:05:22 [Server] INFO at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) 25.11 19:05:22 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:662) 25.11 19:05:22 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:780) 25.11 19:05:22 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:327) 25.11 19:05:22 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:913) 25.11 19:05:22 [Server] INFO at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34) 25.11 19:05:22 [Server] INFO at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54) 25.11 19:05:22 [Server] INFO at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233) 25.11 19:05:22 [Server] INFO at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:470) 25.11 19:05:22 [Server] INFO at net.minecraft.network.packet.Packet101CloseWindow.func_73279_a(Packet101CloseWindow.java:23) 25.11 19:05:22 [Server] INFO at net.minecraft.network.NetServerHandler.func_72474_a(NetServerHandler.java:1705) 25.11 19:05:22 [Server] INFO at org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:720) 25.11 19:05:22 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) 25.11 19:05:22 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479) 25.11 19:05:22 [Server] INFO at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:31) 25.11 19:05:22 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 25.11 19:05:22 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:437) 25.11 19:05:22 [Server] INFO org.bukkit.event.EventException 25.11 19:05:22 [Server] SEVERE Could not pass event InventoryCloseEvent to tekkitrestrict v1.21 Dev 3
Two things I would love to see added are: 1) Stop redpower machines menu popping up when you right click other peoples protected machines (Have a bug on my server where when you rightclick someone elses protected mk.2 crafting table and try to put a item in it, it restarts the server)
2) Delay item config, that lets us add delays to any items we want
Please include the Chest cart + Item Loader dupe glitch
@AbuRom
That can be done very easily with GroupPermissions (see GroupPermissions.config.yml), just use group variations for your different worlds.
for example (based on PEX) create these two groups in that file:
member1: "134;223:1;233:0;246:5;207-208;27534;27536;"
member2: ""
and give the member group the permission:
- tekkitrestrict.creative.member1
in the usual way and ...
- -tekkitrestrict.creative.member1
- tekkitrestrict.creative.member2
... specifically for the second world.
In that example the first world represents the permissions you want in general and the second represents an exception to the norm.
I use this method myself and it works great, hope that helps.
Will this work on my 1.5.2 Ftb Unleashed server? I would like to limit how many quarries 1 person can have at one time and attempt to limit the size to try and reduce server lag.
Hmmm... Could it be possible to ban items in specific worlds?