Caute. NEvíte, jak nastavit tekkitrestrict aby mi nebral 250% CPU využití ?
config:
Spoiler: zobrazit
Kód: Vybrat vše
#Configuration file for TekkitRestrict
#Author: DreadEnd
#Email: dreadslicer@gmail.com
#BukkitDev: http://dev.bukkit.org/server-mods/tekkit-restrict/
########################################################
## Some fast notes for you all. First, every option ##
## in this file is Reloadable. That means that by ##
## typing "/tr reload" in-game as an admin with ##
## "tekkitrestrict.admin", or typing "tr reload" in ##
## the console, you can reload every single config ##
## change in this file. ##
## ##
## Have fun, Play safe. Good luck. ##
## * DreadEnd * out. ##
########################################################
##############################
#######General Options########
UseAutoRPTimer: true
UseAntiFlyHack: true
UseAntiMovementSpeedHack: true
UseAntiForcefield: true
UseItemLimiter: true
UseOpenAlc: true
UseNoItem: true
UseChunkUnloader: true
RPTimerMin: 1.1
FlyLimitDailyMinutes: 99999999999
####ChunkUnloader####
# MaxRadii is in meters. 1 chunk = 16 meters.
MaxChunks: 2000
MaxRadii: 256
####Dupes####
PreventRMFurnaceDupe: true
PreventAlcDupe: true
PreventTransmuteDupe: true
# "RMFurnace", "alc", "transmute"
BroadcastDupes: ["rmfurnace", "alc"]
BroadcastDupeString: "[TRDupe] {PLAYER} tried to dupe using {DTYPE}!"
####Global EE Options####
AllowGemArmorOffensive: false
AllowGemArmorDefensive: false
####SafeZones####
UseSafeZones: true
SSDisableAllItems: true
#SSDisableGemArmor: true
SSDisableEntities: true
SSDechargeEE: true
SSDisableRingOfArcana: true
SSEnabledPlugins: ["factions","towny","preciousstones"]
#### Logging ####
LogLocation: "log"
LogNameFormat: "{DTYPE}-{MONTH}-{DAY}-{YEAR}.txt"
LogStringFormat: "[{HOUR}:{MINUTE}:{SECOND}] {INFO}"
LogIsEnabled: true
#--- Hacks/Dupes
LogFlyHack: true
LogMovementSpeedHack: true
LogForcefieldHack: true
LogDupes: true
#--- EE
LogAmulets: true
LogRings: true
LogDMTools: true
LogRMTools: true
LogEEMisc: true
LogEEDestructive: true
LogEECrafting: true
#LogGemPowers: true
#--- Commands
LogOpenAlc: true
LogConsole: true
LogDebug: false
#Anti-hacks (Global)
HackMoveSpeedMax: 2
HackMoveSpeedTolerance: 10
HackFlyTolerance: 70
HackFlyMinHeight: 2
HackForcefieldTolerance: 20
HackBan: []
HackKick: ["flyhack","forcefieldhack","speedhack"]
HackBroadcasts: ["flyhack","forcefieldhack","speedhack"]
HackBroadcastString: "[TRHack] {PLAYER} {ACTION} {HTYPE}!"
#"flyhack", "forcefieldhack", "speedhack"
#############################################
############ Advanced Functions #############
#############################################
#- EE
#- RedPowerCore
#- RedPowerControl
#- RedPowerLogic
#- RedPowerMachine
#- RedPowerLighting
#- WirelessRedstone
#- BuildCraft
#- AdditionalPipes
#- AdvancedMachines
#- IndustrialCraft
#- NuclearControl
#- CompactSolars
#- ChargingBench
#- PowerConverters
#- Mffs
#- RailCraft
#- TubeStuffs (Buffer, AutoCraftTableII, BlackHoleChest, Incinerator. Duplicator, Retrievulator)
#- IronChests
#- BalkonWeaponMod
#- EnderChest (EnderChest, EnderPouch)
#-----Cross-Mod------
#- ChunkLoaders
#- 200-3000
#- 246
#- "150:3"
RemoveDisabledItemBlocks: false
ChangeDisabledItemsIntoId: 3
DisableItems: []
#Limits the number of blocks a player can place. (Global)
#Please note that these cannot be changed in-game.
# ID Limit (Please use ONE space between the ID and limit to separate them)
#- 153 1
#- 100-200 1
#- "52:55 1"
LimitBlocks: []
#[] RecipeBlock removes the recipe from both vanilla and Forge mods.
# please note that once you remove a recipe with /tr reload + config,
# you must restart the server in order to get them back if you changed
# the config.
#- 27232
#- "126:3"
#- ee
RecipeBlock: [169, 239, 26522, "126:10", "126:11", 237, 26515, 27591, 27561, 27573, 27560, 7270, 27556, 27527, 27535, 26529]
#[] RecipeFurnaceBlock removes the recipe with the start item specified
# Below. AKA: bake some wood, remove recipe by removing
# the log, not the resultant, coal.
#- 27232
#- "126:3"
RecipeFurnaceBlock: [126:4, 126:3]
#Disable the left or right click of the item.
#- "27562 left" (All Item Data Types)
#- "27562-27566 left" (All Items in range)
#- "27562:1 left" (Single Item Data Type)
#- "27562:1 right" (Prevent right click)
#- "27562:1 left air" (Prevents clicking in the air with left click)
#- "27562:1 left block" (Prevents clicking on a block with left click)
#- "27562-27566 left air" (Prevents Range of Items from being clicked in air with left click)
#- "27562-27566 right block" (Prevents Range of Items from being clicked on a block with left click)
#- "27562-27566 right safezone" (Prevents Range of Items from being right clicked inside a SafeZone
#- "27562-27566 right air safezone" (Prevents Range of Items from being right clicked on air inside a SafeZone
DisableClick: ["26529 right", "26522 right air safezone", "26515 right ait safezone", "27527 right air safezone", "27556 right air safezone", "126:10-126:11 right", "169 right", "27563 right"]
#This will automatically decharge set EE items when a player enters a safezone. (Make your safezones very large)
# Requires SSDischargeEE to be true
DechargeInSS:
- 27526
- 27527
- 27530
- 27531
- 27533
- 27534
- 27535
- 27583
- 27593
- 27543
- 27544
- 27545
- 27546
- 27547
- 27548
- 27564
- 27565
- 27566
- 27567
- 27568
- 27569
- 27570
- 27573
- 27574
#MaxCharge limits the maximum EE charge of an item. (0-100%)
#- "27573 30" (This will set the max charge of a morning star to 30%)
#- "27564-27573 50" (This will Gimp ALL Red Matter Tools down to only 50% charge capacity)
MaxCharge: []
#LWC Protection Extension for Tekkit
# Prevents specified IDs from being placed next to a lockette unless
# CPrivate or Cmodified to give a player permissions.
# Useful for preventing players from "pumping" or breaking chests.
LWCPreventNearLocked:
- 4306
- 4301
- "150:1"
- 136
- 166
#Filter out your logs! All you have to do is enter a bit of the string of that console
# log that you want to filter out.
# ** cApsLOCK safe.
LogFilter:
- "joined with"
- "overloaded?"
- "could not get information about this craftbukkit"
- "sending serverside check to"
- "server permissions file permissions.yml is empty, ignoring it"
- "connection reset"
- "severe"
- "warning"
#Threading and performance. (times are in milliseconds)
#Note, the faster you set this to, your server is more likely to lag out.
# These numbers are in [Milliseconds]. (1000 milliseconds = 1 second)
#Do not edit these values unless you know what you are doing.
GemArmorDThread: 300
AutoDechargerThread: 400
SSEntityRemoverThread: 300
ItemDeleterThread: 500
WorldCleanerThread: 10000
AutoSaveThreadSpeed: 40000