first commit
This commit is contained in:
parent
76d30689f2
commit
b3bbc87f17
11 changed files with 24 additions and 170 deletions
21
instances/forge-1.20.1-survival/runtime/console
Executable file
21
instances/forge-1.20.1-survival/runtime/console
Executable file
|
|
@ -0,0 +1,21 @@
|
||||||
|
#!/bin/bash
|
||||||
|
CONTAINER="mc_forge_server"
|
||||||
|
SESSION="mc_console"
|
||||||
|
|
||||||
|
# Install tmux if not installed
|
||||||
|
if ! command -v tmux &> /dev/null; then
|
||||||
|
echo "Installing tmux..."
|
||||||
|
sudo apt update && sudo apt install -y tmux
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Clean up old session
|
||||||
|
tmux kill-session -t $SESSION 2>/dev/null
|
||||||
|
|
||||||
|
# Create top window: Live logs
|
||||||
|
tmux new-session -d -s $SESSION "docker logs -f --tail 100 $CONTAINER"
|
||||||
|
|
||||||
|
# Create bottom window: Interactive command prompt via rcon-cli
|
||||||
|
tmux split-window -v -l 3 -t $SESSION "while true; do read -e -p 'MC> ' cmd; [ -n \"\$cmd\" ] && docker exec -i $CONTAINER rcon-cli \"\$cmd\"; done"
|
||||||
|
|
||||||
|
# Open the split console
|
||||||
|
tmux attach -t $SESSION
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
#Whether to log the dirt block on common setup
|
|
||||||
logDirtBlock = true
|
|
||||||
#A magic number
|
|
||||||
#Range: > 0
|
|
||||||
magicNumber = 42
|
|
||||||
#What you want the introduction message to be for the magic number
|
|
||||||
magicNumberIntroduction = "The magic number is... "
|
|
||||||
#A list of items to log on common setup.
|
|
||||||
items = ["minecraft:iron_ingot"]
|
|
||||||
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
# This is the configuration file for Canary.
|
|
||||||
# This file exists for debugging purposes and should not be configured otherwise.
|
|
||||||
# Before configuring anything, take a backup of the worlds that will be opened.
|
|
||||||
#
|
|
||||||
# You can find information on editing this file and all the available options here:
|
|
||||||
# https://github.com/AbdElAziz333/Canary/wiki/Configuration-File
|
|
||||||
#
|
|
||||||
# By default, this file will be empty except for this notice.
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
"version": 2,
|
|
||||||
"language": "en",
|
|
||||||
"continueOnRestart": false,
|
|
||||||
"forceLoadExistingChunks": false,
|
|
||||||
"silent": false,
|
|
||||||
"updateInterval": 1
|
|
||||||
}
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
world=minecraft:overworld
|
|
||||||
cancelled=false
|
|
||||||
center-x=0.0
|
|
||||||
center-z=0.0
|
|
||||||
radius=4000.0
|
|
||||||
shape=circle
|
|
||||||
pattern=region
|
|
||||||
chunks=16807
|
|
||||||
time=1231678
|
|
||||||
|
|
@ -1,40 +0,0 @@
|
||||||
{
|
|
||||||
"disableLoginLimits": {
|
|
||||||
"desc:": "Should login packet size limits be disabled? Error:(IOException(\"Payload may not be larger than 1048576 bytes\")) default:true",
|
|
||||||
"disableLoginLimits": true
|
|
||||||
},
|
|
||||||
"disablePacketLimits": {
|
|
||||||
"desc:": "Should play packet size limits be disabled? Error:(Badly compressed packet) default:true",
|
|
||||||
"disablePacketLimits": true
|
|
||||||
},
|
|
||||||
"disableChatVerificationDisconnect": {
|
|
||||||
"desc:": "(Clientside) Disables players disconnecting on chat message verification problems,(enable debugPrintMessages to see the message causing issues). default:true",
|
|
||||||
"disableChatVerificationDisconnect": true
|
|
||||||
},
|
|
||||||
"debugPrintMessages": {
|
|
||||||
"desc:": "Enable addition debug logging for networking errors. default:false",
|
|
||||||
"debugPrintMessages": false
|
|
||||||
},
|
|
||||||
"logintimeout": {
|
|
||||||
"desc:": "Set the max login timeout in seconds. default = 120",
|
|
||||||
"logintimeout": 120
|
|
||||||
},
|
|
||||||
"disconnectTimeout": {
|
|
||||||
"desc:": "Set the ingame disconnect timeout for disconnecting players. Default = 60sec",
|
|
||||||
"disconnectTimeout": 60
|
|
||||||
},
|
|
||||||
"packetHistoryMinutes": {
|
|
||||||
"desc:": "Set the amount of minutes for which network packet history data is saved. Default = 5 minutes",
|
|
||||||
"packetHistoryMinutes": 5
|
|
||||||
},
|
|
||||||
"malformedtraffic": {
|
|
||||||
"desc:": "Detection and blocking of malformed and/or malicious traffic",
|
|
||||||
"enabled": true,
|
|
||||||
"proxies:": "Add your proxy IP to the whitelist below, if you're using one(e.g. velocity) to avoid blocking the proxy's ip. Format: [\"127.0.0.1\", \"128.0.01\"] without the \\ ",
|
|
||||||
"proxywhitelist": []
|
|
||||||
},
|
|
||||||
"showFullResourceLocationException": {
|
|
||||||
"desc:": "Enable to see the full log output for all resource location exceptions. Default = false",
|
|
||||||
"showFullResourceLocationException": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
||||||
{
|
|
||||||
"showCommandExecutionErrors": {
|
|
||||||
"desc:": "Whether to display errors during command execution: default:true",
|
|
||||||
"showCommandExecutionErrors": true
|
|
||||||
},
|
|
||||||
"debugChunkloadAttempts": {
|
|
||||||
"desc:": "Enables debug logging of chunks being forceloaded on serverthread by directly accessing an unloaded chunk, which stalls the server until the chunk finishes loading, incompatible with lithium and its forks: default:false",
|
|
||||||
"debugChunkloadAttempts": false
|
|
||||||
},
|
|
||||||
"skipErrorOnEntityLoad": {
|
|
||||||
"desc:": "Prevent crashes on entity loading: default:false",
|
|
||||||
"skipErrorOnEntityLoad": false
|
|
||||||
},
|
|
||||||
"logOffthreadEntityAdd": {
|
|
||||||
"desc:": "Entities should only be added on the server thread itself, cupboard fixes the crashes caused by mods violating that, this option enables the logging of those: default:true",
|
|
||||||
"logOffthreadEntityAdd": true
|
|
||||||
},
|
|
||||||
"forceHeapDumpOnOOM": {
|
|
||||||
"desc:": "Enables creating a heap dump automatically once the game crashes with an out of memory issue, use with care heapdumps take a lot of space. default:false",
|
|
||||||
"forceHeapDumpOnOOM": false
|
|
||||||
},
|
|
||||||
"displayConfigReload": {
|
|
||||||
"desc:": "Displays a chat message on the client on reloading a config file after changes were detected to the clients config file. default:true",
|
|
||||||
"displayConfigReload": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,56 +0,0 @@
|
||||||
|
|
||||||
[sophisticated_backpacks]
|
|
||||||
enableStealFromBackpacks = true
|
|
||||||
#Range: 1 ~ 50
|
|
||||||
backpackSearchRange = 10
|
|
||||||
enableStealFromPlacedBackpacks = true
|
|
||||||
#Range: 1 ~ 32
|
|
||||||
placedBackpackSearchRange = 16
|
|
||||||
stealAnyItem = false
|
|
||||||
|
|
||||||
[applied_energistics]
|
|
||||||
enableStealFromMEInterface = true
|
|
||||||
#Range: 1 ~ 32
|
|
||||||
meInterfaceSearchRange = 16
|
|
||||||
#Range: 0.0 ~ 1000.0
|
|
||||||
powerPerSteal = 10.0
|
|
||||||
stealAnyItem = false
|
|
||||||
|
|
||||||
[refined_storage]
|
|
||||||
enableStealFromRSInterface = true
|
|
||||||
#Range: 1 ~ 32
|
|
||||||
rsInterfaceSearchRange = 16
|
|
||||||
#Range: 0 ~ 1000
|
|
||||||
energyPerSteal = 10
|
|
||||||
stealAnyItem = false
|
|
||||||
|
|
||||||
[create]
|
|
||||||
enableStealFromBelt = true
|
|
||||||
#Range: 1 ~ 32
|
|
||||||
beltSearchRange = 16
|
|
||||||
stealAnyItem = true
|
|
||||||
#Range: 1 ~ 50
|
|
||||||
dropRangeMin = 5
|
|
||||||
#Range: 1 ~ 100
|
|
||||||
dropRangeMax = 15
|
|
||||||
#Range: 0 ~ 200
|
|
||||||
hoverTimeMin = 40
|
|
||||||
#Range: 0 ~ 400
|
|
||||||
hoverTimeMax = 80
|
|
||||||
|
|
||||||
[general]
|
|
||||||
#Range: 50 ~ 500
|
|
||||||
stealCooldownModifier = 100
|
|
||||||
prioritizePlayerInventory = true
|
|
||||||
#Range: 1 ~ 50
|
|
||||||
dropRangeMin = 5
|
|
||||||
#Range: 1 ~ 100
|
|
||||||
dropRangeMax = 15
|
|
||||||
|
|
||||||
[easter_eggs]
|
|
||||||
#Christmas Easter Egg - Seagulls wear Christmas hats during Christmas season (Dec 24-26)
|
|
||||||
#Enable Christmas hat for seagulls during Christmas season
|
|
||||||
enableChristmasHat = true
|
|
||||||
#Force Christmas hat to show regardless of date (for testing)
|
|
||||||
forceChristmasHat = false
|
|
||||||
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"default_lang": "en_us"
|
|
||||||
}
|
|
||||||
|
|
@ -1,8 +1 @@
|
||||||
[
|
[]
|
||||||
{
|
|
||||||
"uuid": "b12ce09e-5a4e-3a90-a23c-087c8c9d32e0",
|
|
||||||
"name": "JaniSoto",
|
|
||||||
"level": 4,
|
|
||||||
"bypassesPlayerLimit": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#Minecraft server properties
|
#Minecraft server properties
|
||||||
#Wed Aug 12 05:25:36 UTC 2026
|
#Wed Aug 12 14:44:31 UTC 2026
|
||||||
allow-flight=true
|
allow-flight=true
|
||||||
allow-nether=true
|
allow-nether=true
|
||||||
broadcast-console-to-ops=true
|
broadcast-console-to-ops=true
|
||||||
|
|
@ -38,7 +38,7 @@ prevent-proxy-connections=false
|
||||||
pvp=true
|
pvp=true
|
||||||
query.port=25565
|
query.port=25565
|
||||||
rate-limit=0
|
rate-limit=0
|
||||||
rcon.password=ac285a169330d782975d159d
|
rcon.password=4d683d51beaefd6791730aec
|
||||||
rcon.port=25575
|
rcon.port=25575
|
||||||
require-resource-pack=false
|
require-resource-pack=false
|
||||||
resource-pack=
|
resource-pack=
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue