Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_R5PNC0kq.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
IP Whitelist (Fabric) - 墨喵 Minecraft 资源
IP Whitelist (Fabric) 图标

IP Whitelist (Fabric)

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/ipwhitelistmod
资源信息

Minecraft 版本: 1.21.11

平台: fabric

标签: management technology utility

资源介绍

🛡️ IP Whitelist

A lightweight, server-side Fabric mod that lets admins control who joins based on their IP addresses.

By default, the mod is disabled when first installed to prevent you from locking yourself out. Join your server, then run /ipwhitelist add <yourname> followed by /ipwhitelist on to secure your server.

Features

  • IP-Based Security: Blocks connections before the player even joins the world.
  • Private servers friendly: Doesn't rely on UUIDs or other authentication methods that won't work on offline-mode servers.
  • Simple & Lightweight: Basic protection that works without having to set up complex authentication systems.

    Commands

All commands require OP.

Command Description
/ipwhitelist on Enables the IP check. Players not on the list will be kicked.
/ipwhitelist off Disables the check. Anyone can join.
/ipwhitelist add <player> Grabs the IP of an online player and adds it to the list.
/ipwhitelist addip <ip> Manually adds a raw IP address (e.g., 1.2.3.4) to the list.
/ipwhitelist remove <player> Removes the IP of an online player from the list.
/ipwhitelist removeip <ip> Removes a specific IP from the list (supports tab-completion).
/ipwhitelist list Displays all currently whitelisted IP addresses.
/ipwhitelist reload Forces a refresh of the config and whitelist files from the disk.

Configuration

The mod creates a folder at /config/ipwhitelist/ with two files:

  1. ip-whitelist.txt: A simple list of allowed IPs (one per line). You can edit this manually and run /ipwhitelist reload.
  2. ip-whitelist-config.properties: Stores the enabled=true/false state.
下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
HyMod-Client

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

查看详情
MarsMod

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

查看详情
Goku SSB Star Platinum (JCraft: EOE)

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

查看详情
Visual Recipe Edit-World

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

查看详情