Compare commits

..

6 Commits

Author SHA1 Message Date
58e6d630e4 Merge pull request 'bug-88-fix-too-may-packets-kick' (#42) from bug-88 into develop
All checks were successful
/ build-docker (push) Successful in 21m34s
Reviewed-on: #42
Reviewed-by: oznobys <oznobys@noreply.localhost>
2025-08-24 11:04:43 +00:00
d88ebd30cc
increase packets per second limit from ~71 to 200 to avoid false positive kicks 2025-08-24 13:59:50 +03:00
bdcd2e86bd Merge pull request 'suggestion-86-move-spawn-from-world-center' (#41) from suggestion-86 into develop
All checks were successful
/ build-docker (push) Successful in 10m12s
Reviewed-on: #41
Reviewed-by: oznobys <oznobys@noreply.localhost>
Reviewed-by: apathy <zloiyudin@gmail.com>
2025-08-23 17:40:46 +00:00
0d0613d927
move spawn +512000 blocks away both x and z axis
this prevents overriding data in mods that process worlds (Xaero's World Map, Distant Horizon, ...)
2025-08-23 19:20:50 +03:00
57a576a0d1 Merge pull request 'suggestion-76-files-migration' (#40) from suggestion-76 into develop
All checks were successful
/ build-docker (push) Successful in 15m28s
Reviewed-on: #40
Reviewed-by: oznobys <oznobys@noreply.localhost>
2025-08-22 20:45:27 +00:00
e70dadbcd1
add file migration commands to Dockerfile 2025-08-22 23:11:43 +03:00
11 changed files with 54 additions and 38 deletions

View File

@ -9,23 +9,25 @@ ADD ./src ${CONFIG_PATH}
RUN mkdir ${DATA_PATH}
# Add symlinks to Default Minecraft files
RUN touch ${DATA_PATH}/banned-ips.json && \
ln -sf ${DATA_PATH}/banned-ips.json ${CONFIG_PATH}
RUN touch ${DATA_PATH}/banned-players.json && \
ln -sf ${DATA_PATH}/banned-players.json ${CONFIG_PATH}
RUN mkdir ${DATA_PATH}/logs && \
ln -sf ${DATA_PATH}/logs ${CONFIG_PATH}
RUN touch ${DATA_PATH}/ops.json && \
ln -sf ${DATA_PATH}/ops.json ${CONFIG_PATH}
RUN touch ${DATA_PATH}/usercache.json && \
ln -sf ${DATA_PATH}/usercache.json ${CONFIG_PATH}
RUN touch ${DATA_PATH}/whitelist.json && \
ln -sf ${DATA_PATH}/whitelist.json ${CONFIG_PATH}
# Add symlinks to Minecraft Vanilla files
RUN mkdir ${DATA_PATH}/Vanilla && \
touch ${DATA_PATH}/Vanilla/banned-ips.json && \
ln -sf ${DATA_PATH}/Vanilla/banned-ips.json ${CONFIG_PATH} && \
touch ${DATA_PATH}/Vanilla/banned-players.json && \
ln -sf ${DATA_PATH}/Vanilla/banned-players.json ${CONFIG_PATH} && \
mkdir ${DATA_PATH}/Vanilla/logs && \
ln -sf ${DATA_PATH}/Vanilla/logs ${CONFIG_PATH} && \
touch ${DATA_PATH}/Vanilla/ops.json && \
ln -sf ${DATA_PATH}/Vanilla/ops.json ${CONFIG_PATH} && \
touch ${DATA_PATH}/Vanilla/usercache.json && \
ln -sf ${DATA_PATH}/Vanilla/usercache.json ${CONFIG_PATH} && \
touch ${DATA_PATH}/Vanilla/whitelist.json && \
ln -sf ${DATA_PATH}/Vanilla/whitelist.json ${CONFIG_PATH}
# Add symlinks to Plasmo Voice files
RUN touch ${DATA_PATH}/pv-voice_mutes.json && \
ln -sf ${DATA_PATH}/pv-voice_mutes.json \
# Add symlinks to PlasmoVoice files
RUN mkdir ${DATA_PATH}/PlasmoVoice && \
touch ${DATA_PATH}/PlasmoVoice/pv-voice_mutes.json && \
ln -sf ${DATA_PATH}/PlasmoVoice/pv-voice_mutes.json \
${CONFIG_PATH}/plugins/PlasmoVoice/voice_mutes.json
# Add symlinks to SuperVanish files
@ -92,6 +94,17 @@ ENV SKINSRESTORER_DB_PASSWORD=0000
WORKDIR ${WORKDIR_PATH}/config
CMD \
# Remove after migrated
mkdir -p ${DATA_PATH}/Vanilla && \
if [ -e ${DATA_PATH}/banned-ips.json ]; then mv ${DATA_PATH}/banned-ips.json ${DATA_PATH}/Vanilla; fi && \
if [ -e ${DATA_PATH}/banned-players.json ]; then mv ${DATA_PATH}/banned-players.json ${DATA_PATH}/Vanilla; fi && \
if [ -e ${DATA_PATH}/logs ]; then mv ${DATA_PATH}/logs ${DATA_PATH}/Vanilla; fi && \
if [ -e ${DATA_PATH}/ops.json ]; then mv ${DATA_PATH}/ops.json ${DATA_PATH}/Vanilla; fi && \
if [ -e ${DATA_PATH}/usercache.json ]; then mv ${DATA_PATH}/usercache.json ${DATA_PATH}/Vanilla; fi && \
if [ -e ${DATA_PATH}/whitelist.json ]; then mv ${DATA_PATH}/whitelist.json ${DATA_PATH}/Vanilla; fi && \
mkdir -p ${DATA_PATH}/PlasmoVoice && \
if [ -e ${DATA_PATH}/pv-voice_mutes.json ]; then mv ${DATA_PATH}/pv-voice_mutes.json ${DATA_PATH}/PlasmoVoice; fi && \
# Create and switch to user with desired UID and GID.
# All processes that create/change files in ${DATA_PATH}
# must be run under this user.

View File

@ -79,8 +79,8 @@ misc:
packet-limiter:
all-packets:
action: KICK
interval: 7.0
max-packet-rate: 500.0
interval: 1.0
max-packet-rate: 200.0
kick-message: <red><lang:disconnect.exceeded_packet_rate>
overrides:
ServerboundPlaceRecipePacket:

View File

@ -4,9 +4,9 @@ holograms:
type: TEXT
location:
world: world
x: 255.5
x: 512255.5
y: 3.057499885559082
z: 262.5
z: 512262.5
yaw: -180.0
pitch: 0.0
visibility_distance: -1
@ -35,9 +35,9 @@ holograms:
type: TEXT
location:
world: world
x: 261.5
x: 512261.5
y: 2.25
z: 261.5
z: 512261.5
yaw: 135.0
pitch: 0.0
visibility_distance: 32
@ -63,9 +63,9 @@ holograms:
type: TEXT
location:
world: world
x: 249.5
x: 512249.5
y: 2.25
z: 261.5
z: 512261.5
yaw: -135.0
pitch: 0.0
visibility_distance: 32

View File

@ -6,9 +6,9 @@ npcs:
type: PLAYER
location:
world: world
x: 255.5
x: 512255.5
y: 0.9375
z: 262.5
z: 512262.5
yaw: -180.0
pitch: 0.0
showInTab: false
@ -43,9 +43,9 @@ npcs:
type: INTERACTION
location:
world: world
x: 261.5
x: 512261.5
y: 2.0
z: 261.5
z: 512261.5
yaw: -35.550262
pitch: 11.700032
showInTab: false
@ -78,9 +78,9 @@ npcs:
type: INTERACTION
location:
world: world
x: 249.5
x: 512249.5
y: 2.0
z: 261.5
z: 512261.5
yaw: -121.19934
pitch: 76.49999
showInTab: false

View File

@ -1,7 +1,7 @@
spawn:
world: world
x: 255.5
x: 512255.5
y: 1.0
z: 258.5
z: 512258.5
yaw: 0.0
pitch: 0.0

View File

@ -41,7 +41,7 @@ suppress-text-component-conversion-warnings: true
#
# What is the maximum per second a client can send (Use %pps to display their pps)
# Use -1 to disable.
max-pps: 800
max-pps: -1
max-pps-kick-msg: You are sending too many packets!
#
# We can also kick them if over a period they send over a threshold a certain amount of times.

View File

@ -11,8 +11,8 @@
#
regions:
spawn:
min: {x: 206, y: 0, z: 206}
max: {x: 304, y: 32, z: 304}
min: {x: 512206, y: 0, z: 512206}
max: {x: 512304, y: 32, z: 512304}
members: {}
flags: {other-explosion: deny, lava-fire: deny, water-flow: deny, use: deny,
invincible: allow, snow-fall: deny, leaf-decay: deny, firework-damage: deny,

Binary file not shown.

BIN
src/world/poi/r.1000.1000.mca (Stored with Git LFS) Normal file

Binary file not shown.

BIN
src/world/region/r.0.0.mca (Stored with Git LFS)

Binary file not shown.

BIN
src/world/region/r.1000.1000.mca (Stored with Git LFS) Normal file

Binary file not shown.