Compare commits

...

30 Commits

Author SHA1 Message Date
d18b7d4762 Merge pull request 'release-1.0.0' (#24) from develop into main
All checks were successful
/ build-docker (push) Successful in 16m44s
Reviewed-on: #24
2025-08-14 14:57:20 +00:00
9f31fe13a0
rename docker image tag and add on tag push build condition to github action
Some checks failed
/ build-docker (push) Has been cancelled
2025-08-14 17:50:09 +03:00
6493498337 Merge pull request 'feature-23-permission-improvements' (#23) from feature-23 into develop
All checks were successful
/ build-docker (push) Successful in 8m56s
Reviewed-on: #23
2025-08-13 17:47:58 +00:00
87aee184c4
change clans' prefixes 2025-08-13 20:44:30 +03:00
c4fda21c32
add SkinsRestorer update permission 2025-08-13 20:44:30 +03:00
9eb4e9f626
configure ImageFrame permissions 2025-08-13 20:44:30 +03:00
1584d8253f Merge pull request 'feature-42-image-size-optimization-and-uid-gid-selection' (#22) from feature-42 into develop
All checks were successful
/ build-docker (push) Successful in 9m1s
Reviewed-on: #22
2025-08-12 19:34:08 +00:00
625d8a2a7a
add uid/gid selection to run application as in Dockerfile 2025-08-12 19:11:52 +03:00
87bd681c23
rearranged Dockerfile statements and add remove cache after locale installation 2025-08-12 18:51:42 +03:00
b4ab1f1860 Merge pull request 'feature-26-transparent-favicon-background' (#21) from feature-26 into develop
All checks were successful
/ build-docker (push) Successful in 8m49s
Reviewed-on: #21
2025-08-10 17:52:01 +00:00
43a34ffd75
remove favicon background 2025-08-10 20:50:16 +03:00
f50ea15354 Merge pull request 'feature-23-permission-improvements' (#20) from feature-23 into develop
Some checks failed
/ build-docker (push) Has been cancelled
Reviewed-on: #20
2025-08-10 17:48:01 +00:00
e9a975996d
add bmmarker permissions to admin role 2025-08-10 20:45:03 +03:00
e0e65dfae1
remove open ender chest permission from moderator role
due to the bug in the used plugin version (5.1.2), ender chest not displaying contents properly in view-only mode

fixed in 5.1.6 https://github.com/Jikoo/OpenInv/releases/tag/5.1.6
2025-08-10 20:43:34 +03:00
fe9c92e558
rename track "staff" to "roles" 2025-08-10 20:43:34 +03:00
62675bf7aa
add "eye" clan 2025-08-10 20:43:34 +03:00
f9a03bc26c
fix players' inability to set skins by url 2025-08-10 20:43:34 +03:00
86282257f5 Merge pull request 'feature-42-fix-unicode' (#19) from feature-42 into develop
All checks were successful
/ build-docker (push) Successful in 9m21s
Reviewed-on: #19
2025-08-06 18:57:22 +00:00
3fa160365c
add unicode locale generation to Dockerfile
before the change, unicode characters were displayed in console as question marks
2025-08-06 21:54:52 +03:00
83dcc565d8 Merge pull request 'feature-23-command-whitelist' (#18) from feature-23 into develop
All checks were successful
/ build-docker (push) Successful in 3m48s
Reviewed-on: #18
Reviewed-by: oznobys <oznobys@noreply.localhost>
2025-08-04 15:28:51 +00:00
b9969e22c1
add and configure CommandWhitelist
allows to forbid certain command execution and hide their completion
2025-08-03 22:30:23 +03:00
922c7dffee
add initial luckperms state
compress with gzip, then import with /lpv import luckperms.json.gz
2025-08-03 22:28:26 +03:00
54cd553199 Merge pull request 'color update' (#17) from tab-config into develop
All checks were successful
/ build-docker (push) Successful in 5m12s
Reviewed-on: #17
Reviewed-by: cuqmbr <me@cuqmbr.xyz>
2025-07-28 20:44:09 +00:00
af726a7e61 Merge pull request 'configure-motd' (#16) from motd-config into develop
All checks were successful
/ build-docker (push) Successful in 5m25s
Reviewed-on: #16
Reviewed-by: cuqmbr <me@cuqmbr.xyz>
2025-07-26 18:30:45 +00:00
e20f6a19d8 Merge pull request 'change-prefix-ordering' (#15) from tab-config into develop
Some checks failed
/ build-docker (push) Has been cancelled
Reviewed-on: #15
Reviewed-by: cuqmbr <me@cuqmbr.xyz>
2025-07-26 18:30:03 +00:00
dcdcadf2e4 configure motd 2025-07-26 20:19:44 +03:00
853857e1c3 Merge pull request 'feature-46-unifiedmetrics' (#14) from feature-46 into develop
All checks were successful
/ build-docker (push) Successful in 5m13s
Reviewed-on: #14
2025-07-25 18:21:14 +00:00
40ea78c2d9 Merge pull request 'tab-ignore-limbo' (#13) from tab-config into develop
All checks were successful
/ build-docker (push) Successful in 5m5s
Reviewed-on: #13
Reviewed-by: cuqmbr <me@cuqmbr.xyz>
2025-07-25 16:14:38 +00:00
9da6b3c3d4
add and configure UnifiedMetrics prometheus exporter 2025-07-25 17:55:53 +03:00
7373d9a99b Merge pull request 'tab-configуре' (#12) from tab-config into develop
All checks were successful
/ build-docker (push) Successful in 5m13s
Reviewed-on: #12
Reviewed-by: cuqmbr <services@cuqmbr.xyz>
2025-07-24 15:55:37 +00:00
11 changed files with 1193 additions and 12 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

@ -15,9 +15,23 @@ RUN touch ${DATA_PATH}/pv-groups.json && \
ln -sf ${DATA_PATH}/pv-groups.json \
${CONFIG_PATH}/plugins/pv-addon-groups/groups.json
# Generate unicode locale so that cyrillic characters display properly
RUN apt-get update -y && apt-get install -y locales && \
echo en_US.UTF-8 UTF-8 > /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
rm -Rf var/lib/apt/lists/*
ENV LANG en_US.UTF-8
VOLUME ${DATA_PATH}
EXPOSE 25565/tcp
ENV GID=988
ENV UID=999
ENV MEMORY=4G
ENV PROXY_SECRET=00000000-0000-0000-0000-000000000000
@ -53,13 +67,19 @@ ENV SONAR_DB_NAME=sonar_db
ENV SONAR_DB_USERNAME=sonar
ENV SONAR_DB_PASSWORD=0000
WORKDIR ${WORKDIR_PATH}/config
EXPOSE 25565/tcp
WORKDIR ${WORKDIR_PATH}/config
# TODO: Make awk commands sapn multiple lines
# TODO: Use one call to awk to perform substitutions
CMD \
# 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.
groupadd -g ${GID} worker && \
useradd -M -g ${GID} -u ${UID} worker && \
chmod -R o-rwx ${WORKDIR_PATH} && \
# Add proxy secret
sed -i "s/_PROXY_SECRET_/${PROXY_SECRET}/g" forwarding.secret && \
@ -108,4 +128,7 @@ CMD \
sed -i "s/_SONAR_DB_USERNAME_/${SONAR_DB_USERNAME}/g" plugins/sonar/config.yml && \
sed -i "s/_SONAR_DB_PASSWORD_/${SONAR_DB_PASSWORD}/g" plugins/sonar/config.yml && \
java -Xms${MEMORY} -Xmx${MEMORY} -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -XX:MaxInlineLevel=15 -jar *.jar
# Change UID and GID of used files to desired values.
chown -R worker:worker ${WORKDIR_PATH} && \
su worker -c "java -Xms${MEMORY} -Xmx${MEMORY} -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -XX:MaxInlineLevel=15 -jar *.jar"

BIN
src/plugins/CommandWhitelist-Velocity-2.12.0.jar (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 539 KiB

View File

@ -33,10 +33,40 @@ condition: ''
# Read more: https://asl.andre601.ch/profiles/#profiles
#
profiles:
- motd: ['<aqua>Welcome to the club Bebrashield:re', '<gold>your mom is pretty']
- motd:
- '<aqua>Bebrashield 2.0 also try Bebrashield:re'
- '<gold>you look like Billy'
- "<#4cd964>❤</#4cd964> <gradient:#4cd964:#34c759><bold>Bebrashield</bold></gradient> <gray>> New era"
- "<#e6c67a><bold>🔧</bold> А чё, когда барьер расширять будете? "
- motd:
- "<#4cd964>❤</#4cd964> <gradient:#4cd964:#34c759><bold>Bebrashield</bold></gradient> <gray>> New era"
- "<#e6c67a><bold>🔧</bold> Колёса крутятся алмазы мутятся! "
- motd:
- "<#4cd964>❤</#4cd964> <gradient:#4cd964:#34c759><bold>Bebrashield</bold></gradient> <gray>> New era"
- "<#e6c67a><bold>🔧</bold> А там точно не лазуритный блок? "
- motd:
- "<#4cd964>❤</#4cd964> <gradient:#4cd964:#34c759><bold>Bebrashield</bold></gradient> <gray>> New era"
- "<#e6c67a><bold>🔧</bold> О, что это за берёза? "
- motd:
- "<#4cd964>❤</#4cd964> <gradient:#4cd964:#34c759><bold>Bebrashield</bold></gradient> <gray>> New era"
- "<#e6c67a><bold>🔧</bold> Стойте! Проходите! Стойте! А ты уходи! "
- motd:
- "<#4cd964>❤</#4cd964> <gradient:#4cd964:#34c759><bold>Bebrashield</bold></gradient> <gray>> New era"
- "<#e6c67a><bold>🔧</bold> Нюхай бебру! "
- motd:
- "<#4cd964>❤</#4cd964> <gradient:#4cd964:#34c759><bold>Bebrashield</bold></gradient> <gray>> New era"
- "<#e6c67a><bold>🔧</bold> Ну это 100% соя. "
- motd:
- "<#4cd964>❤</#4cd964> <gradient:#4cd964:#34c759><bold>Bebrashield</bold></gradient> <gray>> New era"
- "<#e6c67a><bold>🔧</bold> Лес летающих деревьев... "
- motd:
- "<#4cd964>❤</#4cd964> <gradient:#4cd964:#34c759><bold>Bebrashield</bold></gradient> <gray>> New era"
- "<#e6c67a><bold>🔧</bold> О погоде - в Византии сегодня потоп! "
- motd:
- "<#4cd964>❤</#4cd964> <gradient:#4cd964:#34c759><bold>Bebrashield</bold></gradient> <gray>> New era"
- "<#e6c67a><bold>🔧</bold> Чё, когда бан пикси? "
- motd:
- "<#4cd964>❤</#4cd964> <gradient:#4cd964:#34c759><bold>Bebrashield</bold></gradient> <gray>> New era"
- "<#e6c67a><bold>🔧</bold> Я князь тьмы! Нет, ты сясь тьома. "
#
# Set the "Message of the day" to display.
@ -82,7 +112,7 @@ motd:
# This should only happen for the first ping of a player and subsequent pings should display the favicon, if the
# pings are done within the configured cache time (See 'faviconCacheTime' in the config.yml).
#
favicon: ''
favicon: 'logo.png'
#
# Contains options for modifying the player count (Text displaying <online>/<max>).
@ -119,8 +149,8 @@ playerCount:
# Read more: https://asl.andre601.ch/profiles/#hover
#
hover:
- '<aqua>Чё'
- '<yellow>Вылупился'
- '<white>Чё вылупился?'
- '<white>Заходи!'
#
# Set the text that should be displayed instead of the default '<online>/<max>' text.
#

View File

@ -0,0 +1,41 @@
# Messages use MiniMessage formatting (https://docs.adventure.kyori.net/minimessage/format)
messages:
prefix: ''
command_denied: ''
subcommand_denied: ''
no_permission: ''
no_such_subcommand: ''
config_reloaded: <yellow>Configuration reloaded.
added_to_whitelist: <yellow>Whitelisted command <gold>%s <yellow>for permission
<gold>%s
removed_from_whitelist: <yellow>Removed command <gold>%s <yellow>from permission
<gold>%s
group_doesnt_exist: <red>Group doesn't exist or error occured
# Valid message types are CHAT and ACTIONBAR. Does nothing on velocity.
message_type: CHAT
groups:
default:
commands:
- server
- register
- login
- changepassword
- premium
- confirmpremium
- cracked
- groups
- skin
subcommands: []
role_moder:
commands:
- vmute
- vunmute
- vmutelist
subcommands: []
role_admin:
commands:
- send
- vbroadcastproxy
subcommands: []

View File

@ -403,7 +403,7 @@ auto-install-translations: true
meta-formatting:
prefix:
format:
- highest_on_track_staff
- highest_on_track_roles
- highest_on_track_clans
duplicates: first-only
start-spacer: "<dark_grey>[</dark_grey>"

File diff suppressed because it is too large Load Diff

BIN
src/plugins/unifiedmetrics-platform-velocity-0.3.8.jar (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,14 @@
server:
name: "proxy"
metrics:
enabled: true
driver: "prometheus"
collectors:
systemGc: true
systemMemory: true
systemProcess: true
systemThread: true
server: true
world: true
tick: true
events: true

View File

@ -0,0 +1,16 @@
mode: "HTTP"
http:
host: "0.0.0.0"
port: 9100
authentication:
scheme: "NONE"
username: "username"
password: "password"
pushGateway:
job: "unifiedmetrics"
url: "http://pushgateway:9091"
authentication:
scheme: "NONE"
username: "username"
password: "password"
interval: 10