Links
Tags
Creators
Details
Licensed MIT
Published 3 weeks ago
Updated last month
All versions
1.0.1
Release
NetherGuard 1.0.1last month 33
Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
Platforms
Bukkit
Paper
Purpur
Spigot
Changes
NetherGuard 允许玩家用两个对角点划定区域,并阻止该区域内生成下界传送门。
功能
- 玩家用
/ng pos1、/ng pos2划定区域 - 区域内禁止生成下界传送门(拦截
PortalCreateEvent) - 拦截玩家穿过传送门进入受保护区域(
PlayerPortalEvent) - 支持 2D / 3D 保护模式(2D 忽略 Y 轴,整列高度保护)
- 内置 SQLite,可选 MySQL 存储
- 内置 zh_CN / zh_TW / en_US 三种语言,支持自定义语言文件
- 异步单线程写入队列,避免 SQLite 锁冲突,不阻塞主线程
- 数据库加载失败时默认保守拦截(fail-closed)
- 细粒度权限控制:创建、删除自己/任意、重载、绕过上限
命令
| 命令 | 说明 |
|---|---|
/ng pos1 / /ng pos2 |
设置两个对角点 |
/ng create <名称> |
用当前选区创建区域 |
/ng delete <名称> |
删除区域 |
/ng list [页码] |
列出自己的区域 |
/ng info <名称> |
查看区域详情 |
/ng cancel |
清除当前选区 |
/ng reload |
从数据库重载缓存 |
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:JLL5ZGhk:Cy61CFhA"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:JLL5ZGhk:Cy61CFhA"
}

