Compare commits

..

2 Commits

Author SHA1 Message Date
ccba748eee Merge pull request 'suggestion-84-gloabl-player-limit' (#25) from suggestion-84 into develop
All checks were successful
/ build-docker (push) Successful in 9m28s
Reviewed-on: #25
Reviewed-by: oznobys <oznobys@noreply.localhost>
2025-08-22 20:18:26 +00:00
200c88a230
add and configure VelocityPlayerLimit plugin to set global player limit on the server netwrok 2025-08-22 22:01:57 +03:00
4 changed files with 19 additions and 2 deletions

View File

@ -180,7 +180,7 @@ playerCount:
#
# Read more: https://asl.andre601.ch/profiles/#extraplayers-enabled
#
enabled: true
enabled: false
#
# Set the number that should be added to the online player count to then use as the new max player count.
# Placeholders resolving to numbers can be used here.
@ -242,4 +242,4 @@ playerCount:
#
# Read more: https://asl.andre601.ch/profiles/#onlineplayers-amount
#
amount: 0
amount: 0

View File

@ -181,6 +181,11 @@
},
"role_moder": {
"nodes": [
{
"type": "permission",
"key": "velocityplayerlimit.bypass",
"value": true
},
{
"type": "permission",
"key": "imageframe.list.others",

BIN
src/plugins/velocity-player-limit-1.0.0.jar (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,9 @@
# Configuration for Velocity Player Limit v1.0.0 by hpfxd.com
# https://github.com/hpfxd/VelocityPlayerLimit
#
# Permission to bypass limit: "velocityplayerlimit.bypass"
# Permission to use /playerlimit: "velocityplayerlimit.command"
show-in-player-list: true
player-limit: 30
kick-message: '&cСервер полон.'