Merge pull request #3 from B3CKDOOR/main

Dont let admins bypass queue by default, make it seperate permission
This commit is contained in:
ProjectPersistenceORG authored and GitHub committed 2026-03-28 14:49:34 -05:00
commit 15f53631f0
6 files changed
+938 -834

No files matched your search

+4
View File
@@ -117,3 +117,7 @@ runs/
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
# Dont upload .vs Folder
.vs
.VS
+6 -2
View File
@@ -19,7 +19,7 @@ A simple queue mod for Minecraft Java Edition. Lightweight, works on essentially
- **Real-Time Position Updates** - Action bar displays current queue position and points
### Admin Access System
- **Admin Bypass** (`queue.admin`) - Always bypass the queue, can join even when server is over max capacity
- **Admin Bypass** (`queue.admin`) - can join even when server is over max capacity
- **Force Pull Players** - Admins can force pull any player from the queue directly to the main server, bypassing max capacity
### Server Management
@@ -110,9 +110,13 @@ default-seconds: 60 # Default for players without permissions
**Player Permissions:**
- Custom tier permissions defined in `queue-points.yml` (e.g., `queue.vip.diamond`, `queue.vip.gold`, etc.)
**Bypass Permissions:**
- `queue.bypass` - Bypasses queue:
- Bypass queue entirely
- If server is down, placed at front of queue with maximum priority
**Admin Permissions:**
- `queue.admin` - Full admin access:
- Bypass queue entirely
- Join even when server is over max capacity
- Access to all admin commands
- If server is down, placed at front of queue with maximum priority
+2 -2
View File
@@ -6,7 +6,7 @@ plugins {
}
group = 'org.projectpersistence'
version = '1.0-SNAPSHOT'
version = '1.1-SNAPSHOT'
repositories {
mavenCentral()
@@ -34,7 +34,7 @@ tasks {
}
}
def targetJavaVersion = 17
def targetJavaVersion = 25
java {
toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion)
}
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
File diff suppressed because it is too large. Load diff
+2 -1
View File
@@ -3,7 +3,8 @@
"name": "Queue",
"version": "${version}",
"description": "A queue system for Velocity proxy servers",
"authors": ["ProjectPersistence"],
"authors": ["ProjectPersistence", "B3CKDOOR"],
"main": "org.projectpersistence.queue.Queue",
"dependencies": []
}