
NoEntrance(禁止入内)
NoEntrance is a Minecraft Spigot/Paper server plugin for managing player join approval and access control. When a non-whitelisted player joins, the plugin automatically intercepts them, enforces security policies, and notifies online admins for approval.
NoEntrance-1.21-R0.1-1.1
Compatibility
Changes
[1.1] - 2026-06-07
新增
- 封禁时长配置(
ban-duration):支持设置临时封禁(分钟),0 = 永久 - 验证码速率限制(
token-rate-limit):防暴力破解,支持频率窗口和连续失败自动封禁 - 控制台日志开关(
notify-console):可完全关闭加入请求的控制台输出 - 通知冷却机制(
notify-cooldown):同一玩家在冷却时间内不重复通知 OP,防日志洪水
修复
- 修复玩家重加入竞态条件:旧超时任务未取消可能导致误封/误放行
- 修复玩家退出时 pending 任务未清理,导致定时任务资源泄漏
- 修复
getCommand()空指针风险:命令缺失时优雅降级而非 NPE 崩溃 - 修复验证码过期边界不一致(
cleanupExpiredTokens与verifyToken判断统一) - 修复玩家名含特殊字符时点击按钮命令解析错误(Geyser 基岩版兼容)
- 修复 kick 命令封禁时长硬编码为永久,统一适配
ban-duration配置
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:gzSAsx7f:XH7fOGYe"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:gzSAsx7f:XH7fOGYe"
}
