In this post i will add any fix for mods in the pack that i can find to make your server just that bit more secure.
Tip of the day!
If you like looking into configs and messing with Settings, try NotePad++. It will give you a lot cleaner overview and a way better way to edit your flatfiles! Download
If you are on a max you can use Sublime Text.
"MineCraftServer" is your minecraft server root folder.
ComputerCraft Redstone crash and Startup workaround.
This will fix the problem of a CC computer having no limit on minimum timing when switching Redpower.
Also the workaround on a protected Computer fix will be added here.
Open startup in the folder ./MineCraftServer/Minecraft/mods/ComputerCraft/lua/rom/startup
Open it with NotePadd++ and at the bottom add these lines:
change both "oldRedstoneFunction" words to a secret word so one one finds your program and cant go around It.
IdustrialCraft 2 Information panel Refresh limit.
This will change the refresh time on the Industrial panels. Less data refresh less lag. Simple.
Open IC2NuclearControl.cfg in the folder ./MineCraftServer/Minecraft/config/IC2NuclearControl.cfg
Find the line "infoPanelRefreshPeriod"
Disabling certain mods from chunk loading. Thanks to CoderJ!
Forge gives an example for mod specific settings; it's located in forgeChunkLoading.cfg
If you want to disable Buildcraft quarries from chunk loading, you would add this above the defaults area of the config...
In order to turn off or modify other mods, use the mod ID which can be found either using /chunkloaders (it'll show up in the tooltip for the force loaded chunks) or by checking the mcmod.info file inside the mod archive.
Il add more if more Code fixes come in
Tip of the day!
If you like looking into configs and messing with Settings, try NotePad++. It will give you a lot cleaner overview and a way better way to edit your flatfiles! Download
If you are on a max you can use Sublime Text.
"MineCraftServer" is your minecraft server root folder.
ComputerCraft Redstone crash and Startup workaround.
This will fix the problem of a CC computer having no limit on minimum timing when switching Redpower.
Also the workaround on a protected Computer fix will be added here.
Open startup in the folder ./MineCraftServer/Minecraft/mods/ComputerCraft/lua/rom/startup
Open it with NotePadd++ and at the bottom add these lines:
Code:
# For the No time limit on Redstone Switch. Add this line to the bottom.
oldRedstoneFunction = rs.setOutput
rs.setOutput = function(side, bool)
sleep(0.05)
oldRedstoneFunction(side, bool)
end
change both "oldRedstoneFunction" words to a secret word so one one finds your program and cant go around It.
Code:
# For the start up workaround. Add this to the top of your config (Line 2)
os.reboot = nil
Code:
# Your config will now look like this.
os.reboot = nil
local sPath = ".:/rom/programs"
if turtle then
sPath = sPath..":/rom/programs/turtle"
else
sPath = sPath..":/rom/programs/computer"
end
if http then
sPath = sPath..":/rom/programs/http"
end
shell.setPath( sPath )
help.setPath( "/rom/help" )
shell.setAlias( "ls", "list" )
shell.setAlias( "dir", "list" )
shell.setAlias( "cp", "copy" )
shell.setAlias( "mv", "move" )
shell.setAlias( "rm", "delete" )
if fs.exists( "/rom/autorun" ) and fs.isDir( "/rom/autorun" ) then
local tFiles = fs.list( "/rom/autorun" )
table.sort( tFiles )
for n, sFile in ipairs( tFiles ) do
if string.sub( sFile, 1, 1 ) ~= "." then
local sPath = "/rom/autorun/"..sFile
if not fs.isDir( sPath ) then
shell.run( sPath )
end
end
end
end
oldRedstoneFunction = rs.setOutput
rs.setOutput = function(side, bool)
sleep(0.05)
oldRedstoneFunction(side, bool)
end
IdustrialCraft 2 Information panel Refresh limit.
This will change the refresh time on the Industrial panels. Less data refresh less lag. Simple.
Open IC2NuclearControl.cfg in the folder ./MineCraftServer/Minecraft/config/IC2NuclearControl.cfg
Find the line "infoPanelRefreshPeriod"
Code:
# Lets change this into a other number. It is set in Ticks
# 20 Ticks = 1 Second
# Lets limit the refresh time to 1.5 Seconds
infoPanelRefreshPeriod=30
Disabling certain mods from chunk loading. Thanks to CoderJ!
Forge gives an example for mod specific settings; it's located in forgeChunkLoading.cfg
If you want to disable Buildcraft quarries from chunk loading, you would add this above the defaults area of the config...
Code:
BuildCraft|Factory {
# Maximum chunks per ticket for the mod.
I:maximumChunksPerTicket=0
# Maximum ticket count for the mod. Zero disables chunkloading capabilities.
I:maximumTicketCount=0
}
In order to turn off or modify other mods, use the mod ID which can be found either using /chunkloaders (it'll show up in the tooltip for the force loaded chunks) or by checking the mcmod.info file inside the mod archive.
Il add more if more Code fixes come in