Compare commits

..

7 Commits

Author SHA1 Message Date
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
004eed8a14 Merge pull request 'release-1.0.0' (#39) from develop into main
All checks were successful
/ build-docker (push) Successful in 16m25s
Reviewed-on: #39
2025-08-14 15:04:34 +00:00
1adfac3553
rename docker image tag and add on tag push build condition to github action
Some checks are pending
/ build-docker (push) Waiting to run
2025-08-14 17:59:40 +03:00
8f61726fce Merge pull request 'feature-32-links-update' (#38) from feature-32 into develop
All checks were successful
/ build-docker (push) Successful in 10m46s
Reviewed-on: #38
Reviewed-by: cuqmbr <me@cuqmbr.xyz>
2025-08-13 15:27:36 +00:00
06a287c15e Обновление ссылкок Discord 2025-08-13 17:23:24 +03:00
a1c39eeda7 Merge pull request 'feature-42-image-size-optimization-and-uid-gid-selection' (#37) from feature-42 into develop
All checks were successful
/ build-docker (push) Successful in 9m55s
Reviewed-on: #37
2025-08-12 19:34:10 +00:00
5 changed files with 39 additions and 23 deletions

View File

@ -5,6 +5,8 @@ on:
branches:
- main
- develop
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
build-docker:
@ -42,5 +44,6 @@ jobs:
push: true
# TODO: split tag names into multiple lines
tags: |
${{env.registry}}/${{github.repository_owner}}/${{github.event.repository.name}}/${{github.ref_name}}:${{github.sha}}
${{env.registry}}/${{github.repository_owner}}/${{github.event.repository.name}}/${{github.ref_name}}:latest
${{env.registry}}/${{github.repository_owner}}/${{github.event.repository.name}}:${{github.sha}}
${{env.registry}}/${{github.repository_owner}}/${{github.event.repository.name}}:${{github.ref_name}}
${{env.registry}}/${{github.repository_owner}}/${{github.event.repository.name}}:latest

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 PlasmoVoice files
RUN touch ${DATA_PATH}/pv-voice_mutes.json && \
ln -sf ${DATA_PATH}/pv-voice_mutes.json \
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

@ -53,7 +53,7 @@ holograms:
shadow_strength: 1.0
billboard: fixed
text:
- <color:#6558F4>discord.gg/xsyy7d8RfG</color>
- <color:#6558F4>discord.gg/5ZnJD4yDBq</color>
- <gray>Клик</gray>
text_shadow: false
see_through: false

View File

@ -69,8 +69,8 @@ npcs:
value: minecraft:entity.experience_orb.pickup
'2':
action: message
value: <click:OPEN_URL:https://discord.gg/xsyy7d8RfG><color:#6558F4><bold>Discord:</bold></color>
<grey>https://discord.gg/xsyy7d8RfG</grey></click>
value: <click:OPEN_URL:https://discord.gg/5ZnJD4yDBq><color:#6558F4><bold>Discord:</bold></color>
<grey>https://discord.gg/5ZnJD4yDBq</grey></click>
26dee80c-9004-47c6-bbc0-343fe2f2fba7:
name: link_bebrashield_site
creator: 3ce31233-217d-3258-8b5e-1f458c4f8e9d

View File

@ -25,13 +25,13 @@ items:
name: "<color:#6558F4><bold>Discord</bold></color>"
lore:
- "<grey>Кликните, чтобы получить ссылку в чате.</grey>"
- "<grey>https://discord.gg/xsyy7d8RfG</grey>"
- "<grey>https://discord.gg/5ZnJD4yDBq</grey>"
actions:
- type: sound
sound: ENTITY_EXPERIENCE_ORB_PICKUP
- type: message
messages:
- "<click:OPEN_URL:https://discord.gg/xsyy7d8RfG><color:#6558F4><bold>Discord:</bold></color> <grey>https://discord.gg/xsyy7d8RfG</grey></click>"
- "<click:OPEN_URL:https://discord.gg/5ZnJD4yDBq><color:#6558F4><bold>Discord:</bold></color> <grey>https://discord.gg/5ZnJD4yDBq</grey></click>"
- type: close
telegram: