Jump to content

Tips for Running a Tekkit Classic Server


rcmaehl

Recommended Posts

Background:

Back in late 2013 and early 2014, I had been running a Tekkit Classic Anarchy Server with an average of 10+ players on at any time and No Banned Items. I was able to maintain near 99% uptime with 18+ TPS on this server. The uptime and TPS were done by various configuration file changes as well as various plugins. The no banned items was done by various patches and disabling either part of, or the entirety of, the item/block instead of banning the whole block/item. Some of what I've done as well as others is below.

Disclaimer:

I will offer as much support as I can for your issues with this pack, however, I am not responsible if you server fails to maintain 99% to 100% uptime or is not to your satisfaction. A great server requires hours of configuration tweaking to fit your hardware, and your players, the best.

Configuration File Changes:

Note: Anything marked with '*' is optional and can be blocked with a plugin instead, however more than a half of these can reduce server load that a plugin can't.

  • /buildcraft/config/AdditionalPipes.cfg:
    • * Change TeleportTether.Enabled=true to TeleportTether.Enabled=false
      • This disables one of the chunk loading blocks that can cause your server to lag.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
    • * Change TeleportTether.id=179 to TeleportTether.id=0
      • This disables one of the chunk loading blocks that can cause your server to lag.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
  • /buildcraft/config/buildcraft.cfg:
    • Change network.updateFactor=10 to network.updateFactor=20
    • Can be set higher for even less lag.
    • Decreases the block updates of BuildCraft.
  • /config/railcraft/railcraft.cfg:
    • * Change cube.world.anchor=true to cube.world.anchor=false
      • This disables one of the chunk loading entities that can cause your server to lag.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
    • * Change utility.loader.item=true to utility.loader.item=false
      • This disables one of the items used to massively dupe on your server.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
    • * Change utility.loader.item.advanced=true toutility.loader.item.advanced=false
      • This disables one of the items used to massively dupe on your server.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
    • * + Change entity.cart.anchor=134 to entity.cart.anchor=0
      • This disables one of the chunk loading entities that can cause your server to lag.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
    • * Change entity.cart.tank=126 to entity.cart.tank=0
      • This disables one of the items used to massively dupe on your server.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
    • * Change entity.cart.bore=131 to entity.cart.bore=0
      • This disables a train cart that tunnels all by itself and can lag your server.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
    • * Change cube.world.anchor=true to cube.world.anchor=false
      • This disables one of the chunk loading blocks that can cause your server to lag.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
  • /config/EnderStorage.cfg
    • * Change block.id=178 to block.id=0
      • This disables one of the blocks that can be used to crash your server under certain circumstances.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
  • /config/IC2.cfg:
    • Change explosionPowerNuke=35.0 to explosionPowerNuke=16.0
      • Can be set lower for even less lag
      • This GREATLY decreases the power of a nuke.
      • This GREATLY decreases the block updates of a nuke.
    • Change explosionPowerReactorMax=45.0 to explosionPowerReactorMax=16.0
      • Can be set lower for even less lag
      • This GREATLY decreases the power of a nuclear reactor exploding.
      • This GREATLY decreases the block updates of a nuclear reactor exploding.
  • /config/IC2NuclearControl.cfg:
    • Change maxAlarmRange=128 to maxAlarmRange=64
      • Can be set lower for even less annoyance
      • This reduces the range of alarms that can be used to annoy other players.
  • /config/immibis.cfg:
    • * Change chunkloader.id=4095 to chunkloader.id=0
      • This disables one of the chunk loading blocks that can cause your server to lag.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
  • /config/ModularForceFieldSystem.cfg:
    • Change maxDeflectorDistance=10 to maxDeflectorDistance=5
      • Can be set lower for even less lag
      • This decreases block updates caused by Deflector force fields
    • Change maxProjectorSize=32 to maxProjectorSize=16
      • Can be set lower for even less lag
      • This decreases block updates caused by Projector force fields
    • Change maxTubeRadius=5 to maxTubeRadius=3
      • Can be set lower for even less lag
      • This decreases block updates caused by Tube force fields
    • Change refreshSpeed=100 to refreshSpeed=1000
      • Can be set higher for even less lag
      • This decreases block updates caused by force fields
  • /config/WirelessRedstone.cfg:
    • * Change triangulator.id=6101 to triangulator.id=0
      • This disables an item that will constantly spam console with 20+ messages per second when used.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
  • /redpower/redpower.cfg:
    • Change blockbreaker.blacklist="" toblockbreaker.blacklist="4,49,128,179,194,214"
      • This disables a few dupes and EMC farms..
    • Change deployer.blacklist="" to deployer.blacklist="179,213,214,6362"
      • This patches an exploit that can be used to crash your server, as well as a few dupes.
    • Change whenfull="drop" to whenfull="vanish"
      • This causes items to be destroyed instead of dropped which would cause your server to lag.
  • /bukkit.yml:
    • Change monsters: 70 to monsters: 35
      • Can be set lower for even less lag
      • This makes less monsters spawn per chunk and will lag your server less.
    • Change animals: 15 to animals: 10
      • Can be set lower for even less lag
      • This makes less animals spawn per chunk and will lag your server less.
    • Change water-animals: 5 to water-animals: 2
      • Can be set lower for even less lag
      • This makes less squids spawn per chunk and will lag your server less.
    • Change animal-spawns: 400 to animal-spawns: 1000
      • Can be set higher for even less lag
      • This makes animals wait to spawn and will lag your server less.
    • Change monster-spawns: 1 to monster-spawns: 250
      • Can be set higher for even less lag
      • This makes monsters wait to spawn and will lag your server less.
  • /server.properties:
    • Change view-distance=10 to view-distance=8
      • Can be set lower for even less lag
      • This decreases the number of chunks loaded per player.

Server Player Counts:

 

This is something I see a lot of people having issues with.They start a server, it's popular for a bit, then it basically withers and dies. The main reason for this is that the server owner doesn't advertise, either at all or enough, after their first post. If you want players, you must actively advertise on as many means as possible. A few places to advertise are MinecraftForumsTekkitServerList, PlanetMinecraftMineStatus, Facebook, and even Craigslist.

 

Server Staff:

This is really a tough topic. The simplest way is to check their knowledge of tekkit without them knowing. TP to their base. Any overflowing pipes? They shouldn't be staff. Any lag machines (cobble farms, sugarcane farms, anything that's left running 24/7)? They shouldn't be staff. After they pass this, I recommend doing some background checking. Don't trust the player. Google their IGN and "minecraft" [e.g. "rcmaehl minecraft"], check for bans (actually do a thorough search, I usually spend upwards of 30 minutes searching backgrounds on player). If they have too many bans, or even no minecraft history whatsoever, they shouldn't be staff. Moving on, check for spelling and grammar. A good staff member will be able to communicate with other players well and clearly. If the players can't understand the staff member, they'll easily get frustrated. Finally, use your common sense. Does the player easily get frustrated/upset, cuss at people, or verbally attack (insult) people? If so, they shouldn't be staff. A good staff member should be able to deal with players and issues without easily being emotionally compromised.

So... Checklist:

  • No overflowing pipes
  • No lag machines
  • Has a minecraft history of at least 4+ google pages
  • Has no bans
  • Can speak proper English or whatever the Primary language of your server is
  • Does not get easily frustrated or upset in a manner that causes them to cuss at people or verbally attack people.

Patches and Plugins:

If you are sane you install all of these plugins and patches to your server. WARNING: Be sure to install the CB 1.2.5 Version of plugins. If there is not a CB 1.2.5 Version, install the closest version to 1.2.5.

  • Plugins:
    • BanMePlease
      • AutoBans GM hackers if you don't patch NEI
    • CapsBlock
      • Removes TEXT LIKE THIS ZOMG CAPS!!!111!
    • CommandHelper
      • Can be used to replace plugins
      • Make you own lag free commands
      • REQUIRES: WorldGuard
      • REQUIRES: WorldEdit
    • CommandSpy
      • See all sign text written
      • See all commands run by player
    • LagMeter
      • Check Server Lag (TPS)
    • RedstoneClockDetector
      • Detects Clocks and Allows TP for inspection
      • Detects Timers and Allows TP for inspection
    • StopThatLag
      • Lag Prevention
      • Tells you were lag might be coming from
    • TekkitRestrict
      • All Purpose
      • Block Hacks
      • Block, Ban, or Restrict Items
      • Lag prevention options
      • Stops Dupes
      • Works with EE Patch to allow customization
      • WARNING: Do not use AlchemicalChestFix with TekkitRestrict. TekkitRestrict contains the fix as of 1.20 Dev 2, and using them both could cause items to be duped.

Various Extras:

  • Clean up your worlds often
    • Remove the builds of players that haven't been online for a very long time
  • Look into Minecraft RemoteToolkit
    • Adds Auto-Save options
    • Adds Auto-Restart options
    • Adds Auto-Restart on error options
    • Adds Auto-Restart on crash options
    • Adds Telnet Console, Great for monitoring and running your server from a phone or mobile device
  • Have your Tekkit Classic Server restart every 12 hours
    • Can be more often for even less lag
  • If you backup your tekkit server, copy the files on the server to a new folder on the server instead of straight to your PC. Afterwards, launch the server and download the copy.
    • This reduces server downtime to only an hour or two instead of 6 or more.

Want to Download a Pre-Patched server?

WARNING: Do not use AlchemicalChestFix with this Server. The server already contains this patch and using both will allow items to be duped.

  • Server
    • First Added Dec 03, 2013
    • Last Updated Mar 03, 2014
    • Contains Only Patches + TekkitRestrict
    • NOTICE: Does NOT contain config file changes listed above
  • Server + Plugins
    • First Added Dec 03, 2013
    • Last Updated Mar 03, 2014
    • Contains Patches and All Plugins Listed (excluding CommandSpy [For now])
    • Excluding CommandSpy temporarily
    • Excluding BanMePlease as GM hacks are pre-patched with this download
    • NOTICE: Does NOT contain config file changes listed above
  • For Server + Plugins + Config Utility
    • Not yet created, I'd have to code this
    • Contains Patches and All Plugins Listed
    • Excluding CommandSpy temporarily
    • Excluding BanMePlease as GM hacks are pre-patched with this download
    • Contains an Interactive Executable for configuring your config files

Want to Download Additional Stuff for the Pre-patched Server?

  • CMDHelper Commands
    • First Added Dec 08, 2013
    • Last Updated Jan 23, 2014
    • Contains Random TP command, Lockdowns for Plugin Detection, and a Vote command
  • Server Updater
    • Not yet created, I'd have to code this
    • Updates only the Updated parts of each release

Want to Download Developer Builds?

Unfortunately, I will NOT be releasing developer builds of this project. I prefer to do testing myself. I have, however, linked to patches and plugins in this pack above, so feel free to make your own developer build.

Did I forget something? Need a Tip? Have a plugin suggestion?

Leave a comment below and I'll look into it. I plan to maintain and update this guide regularly.

Edited by rcmaehl
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Whoops. Forgot about this thread for a bit. Anyway updated it with better patches, plugins, and suggestions. I'm going to edit this all day today for formatting and with other suggestions that I haven't added. So stay tuned.

Link to comment
Share on other sites

Question to readers: Should I upload a pre-optimized server pack so people don't have to edit their files manually?

I'd certainly say that'd be of massive help to any users thinking about setting up a Tekkit Classic server. I really wish I had something like this when I first started hosting Tekkit servers.

Kudos to you for taking your time to set this up and Maintaining.

The Doctor Has come to save us all.

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...

Updated

Changelog:

EEPatch now links to new Jenkins page

Minor Tweaks to CMDHelper Commands

Minor Tweaks to Configuration File Changes

Added section on Server Staff to the topic - (Requested by: disconsented)

LagMeter added to Pre-Patched Server + Plugins and info added under Plugins

CapsBlock added to Pre-Patched Server + Plugins and info added under Plugins

Updated EEPatch in Pre-Patched Server and Pre-Patched Server + Plugins to 2.0 From 1.14

Link to comment
Share on other sites

  • 2 weeks later...

Server + Plugins

 

 

ALSO

 

 

What do you mean by "Does NOT contain config file changes listed above"

 

So that means its not good to use? or what?

 

Fixed that link. Thanks for pointing that out. 

 

 

"Does NOT contain the config file changes listed above.

 

It means you can use it, but you have to do all of:

 

Configuration File Changes:

Note: Anything marked with '*' is optional and can be blocked with a plugin instead, however more than a half of these can reduce server load that a plugin can't.

  • /buildcraft/config/AdditionalPipes.cfg:
    • * Change TeleportTether.Enabled=true to TeleportTether.Enabled=false
      • This disables one of the chunk loading blocks that can cause your server to lag.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
    • * Change TeleportTether.id=179 to TeleportTether.id=0
      • This disables one of the chunk loading blocks that can cause your server to lag.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
  •      /buildcraft/config/buildcraft.cfg:
    • Change network.updateFactor=10 to network.updateFactor=20
      • Can be set higher for even less lag.
      • Decreases the block updates of BuildCraft.
  • /config/railcraft/railcraft.cfg:
    • * Change cube.world.anchor=true to cube.world.anchor=false
      • This disables one of the chunk loading entities that can cause your server to lag.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
    • * Change utility.loader.item=true to utility.loader.item=false
      • This disables one of the items used to massively dupe on your server.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
    • * Change utility.loader.item.advanced=true toutility.loader.item.advanced=false
      • This disables one of the items used to massively dupe on your server.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
    • * + Change entity.cart.anchor=134 to entity.cart.anchor=0
      • This disables one of the chunk loading entities that can cause your server to lag.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
    • * Change entity.cart.tank=126 to entity.cart.tank=0
      • This disables one of the items used to massively dupe on your server.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
    • * Change entity.cart.bore=131 to entity.cart.bore=0
      • This disables a train cart that tunnels all by itself and can lag your server.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
    • * Change cube.world.anchor=true to cube.world.anchor=false
      • This disables one of the chunk loading blocks that can cause your server to lag.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
  • /config/EnderStorage.cfg
    • * Change block.id=178 to block.id=0
      • This disables one of the blocks that can be used to crash your server under certain circumstances.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
  • /config/IC2.cfg:
    • Change explosionPowerNuke=35.0 to explosionPowerNuke=16.0
      • Can be set lower for even less lag
      • This GREATLY decreases the power of a nuke.
      • This GREATLY decreases the block updates of a nuke.
    • Change explosionPowerReactorMax=45.0 to explosionPowerReactorMax=16.0
      • Can be set lower for even less lag
      • This GREATLY decreases the power of a nuclear reactor exploding.
      • This GREATLY decreases the block updates of a nuclear reactor exploding.
  • /config/IC2NuclearControl.cfg:
    • Change maxAlarmRange=128 to maxAlarmRange=64
      • Can be set lower for even less annoyance
      • This reduces the range of alarms that can be used to annoy other players.
  • /config/immibis.cfg:
    • * Change chunkloader.id=4095 to chunkloader.id=0
      • This disables one of the chunk loading blocks that can cause your server to lag.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
  • /config/ModularForceFieldSystem.cfg:
    • Change maxDeflectorDistance=10 to maxDeflectorDistance=5
      • Can be set lower for even less lag
      • This decreases block updates caused by Deflector force fields
    • Change maxProjectorSize=32 to maxProjectorSize=16
      • Can be set lower for even less lag
      • This decreases block updates caused by Projector force fields
    • Change maxTubeRadius=5 to maxTubeRadius=3
      • Can be set lower for even less lag
      • This decreases block updates caused by Tube force fields
    • Change refreshSpeed=100 to refreshSpeed=1000
      • Can be set higher for even less lag
      • This decreases block updates caused by force fields
  • /config/WirelessRedstone.cfg:
    • * Change triangulator.id=6101 to triangulator.id=0
      • This disables an item that will constantly spam console with 20+ messages per second when used.
      • WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world.
  • /redpower/redpower.cfg:
    • Change blockbreaker.blacklist="" toblockbreaker.blacklist="4,49,128,179,194,214"
      • This disables a few dupes and EMC farms..
    • Change deployer.blacklist="" to deployer.blacklist="179,213,214,6362"
      • This patches an exploit that can be used to crash your server, as well as a few dupes.
    • Change whenfull="drop" to whenfull="destroy"
      • This causes items to be destroyed instead of dropped which would cause your server to lag.
  • /bukkit.yml:
    • Change monsters: 70 to monsters: 35
      • Can be set lower for even less lag
      • This makes less monsters spawn per chunk and will lag your server less.
    • Change animals: 15 to animals: 10
      • Can be set lower for even less lag
      • This makes less animals spawn per chunk and will lag your server less.
    • Change water-animals: 5 to water-animals: 2
      • Can be set lower for even less lag
      • This makes less squids spawn per chunk and will lag your server less.
    • Change animal-spawns: 400 to animal-spawns: 1000
      • Can be set higher for even less lag
      • This makes animals wait to spawn and will lag your server less.
    • Change monster-spawns: 1 to monster-spawns: 250
      • Can be set higher for even less lag
      • This makes monsters wait to spawn and will lag your server less.
  • /server.properties:
    • Change view-distance=10 to view-distance=8
      • Can be set lower for even less lag
      • This decreases the number of chunks loaded per player     

By yourself. It's not that hard really, just find each file listed, ctrl + f the words that look like this and replace them with the other words that look like this after the to.

 

I don't include these by default because players might not want them all.

Link to comment
Share on other sites

If im using hosting from somewhere, and they have the server.properties setup with the settings so it runs on there ip port and whatnot can I just leave that and use the other files from your zip? or do I need to take something from the server.properties in the server+plugins.zip and change something else in the one they have?

 

 

And.

If im going to have nukes disabled/banned, do I still need to change the power of them in the config files?

 

When I did this it gave me a bunch of errors in the console and wont let me connect to the server. Odd.

Link to comment
Share on other sites

If im using hosting from somewhere, and they have the server.properties setup with the settings so it runs on there ip port and whatnot can I just leave that and use the other files from your zip? or do I need to take something from the server.properties in the server+plugins.zip and change something else in the one they have?

 

 

And.

If im going to have nukes disabled/banned, do I still need to change the power of them in the config files?

 

When I did this it gave me a bunch of errors in the console and wont let me connect to the server. Odd.

 

1. If they have server.properties already setup, you don't have to use the one included in the server files. (There shouldn't be one anyway so let me fix that).

 

2. If you have nukes disabled you don't need to change their power. If you have nukes banned, you still want to change their power since they're still obtainable, even if not by normal players.

Link to comment
Share on other sites

But like I said earlier "When I did this it gave me a bunch of errors in the console and wont let me connect to the server. Odd."

 

So im not sure why, if I give you a pastebin of the errors would you be able to figure out why or no?

http://pastebin.com/raw.php?i=V6Wk8hau

 

 

Also, only the ones that say "WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world." Are the ones I need to do before starting up the server, and the rest I can do by just stopping editing and turning back on the server, correct?

Edited by PotatoesNGravy
Link to comment
Share on other sites

But like I said earlier "When I did this it gave me a bunch of errors in the console and wont let me connect to the server. Odd."

 

So im not sure why, if I give you a pastebin of the errors would you be able to figure out why or no?

http://pastebin.com/raw.php?i=V6Wk8hau

 

 

Also, only the ones that say "WARNING: You must set this before you ever create your world file or you may corrupt player inventories and your world." Are the ones I need to do before starting up the server, and the rest I can do by just stopping editing and turning back on the server, correct?

 

 It looks like one of the config changes I suggested is being iffy (specifically the ones that say set this item to =0). I PM'd you the config reset while I look into this.

 

And yes, you are correct. The ones with the warning ares the ones that should be done before you ever create the map.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...