This commit is contained in:
sainagh
2023-09-06 13:53:58 -07:00
parent 92e3a04cb4
commit 4e605c4f81
655 changed files with 125048 additions and 13546 deletions
+118 -28
View File
@@ -214,6 +214,10 @@ opencomputers {
# can reconfigure any CPU to use the Lua 5.3 architecture.
enableLua53=true
# Whether to make the Lua 5.4 architecture available. If enabled, you
# can reconfigure any CPU to use the Lua 5.4 architecture.
enableLua54=false
# The total maximum amount of memory a Lua machine may use for user
# programs. The total amount made available by components cannot
# exceed this. The default is 64*1024*1024. Keep in mind that this does
@@ -350,6 +354,22 @@ opencomputers {
# issues with the native library.
forceLuaJ=false
# Force the native library loader to check the specified directory for natives first,
# before trying to find libraries packaged with OpenComputers. Use this if you want to
# use custom native libraries, or are on an unsupported platform. If unsure, leave blank.
#
# This can be an absolute or relative path. If relative, the base directory will be the .minecraft
# directory of the running Minecraft instance.
forceNativeLibPathFirst=""
# Force the platform name for the native libraries, instead of relying
# on auto-detecting it. Use this if your system is using an otherwise
# unsupported operating system or CPU architecture. If unsure, leave blank.
#
# Examples of platform strings include "solaris-x86_64" for 64-bit Solaris,
# or "windows-aarch64" for Windows on the aarch64 (64-bit arm) architecture.
forceNativeLibPlatform=""
# Force loading one specific library, to avoid trying to load any
# others. Use this if you get warnings in the log or are told to do
# so for debugging purposes ;-)
@@ -486,6 +506,27 @@ opencomputers {
# set to a non-positive value the tmp file system will not be created.
tmpSize=64
}
# Graphics Card Component Settings
gpu {
# This setting assigns the budget call cost to invoke bitblt to write vram
# to a screen. Video ram can bitblit to a screen which can cause real life
# network laod the defaults settings put bitblit network impact close to gpu.set
# Increase these values to throttle bitblt more. The cost tier N is bitbltCost * 2^(tier)
# default is .5, which gives: .5, 1, 4
bitbltCost=0.5
# Video ram can be allocated on a gpu. The amount of vram you can allocate
# is equal to the width*height of the max resolution of the gpu multiplied
# by the "vramSize" for that tier. For example, a T2 gpu can have 80*25*2 of
# text buffer space allocated
vramSizes=[
1,
2,
3
]
}
hologram {
# Whether the hologram block should provide light. It'll also emit light
@@ -590,26 +631,14 @@ opencomputers {
# Internet settings, security related.
internet {
# This is a list of blacklisted domain names. If an HTTP request is made
# or a socket connection is opened the target address will be compared
# to the addresses / address ranges in this list. It it is present in this
# list, the request will be denied.
# Entries are either domain names (www.example.com) or IP addresses in
# string format (10.0.0.3), optionally in CIDR notation to make it easier
# to define address ranges (1.0.0.0/8). Domains are resolved to their
# actual IP once on startup, future requests are resolved and compared
# to the resolved addresses.
# By default all local addresses are blocked. This is only meant as a
# thin layer of security, to avoid average users hosting a game on their
# local machine having players access services in their local network.
# Server hosters are expected to configure their network outside of the
# mod's context in an appropriate manner, e.g. using a system firewall.
blacklist=[
"127.0.0.0/8",
"10.0.0.0/8",
"192.168.0.0/16",
"172.16.0.0/12"
]
# No longer used! See internet.filteringRules.
#
# Previous contents:
# "127.0.0.0/8"
# "10.0.0.0/8"
# "192.168.0.0/16"
# "172.16.0.0/12"
blacklist=[]
# Whether to allow HTTP requests via internet cards. When enabled,
# the `request` method on internet card components becomes available.
@@ -622,6 +651,48 @@ opencomputers {
# the `connect` method on internet card components becomes available.
enableTcp=true
# This is a list of filtering rules. For any HTTP request or TCP socket
# connection, the target address will be processed by each rule, starting
# from first to last. The first matching rule will be applied; if no rule
# contains a match, the request will be denied.
# Two types of rules are currently supported: "allow", which allows an
# address to be accessed, and "deny", which forbids such access.
# Rules can be suffixed with additional filters to limit their scope:
# - all: apply to all addresses
# - default: apply built-in allow/deny rules; these may not be up to date,
# so one should primarily rely on them as a fallback
# - private: apply to all private addresses
# - bogon: apply to all known bogon addresses
# - ipv4: apply to all IPv4 addresses
# - ipv6: apply to all IPv6 addresses
# - ipv4-embedded-ipv6: apply to all IPv4 addresses embedded in IPv6
# addresses
# - ip:[address]: apply to this IP address in string format (10.0.0.3).
# CIDR notation is supported and allows defining address ranges
# (1.0.0.0/8).
# - domain:[domain]: apply to this domain. Domains are resolved to their
# actual IP only once (on startup), future requests are resolved and
# compared to the resolved addresses. Wildcards are not supported.
# The "removeme" rule does not have any use, but is instead present to
# detect whether to emit a warning on dedicated server configurations.
# Modpack authors are asked not to remove this rule; server administrators
# are free to remove it once the filtering rules have been adjusted.
# By default all private addresses are blocked. This is only meant as a
# thin layer of security, to avoid average users hosting a game on their
# local machine having players access services in their local network.
# Server hosters are expected to configure their network outside of the
# mod's context in an appropriate manner, e.g. using a system firewall.
filteringRules=[
"deny ip:127.0.0.0/8",
"deny ip:10.0.0.0/8",
"deny ip:192.168.0.0/16",
"deny ip:172.16.0.0/12",
removeme,
"deny private",
"deny bogon",
"allow default"
]
# The maximum concurrent TCP connections *each* internet card can have
# open at a time.
maxTcpConnections=4
@@ -637,13 +708,9 @@ opencomputers {
# they are to delay each other.
threads=4
# This is a list of whitelisted domain names. Requests may only be made
# to addresses that are present in this list. If this list is empty,
# requests may be made to all addresses not blacklisted. Note that the
# blacklist is always applied, so if an entry is present in both the
# whitelist and the blacklist, the blacklist will win.
# Entries are of the same format as in the blacklist. Examples:
# "gist.github.com", "www.pastebin.com"
# No longer used! See internet.filteringRules.
#
# Previous contents:
whitelist=[]
}
@@ -692,6 +759,10 @@ opencomputers {
"minecraft:fire"
]
# Delay between disk activity sounds, specified in milliseconds.
# If set to -1, no disk activity update packets are sent.
diskActivitySoundDelay=500
# Controls how noisy results from the Geolyzer are. This is the maximum
# deviation from the original value at the maximum vertical distance
# from the geolyzer. Noise increases linearly with the euclidean distance
@@ -732,6 +803,19 @@ opencomputers {
# string from the clipboard (Shift+Ins on a screen with a keyboard).
maxClipboard=1024
# Maximum distance for visual effects sent from the client to the server.
# These are non-essential - losing them should not cause glitches on the client side.
maxNetworkClientEffectPacketDistance=64
# Maximum distance for updates sent from the client to the server, in blocks.
# This is further modulated by the server's maximum view distance.
# If set to 0, this option is ignored.
maxNetworkClientPacketDistance=0
# Maximum distance for sound effects sent from the client to the server.
# These are non-essential - losing them should not cause glitches on the client side.
maxNetworkClientSoundPacketDistance=32
# The maximum number of "data parts" a network packet is allowed to have.
# When sending a network message, from Lua this may look like so:
# component.modem.broadcast(port, "first", true, "third", 123)
@@ -822,6 +906,12 @@ opencomputers {
# be performed by the trading upgrade
tradingRange=8
# Transposer fluid transfer rate specified in millibuckets per second.
# While the transposer can transfer an unlimited amount in a single
# operation, it will block the computer for a duration matching the
# limit set in this config option.
transposerFluidTransferRate=4000
# Whether to perform an update check and informing local players and OPs
# if a new version is available (contacts Github once the first player
# joins a server / the first map in single player is opened).
@@ -1635,6 +1725,6 @@ opencomputers {
# The version of OC this config was generated by. This is used to allow the
# mod to reset parts of the config when their meaning changed across
# versions, so that the user does not have to delete it.
version="1.7.5.192"
version="1.8.3"
}