add and configure VelocityPlayerLimit plugin to set global player limit on the server netwrok

This commit is contained in:
cuqmbr 2025-08-22 22:01:57 +03:00
parent d18b7d4762
commit 200c88a230
Signed by: cuqmbr
GPG Key ID: 1F62396D020F375C
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Сервер полон.'