Tekkit Restrict

[v1.00] Set "*" Permissions and MicroPermissions

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

TekkitRestrict Stats

MCStats

  • Author: Taeir ([email protected])
  • Former Author: DreadEnd ([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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Taeir Taeir Oct 29, 2013 at 10:14 UTC - 0 likes

    @dom1298: Go

    That is something with the dev builds yes. I changed the way the GemArmor blocker works, but made a mistake. It will be fixed in the 1.18 release.

    My Plugins: Tekkit Restrict, OpenAlc
    Co-Owner of Ozonelayer (Server-Adress: ozonelayer.aurean.com:25565, Website: www.aurean.com)

  • Avatar of dom1298 dom1298 Oct 28, 2013 at 22:40 UTC - 0 likes

    @Taeir: Go

    Thanks to your response on that last error log. I think you may be right in assuming that this was simply a heap space error. I will continue to observe my server for this same issue occurring in the future.

    However, I Have recently seen a few of these error logs popping up in my console: http://pastebin.com/DiC7qUfK

    This error log may or may not be related, but I wander if it may be a slight issue with the latest dev build of TekkitRestrict.

    On a positive note though, TekkitRestrict appears to be using a lot less CPU than the dev build 1.17 and the new feature of using permission nodes to specify item limits is working seamlessly! :D

    Thanks, Dom

  • Avatar of SiclFromDenmark SiclFromDenmark Oct 27, 2013 at 16:05 UTC - 0 likes

    Plzz help me, tekkitrestrict starts with some banned items but i cant find a place where i can edit them! Plzz help :) If you help u can get Mod on Safetycraft.no-ip.org

  • Avatar of Taeir Taeir Oct 27, 2013 at 11:31 UTC - 0 likes

    @dom1298: Go

    Well, as far as I can see, everything in the EntityRemover thread is in a try catch, and should throw the warning: "An error occured trying to disable entities" when an error occurs. Since this didn't happen, I think that the "java.lang.OutOfMemoryError: Java heap space" caused the other errors. It seems the server ran out of memory while executing the entityremover thread and thus stopped it's execution.

    In other words, I think it was a mere coincidence that this error occured and the cause is in the too little memory. As you can see from the other errors, other threads are failing as well because there is not enough memory.

    At the moment, tekkitrestrict gets the list of all entities in the server, and checks for safezones and such while iterating over it. This takes alot of time and the list is often modified while tekkitrestrict is doing this. For this reason, I will see if changing it to go through the entities chunk by chunk is a better way.

  • Avatar of dom1298 dom1298 Oct 27, 2013 at 10:03 UTC - 0 likes

    Hi Taeir, this is an unusual error log which I found lying about on my console earlier, just before the server crashed and had a 4 hour downtime.

    From what I can see, it involved the tekkitRestrict entity remover, but would you mind taking a look at it and seeing what you think of it? It may be an issue with other servers using TekkitRestrict..

    Heres the error log: http://pastebin.com/pHQFA2ft (*Read from bottom to top*)

    I look forward to hearing your reply,

    Thanks a lot,

    Dominic Cotterill (Velikcraft Server Owner)

  • Avatar of Taeir Taeir Oct 24, 2013 at 12:22 UTC - 0 likes

    @robertjones6: Go

    Thank you for informing me of these crashes. I'm afraid I cannot fix the most serious ones (the ones that actually crash the server). The things that cause them are quite complicated and fixing them would require alot of time, effort and modifying the copyrighted mod files.

    The deployer stuff can easily be fixed and will be in the next version of tekkitrestrict. The computer crash is already automatically fixed if you run tekkitrestrict at least once (might be only in 1.18 dev versions).

    We just have to hope that other people dont get to know about the crashes.

  • Avatar of robertjones6 robertjones6 Oct 24, 2013 at 00:37 UTC - 0 likes

    dont know if you can fix them but it would be handy

  • Avatar of robertjones6 robertjones6 Oct 24, 2013 at 00:36 UTC - 0 likes

    ive set up a few potential crashes on Ozone, the owner said hes fine as its there just to show you and only staff + me can activate them also no one can get in the area

    heres the coords to tp directly to them

    X: +33 Y: 65 Z: -319

  • Avatar of Taeir Taeir Oct 23, 2013 at 09:40 UTC - 0 likes

    @iSattyCR: Go

    Ok i found the problem. Turns out I had forgotten a ")" somewhere. In order to setup teh tables, use the following queries:

    CREATE TABLE tr_dbversion (version NUMERIC(3,2));
    
    INSERT INTO tr_dbversion VALUES (1.2);
    
    CREATE TABLE tr_saferegion (id INTEGER PRIMARY KEY AUTO_INCREMENT, name TINYTEXT, mode TINYINT UNSIGNED, data TINYTEXT, world TINYTEXT) CHARACTER SET latin1 COLLATE latin1_swedish_ci;
    
    CREATE TABLE tr_limiter (player VARCHAR(16) UNIQUE, blockdata TEXT) CHARACTER SET latin1 COLLATE latin1_swedish_ci;
    
  • Avatar of WinMax22 WinMax22 Oct 22, 2013 at 15:07 UTC - 0 likes

    Awesome plugin, would it be possible to get a 1.5.2 version for updated tekkit packs & Ftb? Thanks.

Facts

Date created
Aug 30, 2012
Categories
Last update
Aug 02, 2014
Development stage
Mature
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Tekkit Restrict
Downloads
33,058
Recent files

Authors