A basic whitelist plugin based on player nicknames only.
- Java 17 or higher.
- Purpur server 1.19.3 or Bukkit/Spigot/Paper server compatible with the Purpur API version used.
-
Download the JAR file: whitelist-1.0.0-purpur-1.19.3.jar.
-
Place the JAR file in the plugins folder of your Minecraft server.
-
Restart the server to load the plugin.
To build the plugin yourself, follow these steps:
-
Make sure you have
Java 17
or higher andGradle
installed on your system. -
Clone the plugin repository on your local machine:
git clone https://github.com/josantonius/minecraft-whitelist.git
-
Navigate to the directory of the cloned repository:
cd minecraft-whitelist
-
Use Gradle to compile the plugin:
gradle build
-
/wl on
- Enable whitelist -
/wl off
- Disable whitelist -
/wl add <player>
- Add player to whitelist -
/wl remove <player>
- Remove player from whitelist -
/wl info <player>
- Check if player is on the whitelist -
/wl help
- Show help -
/wl reload
- Reload the plugin
All commands requires the wl.admin
permission to be used.
The plugins/Whitelist/config.yml
file contains specific plugin configurations.
If enabled, only players on the whitelist will be able to join the server. If disabled, all players will be able to join the server.
enabled: true
If enabled, ops will be able to join the server even if they are not on the whitelist. If disabled, ops will not be able to join the server if they are not on the whitelist.
excludeOps: true
If enabled, players who are not on the whitelist will be kicked from the server when use
the command /wl on
or wl del <player>
.
notifyOps: true
notifyOps: true
The plugins/Whitelist/messages.yml
file contains all the messages that the plugin uses.
You can change the messages to your liking.
- Add new feature
- Create tests
- Improve documentation
Detailed changes for each release are documented in the release notes.
Please make sure to read the Contributing Guide, before making a pull request, start a discussion or report a issue.
Thanks to all contributors! ❤️
If this project helps you to reduce your development time, you can sponsor me to support my open source work 😊
This repository is licensed under the MIT License.
Copyright © 2023-present, Josantonius