Tekkit Restrict

Configuration

The config file itself is rather large, so I will break it down here. [Version 0.97]

Sections of the Config File

First off, there are many sections within the config file. Predominately, the major sections are:

  • General
  • Advanced

General Configurations

The General section lists a bunch of true/false values that configure how the plugin works.

General Options
# Enable RedPower timer Re-timer. This will set all timers below [RPTimerMin] to that limit.
UseAutoRPTimer: true

# Enables the AntiFlyHack, which is used to prevent fly hackers.
UseAntiFlyHack: true

# Enables the AntiForcefield, which is used to prevent people from hitting around them without looking that way.
UseAntiForcefield: true

# Enable the item limiter, which allows you to control how many blocks of a specific type a person may place.
UseItemLimiter: true

# Enable admins/mods to use OpenAlc (if they have tekkitrestrict.alc perm)
UseOpenAlc: true

# Enable the option to replace certain items with dirt
UseNoItem: true

# Enable Chunk Unloader. This will force unloadable chunks to be removed.
UseChunkUnloader: false

# Limit for RedPower Timing in Seconds
RPTimerMin: 1.1

# Limit the number of minutes a player may fly while using flyring or jetpack.
FlyLimitDailyMinutes: 99999999999
Dupes
# Prevents the Red Matter Furnace dupe by blocking off a certain slot in the inventory from being Shift+clicked.
PreventRMFurnaceDupe: true
# Prevents the Alchemy bag dupe by preventing players from throwing items out of their alchemy bags, especially if they have a Black Hole Band in one.
PreventAlcDupe: true
# Prevents the Transmutation Table dupe using a Klein star by blocking the shift+click with a Klein star out of the left slots.
PreventTransmuteDupe: true
# Logs Dupes to the console. (May or may not spam)
ShowDupesOnConsole: false
# Enables the Dupe broadcaster. Whenever somebody tries to dupe, it will be broadcasted server-wide.
BroadcastDupes: true
# This is the "String" which is said to everybody on the server whenever somebody tries to dupe.
BroadcastDupeString: "[TRDupe] {PLAYER} tried to dupe using {DTYPE}!"
Global EE
# Prevent somebody from turning on the Offensive powers of Gem Armor. (Admins included)
AllowGemArmorOffensive: false
# Prevent somebody from turning on the Movement powers of Gem Armor. (Admins included)
AllowGemArmorDefensive: false
SafeZones
# Enable the use of SafeZone Region Extensions
UseSafeZones: true
# Disable All Interactions inside of SafeZones (?)
SSDisableAllItems: true
# Disable Gem Armor from being "C"ed inside of Safezones.
SSDisableGemArmor: true
# Discharge EE Power Items inside of Safe Zones.
SSDechargeEE: true
# Disable Ring of Arcanas inside of Safe Zones.
SSDisableRingOfArcana: true
# Enables the use of certain plugins with SafeZones.
SSEnabledPlugins: ["factions","towny","preciousstones"]
Logging
# location of log folder (plugins/tekkitrestrict/)
LogLocation: "log"
# Format of the File names for each log. If you Remove DAY, then the log will last one month before a new one is created.
LogNameFormat: "{MONTH}-{DAY}-{YEAR}.txt"
# Format of each line inside the log file.
LogStringFormat: "[{HOUR}-{MINUTE}-{SECOND}] {INFO}"
# Is the Logger enabled to log stuffs?
LogIsEnabled: true
# Log Fly hacks?
LogFlyHack: true
# Log Forcefield hacks?
LogForcefieldHack: true
# Enable Dupe Logging
LogDupes: true
# Enable EE Amulet Logging
LogAmulets: true
# Enable EE Ring Logging
LogRings: true
# Enable EE Gem Power Logging
LogGemPowers: true
# Enable EE Dark Matter Tools Logging
LogDMTools: true
# Enable EE Red Matter Tools Logging
LogRMTools: true
# Enable EE Misc Logging
LogEEMisc: true
# Log Hyperkinetic Lens and Destruction Catalyst usage
LogEEDestructive: true
# Log Crafting of EE Items
LogEECrafting: true
# Log usage of /openalc command
LogOpenAlc: true

# Separates info from console into separate folders (/log/)
LogConsole: true
#Log Debug information (May slow down server if there is a lot of debug information)
LogDebug: false
Hacks
# Prevent players from flying or running REALLY Fast. (This is 2m/s)
HackMoveSpeedMax: 2
# Max Tolerance when over movement speed (1-3 seconds)
HackMoveSpeedTolerance: 10
# Prevent players for flying more than 3 seconds
HackFlyTolerance: 70
# Used to determine how a player is actually "Flying". Minimum is usually 2 blocks below the player.
HackFlyMinHeight: 2
# Used to determine How many times a player may "Attack" a target while they are not facing a monster or other player.
HackForcefieldTolerance: 20
#"flyhack", "forcefieldhack", "speedhack"
# Ban a user upon hacks (Please increase some of the stats on some of the hacks, because sometimes they may be false alarms.
HackBan: []
# Kick a user for hacking
HackKick: ["flyhack","forcefieldhack","speedhack"]
# Broadcast a player for hacking with this type of hack
HackBroadcasts: ["flyhack","forcefieldhack","speedhack"]
# String used when a player is detected hacking. This is broadcasted to the other players.
HackBroadcastString: "[TRHack] {PLAYER} {ACTION} {HTYPE}!"

Advanced Configurations

The Advanced section gives you the ability to list off certain items and have them do something.

Disable Item

Sometimes you don't want an entire mod to be disabled, but a particular item or range of items. You can do that! This will convert Disabled items in the inventory into dirt.

configuration example:

# Used for NoItem. This is the ID in which you convert items into if they are "Banned" or "Disabled" for that player. 0 = air.
ChangeDisabledItemsIntoId: 3
# Remove disabled blocks that are is use with (DisableItems)
RemoveDisabledModBlocks: false

DisableItems:
# Construction foam (id 222)
- 222
# Energy Collector (id 126, data id 2)
- "126:2"
# convert all items in the range 27562 - 27566 into dirt in somebody's inventory. 
- 27562-27566
# Disable all items from buildcraft
- BuildCraft
Recipe Block

Ever just want to prevent players from making STUFF? This stuff includes BANNED Items and stuff?

configuration example:

#Let's remove World Anchors!
RecipeBlock: 
- 214
- 4095
- 179
Furnace Recipe Block

Want to just remove all of those terrible farms that make people a ton of EMC? Just remove the recipe to make Blaze power!

configuration example:

#Let's remove blaze powder!
#  Remember to use the starting item for each recipe here.
RecipeFurnaceBlock: 
- 377
Limit Blocks

So, you have a Tekkit server, eh? Have you happened to notice that somebody built about 100 MK3 Flowers in a few days and your server is down a few ticks because of it? I have just the tool for you! The block limiter prevents people from placing a specific amount of blocks.

configuration example:

LimitBlocks: 
# Limit Mk3 Collectors to 32
- 126:2 32
# Limit Mk3 Antimatter Relays to 10
- 126:7 10
# Limit Energy Collectors to 2
- 128:1 2
Disable Click

Ever want to just pull your hair out when somebody uses a morning star on your house? Or when somebody shoots fireballs at you using a ring of arcana? Well, look no further!

Disable Click enables you to optionally select how a specific item may be "used" when a button is pressed. This can block left or right clicks on blocks or in the air.

configuration example:

DisableClick:
# if you right click with a morning star, it will be "Denied" use. 
- 27573 right
# you cannot right click in the air  with a Hyperkinetic lens.
- 27535 right air
# you cannot right click on a block with a Red Matter Hammer.
- 27570 right block
# It is forbidden to left-click on a block with most of the Red Matter Tools.
- 27564-27569 left block
Discharge EE Power Items in Safe Zones

What is one of the few things that most Power Items in EE have in common? Charge Level!!! What this does is set the EE power item's charge to zero in safezones, so they cannot grief with it.

This category is relatively straightforward, except for the fact that you can only enter single item ids. (Not ranges or item:Data pairs)

Max Charge

Do you want to just prevent people from having over-powered EE items? Sure. MaxCharge prevents players from charging EE Power items past a certain Percentage. (0-100)

configuration example:

MaxCharge: 
# lower the Morning Star's maximum charge level down to 90%.
- "27573 90"
# lower ALL EE Red Matter Tools (Except for morning star) maximum charge level down to 50%.
- "27564-27572 50"
LWC Protection

Ever wonder why people are still able to pump stuff out of people's chests or even break them by using block-breakers? Well, here is your answer!

configuration example:

LWCPreventNearLocked:
- 4306
- 4301
# Prevent filters, ect. from pumping or breaking LWC locked items.
- 150
- 136
Console Log Blocking

So many annoying console messages? =P Just want to get rid of them? Want to remooove those errors? Want them to never appear? Holy crap, look down!

configuration example:

LogFilter:
- "warning"

This will block any message that has "[WARNING]" in it. Useful for removing random errors and such.

Advanced Threading Speeds

This section in the advanced config is Both Experimental and may lead to bad server performance if configured incorrectly. The times are all in milliseconds.

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

  • 7 comments
  • Avatar of ApplePieRocks ApplePieRocks May 21, 2013 at 00:07 UTC - 0 likes

    @agw97: Go

    Not sure if this has been answered or what but I just found the solution to have it actually ban the items you wants and all the other goodies. You just edits all of it from the config file in the tekkit restrict folder.

  • Avatar of Gamerxp00 Gamerxp00 Apr 15, 2013 at 09:41 UTC - 0 likes

    I am having issues with disabling right click on ee tools. Can anyone help?

    Last edited Apr 15, 2013 by Gamerxp00: typo
  • Avatar of Julian90090 Julian90090 Feb 15, 2013 at 01:45 UTC - 0 likes

    @agw97: Go

    I am having the exact same issue

    DisableItems:
      - 4095
      - "213:15"
      - "126:10"
      - "126:11"
      - "250:15"
      - "254:1"
      - "254:2"
      - "254:3"
      - "254:4"
      - "254:5"
      - "254:6"
      - "254:7"
      - 237
      - 7303
      - 27538
      - "27538:1"
      - "213:11"
      - "214:0"
      - 127
      - 216
      - "150:12"
      - 26524
      - "246:5"
      - 233
      - "150:1"
      - 302
      - 27555
      - 30214
      - 239
      - 27531
      - 27530
      - "194:4"
      - 27533
      - "27533:1"
      - 27574
      - "27574:1"
      - 27584
      - "27584:1"
      - "27584:2"
      - "27584:3"
      - "27584:4"
      - "27584:5"
      - "27584:6"
      - "27584:7"
      - 7312
      - 27532
      - 27593
      - "27593:1"
    
    Last edited Feb 15, 2013 by Julian90090

    WORLDCRAFT Survival Minecraft/Tekkit Server

  • Avatar of agw97 agw97 Feb 12, 2013 at 19:11 UTC - 0 likes

    Hi - I'm trying to disable items but it doesn't seem to work. Any item with a data value doesn't seem to ban.

    1. Configuration file for TekkitRestrict
    2. Author: DreadEnd
    3. Email: dreadslicer@gmail.com
    4. BukkitDev: http://dev.bukkit.org/server-mods/tekkit-restrict/

    ########## # DisableItems Configuration # Permission: tekkitrestrict.noitem.ID.DATA

    1. - EE
    2. - RedPowerCore
    3. - RedPowerControl
    4. - RedPowerLogic
    5. - RedPowerMachine
    6. - RedPowerLighting
    7. - WirelessRedstone
    8. - BuildCraft
    9. - AdditionalPipes
    10. - AdvancedMachines
    11. - IndustrialCraft
    12. - NuclearControl
    13. - CompactSolars
    14. - ChargingBench
    15. - PowerConverters
    16. - Mffs
    17. - RailCraft
    18. - TubeStuffs (Buffer, AutoCraftTableII, BlackHoleChest, Incinerator. Duplicator, Retrievulator)
    19. - IronChests
    20. - BalkonWeaponMod
    21. - EnderChest (EnderChest, EnderPouch)
    22. -Cross-Mod-- - ChunkLoaders
    23. - 200-3000
    24. - 246
    25. - "150:3"

    ######

    RemoveDisabledItemBlocks: true ChangeDisabledItemsIntoId: 3 DisableItems: - 27564 - 27565 - 27566 - 27567 - 27568 - 27569 - 27570 - 27533 - 27537 - 27584 - 27593 - 27529 - 27588 - 27589 - 27590 - 27534 - 27538 - 6362 - 237 - 30208 - "30208:1" - "30208:27" - "27531:41" - 216 - 27527 - 27556 - 27530 - 27583 - "126:10" - "126:11" - 26522 - 127 - 27535 - 27556 - 7310 - 6257 - 27532 - 223 - 26524 - 26525 - 6357 - 153 - 239 - 46 - "27555:1" - 27572 - "27572:41" - 27573 - "27573:41" - "27573:1" - 27574 - 27583 - 27531 - "27583:41" - "27531:41"

    ###### ###### ######

    Probably an error on my part, but hey, I'm struggling with it! :(

  • Avatar of lgarant lgarant Jan 16, 2013 at 12:26 UTC - 0 likes

    Press enter after the first line , in the comment i put the second argument on the second line but it appear on the same line lol

  • Avatar of lgarant lgarant Jan 16, 2013 at 12:24 UTC - 0 likes

    You have to set it like this

    - 27526 right - 27526 left

    ( remove those '' quote '' ) It might be to hard to say that in the instruction lol or everybody supose to know that ?

  • Avatar of Normalius Normalius Dec 17, 2012 at 15:07 UTC - 0 likes

    Hello!

    Trying to configure Philosopher stone anti right click. TR1.10 (latest) DisableClick.config.yml: DisableClick: - "27526 right" - "27526:all right" - "27526:1 right" - "27526:11 right" - "27526:21 right" - "27526:31 right" - "27526:41 right" - "27526 left" - "27526:all left" - "27526:1 left" - "27526:11 left" - "27526:21 left" - "27526:31 left" - "27526:41 left"

    I tried them out one line at a time, separately. Maybe it needs :all? Please share your wisdom with me - and have good grades. :)

  • 7 comments

Facts

Date created
Sep 16, 2012
Last updated
Oct 15, 2012

Author