Simple Whitelist 图标

Simple Whitelist

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.2.0+plugin
本资源为搬运资源,原资源地址: https://modrinth.com/mod/simple-whitelist
资源信息

Minecraft 版本: 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2 26.2

平台: bukkit folia paper purpur spigot

标签: management utility

资源介绍

Simple Whitelist

A simple, username-based whitelist for Minecraft servers — available both as a Fabric mod and as a server plugin.

Features

  • Whitelist based on usernames: The whitelist is keyed on usernames, not UUIDs. Names are case-sensitive — Steve and steve are treated as different players.
  • Database storage: Store the whitelist data in a JSON file or a MySQL database.
  • ModMenu screen (Fabric client, 1.21+): With ModMenu installed, a minimal config screen lets you toggle the whitelist — handy when you open a singleplayer world to LAN.

Fabric mod

Dependencies

Required:

Optional:

Installation

  1. Download the latest release for your Minecraft version from Modrinth.
  2. Place the .jar file in your mods folder.

Server plugin

The same whitelist is available as a server plugin — one jar for Spigot, Paper, Purpur and Folia. It reuses the mod's JSON/MySQL storage and the same case-sensitive, username-based rules, and needs no client mod.

  • Config: plugins/SimpleWhitelist/config.json — same schema as the mod (see below).
  • Permission: simplewhitelist.command (default: op) — grant it via any permissions plugin, e.g. LuckPerms.

Installation

  1. Download the latest plugin release from Modrinth.
  2. Place the .jar file in your plugins folder.

Client-only features (the ModMenu config screen) are mod-only and have no plugin equivalent.

Configuration

The default configuration file is config/SimpleWhitelist/config.json (mod) or plugins/SimpleWhitelist/config.json (plugin):

{
    "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 either json or mysql.
  • 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.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
VampireReborn

价格:0 墨喵币
下载量:0

查看详情
CoreHealth

价格:0 墨喵币
下载量:0

查看详情
Craft extension AOT

价格:0 墨喵币
下载量:0

查看详情
Happy obsidian

价格:0 墨喵币
下载量:0

查看详情