Tags
Creators
Details
Licensed GPL-3.0-only
Published 3 years ago
Updated 3 months ago
All versions
4.1.1-rc5
Beta
IpacWhitelist 4.1.1-rc52 years ago 154
Compatibility
Minecraft: Java Edition
1.21
1.20.x
1.19.x
1.18.x
1.17.x
Platforms
Paper
Purpur
Spigot
Changes
What's Changed
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.1 to 3.5.2 by @dependabot in https://github.com/ApliNi/IpacWhitelist/pull/11
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1 to 3.13.0 by @dependabot in https://github.com/ApliNi/IpacWhitelist/pull/13
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.2 to 3.5.3 by @dependabot in https://github.com/ApliNi/IpacWhitelist/pull/15
Full Changelog: https://github.com/ApliNi/IpacWhitelist/compare/v4.0.1...4.1.1-rc5
注意! 这是一个测试版本, 其中有些功能并没有得到足够的测试以保证稳定性
新增功能
- [未测试] 尝试限定玩家加入时使用的地址 ApliNi
- PAPI 支持 https://github.com/ApliNi/IpacWhitelist/issues/16
- 设置白名单超时时间 ApliNi
- 修改 "简易" IP 黑名单相关功能 ApliNi
- [未测试] 通过玩家登录来源创建自动化, 允许自动添加到白名单 https://github.com/ApliNi/IpacWhitelist/issues/14
- 记录命令最后一个操作者的信息 https://github.com/ApliNi/IpacWhitelist/issues/12 https://github.com/ApliNi/IpacWhitelist/issues/5
配置改动和更新
[!] 由于配置改动过多, 更新到此版本时建议重新生成配置文件
whitelist:
# 简易的 ip 黑名单. 在这里添加正则表达式, 匹配的ip不允许加入服务器 (也不允许使用参观账户
# 使用 /wl reload 重载配置即可应用
# IP 地址格式: ipv4: "/127.0.0.1", ipv6: "/0:0:0:0:0:0:0:1" 没有方括号
ipBlacklist: [ ]
# - '^/192\.168\.100\..+$'
# - '^/fe80::1234:.+$'
# 限定玩家只能通过以下地址连接服务器
addressConfig:
enable: false
list: [ ]
# - '^0:0:0:0:0:0:0:0:25565$'
kickMsg: '§6IpacEL §f> §b此地址不可用'
# 根据玩家登录来源自动添加到白名单, 这仅适用于新玩家
AutoWL:
enable: false
# 通过 Geyser 插件检查, 如果没有安装此插件, 则设置为 NOT
onGeyserPlayer: WHITE # 将所有新的基岩版玩家添加到白名单
# 通过 MojangApi **粗略**地检查是否为正版账户 https://api.mojang.com/users/profiles/minecraft/<playerName>
onPremiumPlayer: WHITE # 将所有新的正版账户添加到白名单
onPremiumPlayerErrMsg: '§6IpacEL §f> §b无法连接身份验证服务器, 请稍后重试'
# 不属于以上任何一类玩家
onOtherPlayer: NOT # 不处理其他玩家
# 参观账户
VISIT:
# 限定参观模式可使用的地址
addressConfig:
enable: false
list: [ ]
kickMsg: '§6IpacEL §f> §b您不在白名单中'
# 白名单中的玩家
WHITE:
# 距离上一次上线超过此时间就踢出, 如果需要取消可以修改为较大的数值
timeOut: 18394560 # 7个月
timeOutMsg: '§6IpacEL §f> §a太久没有上线? 请联系管理员恢复'
command:
add:
isExist: ' - §a%playerName%§f[§7%playerUUID%§f] §b已在白名单中, 已更新时间记录'
# 尝试记录最后一个操作者的信息
logger_sender:
enable: false
isPlayer: '%playerName%[%playerUUID%]'
isOther: '[控制台]'
info:
finish: >
§f - §a%playerName%§f[§7%playerUUID%§f]: [§bID: §6%id%§f]
- §bTYPE: §6%type%
- §bBAN: §6%ban%
- §bTIME: §6%time%
config: ' - §bDATA: §6%key% §f-> §a%var%'
# API 相关配置
api:
PlaceholderAPI:
iwl_player_type: {}
iwl_player_type_name:
NOT: '不存在'
VISIT: '参观账户'
WHITE: '白名单'
VISIT_CONVERT: '白名单 (正在转换)'
BAN: '已封禁'
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:mbwgQUdZ:H0iVUIzK"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:mbwgQUdZ:H0iVUIzK"
}

