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>
This commit is contained in:
cuqmbr 2025-08-22 20:18:26 +00:00
commit ccba748eee
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 # 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. # 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. # Placeholders resolving to numbers can be used here.
@ -242,4 +242,4 @@ playerCount:
# #
# Read more: https://asl.andre601.ch/profiles/#onlineplayers-amount # Read more: https://asl.andre601.ch/profiles/#onlineplayers-amount
# #
amount: 0 amount: 0

View File

@ -181,6 +181,11 @@
}, },
"role_moder": { "role_moder": {
"nodes": [ "nodes": [
{
"type": "permission",
"key": "velocityplayerlimit.bypass",
"value": true
},
{ {
"type": "permission", "type": "permission",
"key": "imageframe.list.others", "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Сервер полон.'