A simple Velocity plugin that restricts access to back-end servers using permissions.
AccessDenier
A simple Velocity plugin that restricts access to back-end servers using permissions.
Features
- Denies server connections when a player lacks permission
- Replaces Velocity’s
/servercommand - Only shows accessible servers in
/server - Supports tab completion for permitted servers
- Disconnects players if they try to join a server they cannot access on initial connect
Requirements
- Java 17+
- Velocity
3.4.0-SNAPSHOTor compatible - A permissions plugin
Permissions
Access to each server is controlled with:
server.access.<server-name>
Examples
server.access.lobby
server.access.survival
server.access.minigames
Installation
- Download or build the plugin jar
- Place it in your Velocity
plugins/folder - Restart your proxy
- Assign the appropriate permissions to players
Building
Clone the repository and run:
mvn clean package
The compiled jar will be located in:
target/
Usage
Players can run /server to see a list of servers they have access to.
To connect to a server:
/server <server-name>
If a player tries to join a server without permission, the connection will be denied.
Players also need access to the server command unless it is not explicitly denied:
velocity.command.server
License
This project is licensed under the GNU General Public License v3.0.
Parts of this project are based on Velocity’s original server command code, which is also licensed under the GNU General Public License v3.0.