Difference between revisions of "ComputerCraft.cfg"
From ComputerCraft Wiki
MKlegoman357 (Talk | contribs) |
MKlegoman357 (Talk | contribs) (Updated to CC 1.77) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | This is an example of the default ComputerCraft configuration file, as it's seen in version 1. | + | This is an example of the default ComputerCraft configuration file, as it's seen in version 1.77. |
<pre> | <pre> | ||
# Configuration file | # Configuration file | ||
Line 9: | Line 9: | ||
# The disk space limit for computers and turtles, in bytes | # The disk space limit for computers and turtles, in bytes | ||
I:computerSpaceLimit=1000000 | I:computerSpaceLimit=1000000 | ||
+ | |||
+ | # A comma seperated list of default system settings to set on new computers. Example: "shell.autocomplete=false,lua.autocomplete=false,edit.autocomplete=false" will disable all autocompletion | ||
+ | S:default_computer_settings= | ||
+ | |||
+ | # Set this to true to disable Lua 5.1 functions that will be removed in a future update. Useful for ensuring forward compatibility of your programs now. | ||
+ | B:disable_lua51_features=false | ||
# Enable Command Block peripheral support | # Enable Command Block peripheral support | ||
Line 26: | Line 32: | ||
# The range of Wireless Modems at maximum altitude in stormy weather, in meters | # The range of Wireless Modems at maximum altitude in stormy weather, in meters | ||
− | I:modem_highAltitudeRangeDuringStorm= | + | I:modem_highAltitudeRangeDuringStorm=384 |
# The range of Wireless Modems at low altitude in clear weather, in meters | # The range of Wireless Modems at low altitude in clear weather, in meters | ||
Line 32: | Line 38: | ||
# The range of Wireless Modems at low altitude in stormy weather, in meters | # The range of Wireless Modems at low altitude in stormy weather, in meters | ||
− | I:modem_rangeDuringStorm= | + | I:modem_rangeDuringStorm=64 |
# The frequency that treasure disks will be found in dungeon chests, from 0 to 100. Increase this value if running a modpack with lots of mods that add dungeon loot, or you just want more treasure disks. Set to 0 to disable treasure disks. | # The frequency that treasure disks will be found in dungeon chests, from 0 to 100. Increase this value if running a modpack with lots of mods that add dungeon loot, or you just want more treasure disks. Set to 0 to disable treasure disks. | ||
Line 39: | Line 45: | ||
# The fuel limit for Turtles | # The fuel limit for Turtles | ||
I:turtleFuelLimit=20000 | I:turtleFuelLimit=20000 | ||
+ | |||
+ | # If set to true, Turtles will push entities out of the way instead of stopping if there is space to do so | ||
+ | B:turtlesCanPush=true | ||
# Set whether Turtles require fuel to move | # Set whether Turtles require fuel to move | ||
B:turtlesNeedFuel=true | B:turtlesNeedFuel=true | ||
+ | |||
+ | # If set to true, Turtles will be unable to build, dig, or enter protected areas (such as near the server spawn point) | ||
+ | B:turtlesObeyBlockProtection=true | ||
} | } | ||
</pre> | </pre> |
Latest revision as of 21:45, 15 January 2016
This is an example of the default ComputerCraft configuration file, as it's seen in version 1.77.
# Configuration file general { # The fuel limit for Advanced Turtles I:advancedTurtleFuelLimit=100000 # The disk space limit for computers and turtles, in bytes I:computerSpaceLimit=1000000 # A comma seperated list of default system settings to set on new computers. Example: "shell.autocomplete=false,lua.autocomplete=false,edit.autocomplete=false" will disable all autocompletion S:default_computer_settings= # Set this to true to disable Lua 5.1 functions that will be removed in a future update. Useful for ensuring forward compatibility of your programs now. B:disable_lua51_features=false # Enable Command Block peripheral support B:enableCommandBlock=false # The disk space limit for floppy disks, in bytes I:floppySpaceLimit=125000 # Enable the "http" API on Computers (see "http_whitelist" for more fine grained control than this) B:http_enable=true # A semicolon limited list of wildcards for domains that can be accessed through the "http" API on Computers. Set this to "*" to access to the entire internet. Example: "*.pastebin.com;*.github.com;*.computercraft.info" will restrict access to just those 3 domains. S:http_whitelist=* # The range of Wireless Modems at maximum altitude in clear weather, in meters I:modem_highAltitudeRange=384 # The range of Wireless Modems at maximum altitude in stormy weather, in meters I:modem_highAltitudeRangeDuringStorm=384 # The range of Wireless Modems at low altitude in clear weather, in meters I:modem_range=64 # The range of Wireless Modems at low altitude in stormy weather, in meters I:modem_rangeDuringStorm=64 # The frequency that treasure disks will be found in dungeon chests, from 0 to 100. Increase this value if running a modpack with lots of mods that add dungeon loot, or you just want more treasure disks. Set to 0 to disable treasure disks. I:treasureDiskLootFrequency=1 # The fuel limit for Turtles I:turtleFuelLimit=20000 # If set to true, Turtles will push entities out of the way instead of stopping if there is space to do so B:turtlesCanPush=true # Set whether Turtles require fuel to move B:turtlesNeedFuel=true # If set to true, Turtles will be unable to build, dig, or enter protected areas (such as near the server spawn point) B:turtlesObeyBlockProtection=true }