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.
@Falcon_Hunter
I dont know how long it will be.
I will upload 1.21 Dev 3 b3 in 5 minutes. It fixes config spams, forcefieldhack triggering for mining nether ores and for using the archangel's smite and it fixes the flyhack triggering instantly when dropping a ring or swimming in lava with a volcanite amulet.
@Taeir
How long will that be until the next stable version.
Also bug found in 1.21 Dev 2 b2 about HackDupe.config.yml saying to delete it and tekkitrestrict will make a new one it does make a new one but it still notifies you of this error about 10 times if you do /tr warnings config and or /tr warnings all
Okay everyone, you can now download development builds from my website. These builds have not (yet) been approved by BukkitDev staff. Use them at your own risk.
Link: builds.taico.nl/tekkitrestrict
I would like to recommend you guys add a way to delay items? items like Destruction catalyst and katar right click would be better if we could add a delay to them :D
Hi Taeir
was wondering if i could have a quick chat, could you drop in on my teamspeak
voice.ruby-craft.net
@CPx1989
Will be fixed in the next version of tekkitrestrict. I do wonder, do you have mysql strict mode enabled?
I also have another problem:
[WARNING] [TekkitRestrict] [MySQL] Error when trying to execute query! Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR REPLACE INTO `tr_limiter` (`player`,`blockdata`) VALUES ('CPx1989','')' at line 1
But I have MySQL 5.6 which is the latest and all of the syntax is updated.
@Taeir
Currently unable to login to my server due to tekkit Auth errors. Will have a look tomorrow.
@Taeir
Let me hacke a look
@mythbuster01
Do you have the permission tekkitrestrict.noitem.*? Maybe you can make a ticket and post your permissions config there
@DanBeatYou_xD
First of all, setting 126:2 should work completely fine. See Ways to describe an item for more info.
Permissions are as follows:
Basically, the items you set as banned in the config cannot be overridden. They apply to all players on the server that do not bypass noitem. (The reason for this is performance. If tekkitrestrict would check for permissions overriding the config file, performance would be severely impacted)
For your situation, you should ban items with permissions. You set the items that should be banned for everyone in the config, and you set permissions for the rest.
Example:
Default:
Member:
(For other permission plugins you probably have to set -permission instead of :false to negate it.)
@Taeir
Hi, Certanly not. I'm an opped, I spawn my self some Covalance Dust, deop myself. It says Im not allowed to Modify/Obtain this item. My config files were al fine, regererated. I even looked in them and their was no restricted items.
@mythbuster01
Are you in creative mode? TekkitRestrict blocks alot of things by default in creative mode with limited creative. You can change these settings in the limitedcreative.config.yml or disable it completely in the general config.
A quick message for everyone: I highly recommend you update to TekkitRestrict v1.20 Release because 1.18 and 1.19 have a bug where the limiter simply deletes all limiter data of a player when he logs off.
I'm sorry that this major bug was ever included in a release version, but I was unaware that a piece of code was used by /tr admin limits clear AND by the limiter itself (to clear data from memory). When I changed the code to fix the clear command (to delete things not only from memory but also the database), I basically broke the limiter as it was referring to the same thing.
@JBDiggy
The config file is dependent on the version of TekkitRestrict (I added the armor functionality only in the latest version). One of your servers probably auto updated to the 1.20 release and updated its config file.
Hey guys quick question. I'm using Pex and tekkit restrict and wanted to limit specific items to a specific rank i.e. collector mk2 to member rank + I'm wanting to use the disabled config and add items to that and then within the pex file, bypass this line for specific ranks - is this possible and if so how.
what would be the code for the tekkit restrict that I can add into the pex rank, in order to allow this: - tekkitrestrict.bypass.id.[id here]? little unsure
Also a side note - in the disable items config, I can disable items i.e. nuke 237, etc however when it is a item like the collector mk2+ 126:2, it doesn't pick it up. How would you write it so it could identify the damage value as such - so can include quantum. currently I do:
DisabledItems:
- 237 - 27579 - 126:2 this does not seem to work tho Much appreciated
DanBeatYou_xD
Hi,
I would just like to report that I installed a blank Tekkit Restrict jar, with no current config files. As soon as I derank myself, deop myself. It says im not allowed that item in my inventory and removes it, this happenes with all IC2 items, e.g. World Anchors, Covalance Dust.
regards, Myth
@Taeir
Here's a copy of the config file...
PasteBin
I've double checked and it's definately not in there, I even regenerated the config on another server and it's identical :-/
That was with patch version 1.3 though so I'll try 1.4 asap and see if that makes a difference, thanks once again for a quick fix on the rings :)
Edit: Config still looks the same with the new patch version (1.4).
Another Edit: The config on one server reset this morning and the gem armour section has now appeared at the bottom, nothing changed so no idea why.
@JBDiggy
It does include gem armor? It is at the bottom of the EEPatch.config.yml.
Also, the fix for the rings not being blockable was infact in EEPatch. I uploaded 1.4 that contains the fix.
@Taeir
Ok, thanks for the quick response, looking over the config it gives some very useful options so cant wait to have a play with it on my test server :)
One thing I did notice though was it doesn't include Gem Armour, is inclusion of that possible / planned? Just curious more than anything.