Compatibility
Minecraft: Java Edition
1.21–1.21.4
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed MIT
Published 9 months ago
Updated 4 months ago
Simple Whitelist
This is a Fabric mod for Minecraft 1.21 that provides a simple whitelist system based on usernames.
Features
- Whitelist based on usernames: The whitelist system is based on usernames, not UUIDs.
- Database storage: You can choose between storing the whitelist data in a JSON file or a MySQL database.
Dependencies
This mod requires the following dependencies:
Configuration
The default configuration file is config\SimpleWhitelist\config.json
:
{
"whitelist": true,
"databaseType": "json",
"mysqlUrl": "jdbc:mysql://<username>:<password>@<host>:<port>/<database>",
"jsonFileName": "whitelist.json"
}
Configuration options:
whitelist
: Enable or disable the whitelist.databaseType
: The type of database to use. Can be eitherjson
ormysql
.mysqlUrl
: The connection string for the MySQL database.jsonFileName
: The name of the JSON file to store the whitelist data.
Commands
simplewhitelist list
: List all players on the whitelist.simplewhitelist add <player>
: Add a player to the whitelist.simplewhitelist remove <player>
: Remove a player from the whitelist.simplewhitelist on
: Enable the whitelist.simplewhitelist off
: Disable the whitelist.
simplewhitelist
aliases: swl
, swh
, swhitelist
Permissions
simplewhitelist.command
: Allows players to use the whitelist commands.
Installation
- Download the latest release of Simple Whitelist from here.
- Place the
.jar
file in yourmods
folder.