
Что это
This mod adds support for using a database as a whitelist, making it easier for players to whitelist on a Minecraft server and saving admins time from manually running the default command to whitelist everyone.
- Тип: мод
- Загрузчик: bukkit, fabric, forge, neoforge, paper, spigot
- Версии Minecraft: 1.21 – 26.3
- Скачиваний на Modrinth: 1 267
Подробно
Description This mod is used to make it easier to have the same whitelist across different servers and to use different methods for allowing users to whitelist. For example, having people in a school Minecraft server, and in order for them to join, they have to verify their school email to gain access to a whitelist command from a Discord bot. (Please note that this does not provide a Discord bot.)
Commands /whitelistdb toggle Turns the whitelist on and off /wban [reason] Updates the database record to show they are banned across all servers! Will kick the player if they are online - does work on players who aren't online The reason is optional and is only saved when banreasonsenabled is true (see below) Names with spaces can be put in quotes: /wban "Some Name" griefing /wunban Updates the database record to show they are unbanned across all servers! Also clears the saved ban reason when ban reasons are enabled
Getting Started To use this mod correctly, the table needs to at least have this information in it.
uuid : UUID banned : Boolean (can be called something else - set bancolumn in the config) tag : String (Optional - for placeholder api, can be called something other than tag) banreason : String (Optional - only needed if banreasonsenabled is true, name set with banreasoncolumn)
This mod also caches usernames and UUIDs locally to ban/unban offline players much more easily. If this is being added to a server that is already up, you can use the Python script provided in scripts/convert.py to correctly take the usercache.json file in the root directory of the server and make a file that should be placed in config/whitelistdb. This isn't completely necessary, as the cache will auto-update when new people join, but this will make sure that everyone who has ever joined will be detected by the mod.
When the mod is in the mod folder, start the server, and it will make a file located at config/whitelistdb-config.json. This is where you can edit the default values to correctly set up the database and edit the messages that come up when not whitelisted and when users are banned.
Default layout of config/whitelistdb-config.json
{ "host": "localhost", "port": 5432, "database": "minecraft", "username": "postgres", "password": "password", "table": "serverwhitelists", "placeholdercolumn": "tag", "bancolumn": "banned", "banreasonsenabled": false, "banreasoncolumn": "banreason", "ssl": false, "message": "You are not whitelisted!", "enabled": true, "banReason": "You have been banned!",
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
Smithing Upgradeable Tools
Make some tools upgradables in the smithing table 05.12.2026
Persistent Mining
Saves block breaking progress so you can continue mining later. 05.12.2026
EnderiumOre
Enderium is a new ore for the end, just as the nether has netherite now the end has Enderium 05.12.2026
Abyssal Shop
This Is A Simple Plugin With A Currency And Shop, Auction House, Sell, Gamble, And Operator Commands Such As /givemoney /setmoney… 05.12.2026
Bed Icons
combines the old bed icons with the new model in one pack 05.12.2026
Depiglining
Reverts speedrunning nerfs from 1.16.2+ like Piglin Brutes and bartering 05.12.2026