最易用的星际之门插件。
本分支是废弃的 Bukkit 插件 by Lologarithm, alron, and lycano 的一个分支。对于 1.1.2 之前的版本,请访问该 Bukkit 链接。
功能特性 •
安装 •
快速上手 •
门类型 •
命令 •
权限 •
配置 •
从源码构建
此分支的主要重点在于围绕星际之门及其简洁性展开,同时尽可能贴近原作设定。
功能特性
- 原作中的门 - 默认的银河系门(Milky Way gate),这是功能最丰富的形状,且可按你的意愿进行自定义。来自《星际之门:亚特兰蒂斯》(Stargate Atlantis)的佩加斯us 星门(Pegasus stargate),相比银河系门锁定 chevrons(箭头标记)的速度更快,外观更加阴暗。来自《星际之门:宇宙》(Stargate Universe)的命运号门(Destiny),chevrons 锁定速度较慢,但使用便携式 DHD 控制器而非基座来激活门。Ori 超级门(Ori Supergate),如《星际之门:真理之箱》(Stargate: The Ark of Truth)中所见。尺寸为 101x101 方块,非常适合任何大型基地。
- 权限插件支持 - 与 LuckPerms 集成,以管理玩家可以使用或不能使用的内容。可选功能——如果没有权限插件,也可以使用权限文件。
- Iris 密码保护 - 为你的星际之门设置 IDC(内部识别码)以确保安全。实体在接触到已锁定的星际之门的 Iris(虹膜)时会被杀死。
- 万物皆可传送 - 带上你的宠物一起旅行,或者利用弓箭制作复杂的陷阱,因为星际之门还可以传送其他实体。箭头在穿过星际之门时不会损失任何动量,这使其成为完美的陷阱。
- 不稳定的漩涡 - 当你拨号启动星际之门且 chevrons 锁定后,最好退后一步,因为不稳定的漩涡会从星际之门中射出。如果你挡在前面会受到伤害,并且它会破坏任何方块。(有害漩涡可在配置文件中关闭)
- 网络功能 - 通过将门设置为自定义网络来保持其本地化。这仅允许同一网络上的星际之门互相访问,而其他星际之门则无法访问它们。
- 创建自定义形状 - 使用
/wxshape 命令或直接编辑文件轻松创建新的门形状。整个星际之门均可自定义,包括使用的材质以及漩涡的形成方式。
- 额外的数据库支持 - 无论你喜欢使用 MySQL/MariaDB 还是 SQLite,设置都非常简单。SQLite 是默认选项,你可以在配置中设置登录信息,并通过
/wxconvertdb 快速将旧数据库转换为新数据库。
- 无需依赖项 - WormholeXTreme 不需要任何其他插件;在没有安装任何其他插件的情况下,本插件也能完美运行!
- 切换门形状 - 不想让玩家使用特定的门形状?只需使用
/wxshape disable <ShapeName> 禁用即可。
要求
|
|
| 服务器版本 |
Spigot 或 Paper,1.20.4 至 26.3 |
| Java 版本 |
JDK 17 至 25 |
| 可选依赖项 |
Vault + EssentialsX(经济系统)、LuckPerms(权限) |
安装
- 从上面的 Releases 标签页下载 jar 文件。
- 将其放入服务器的
plugins/ 文件夹中。
- 启动服务器。Wormhole X-Treme 会创建
plugins/WormholeXTreme/ 目录,其中包含:
Settings.txt,主配置文件
GateShapes/,门的造型设计
WormholeXTremeDB/,SQLite 数据库
GateShapePrices.txt,启用经济支持时的建造价格
Permissions.txt,没有权限插件时的服务器权限
- 可选步骤:调整设置,然后运行
/wxreload 或重启服务器。
更新
用新版本替换旧的 jar 文件并重启。无需其他操作:
- 新版本中添加的设置会以默认值写入你现有的
Settings.txt 中。你自己的数值将被保留。
- 如果更新后旧的门显示不正确,运行
/wormhole updategate <gate|-all> 将根据当前形状重建它。
快速上手
建造一扇门
最快的方法是让插件为你建造:
- 运行
/wxbuild Standard。运行 /wxbuildlist 可查看每种可用的形状。
- 在一个方块上放置按钮或拉杆并按下。门会在其周围自动建造,该开关将成为门的 DHD(数字输入设备)。
- 运行
/wxcomplete <name> 为门命名并完成建造。
你也可以手动根据形状的方块(标准门使用的是黑曜石)建造门,在 DHD 方块上放置一个拉杆,扳动拉杆,然后运行 /wxcomplete。添加 idc=<code> 可为门赋予一个 Iris(虹膜),添加 net=<network> 可将其置于一个网络中:
/wxcomplete supersecretroom idc=topsecret net=Private
拨号连接一扇门
- 扳动门的 DHD 拉杆。门被激活,其 chevrons(箭头标记)锁定。
- 运行
/dial <gate>,例如 /dial spawn。
- 走进传送门。再次扳动拉杆可提前关闭虫洞。
如果你正在连接的门的 Iris 处于关闭状态,请提供其代码:/dial supersecretroom topsecret。
拨号告示牌
名称以 SignDial 结尾的形状有一个用于放置拨号告示牌的位置,因此无需输入命令即可进行拨号。
- 建造一个 - 它是通常的星际之门形状,除了 DHD 基座扩展为 2x2 大小。DHD 拉杆保持在原位,但在该拉杆旁边放置一个告示牌。在第一行写上所需的门名称,并在第二行可选地写上网络名称。然后扳动拉杆,星际之门将自动完成。
- 使用一个 - 右键单击告示牌以滚动浏览目的地。左键单击则向相反方向滚动。选择好目的地后,扳动拉杆。
Iris
通过 /wxidc <gate> <code> 或在完成门时添加 idc= 来为门设置 IDC。这会在门上添加一个虹吸拉杆。任何人要拨号进入都必须提供代码,否则会被挡在虹吸门外。
门类型
银河之门 (Milky Way gates)
经典类型的门,由 GateShapes/ 中的形状文件定义。非正典的形状默认禁用。使用 /wxshape enable <shape> 启用它们。
| 形状 |
默认启用 |
| Standard, StandardSignDial |
是 |
| Super, SuperSignDial |
是 |
| Horizontal, HorizontalSignDial |
是 |
| Large, LargeSignDial |
否 |
| Small, SmallSignDial |
否 |
| Minimal, MinimalSignDial |
否 |
飞马座之门 (Pegasus gates)
内置的门,具有深板岩瓷砖环、海晶灯字位和浅蓝色虹吸门。它们使用普通的 DHD,类似于银河之门。
使用 /wxbuild Pegasus 建造一座。
命运之门 (Destiny gates)
内置的门,具有抛光黑石环和发光红石块字位。正如剧中所展示的那样,圆环会旋转以依次锁定每个字位。(配有华丽的字位动画。)
命运之门没有 DHD。你可以通过“命运 DHD 控制器”激活它们:
- 建造圆环,使用
/wxbuild Destiny 或手动建造。
- 手持“命运 DHD 控制器”,站在距离圆环 10 格以内的位置并运行
/wxlink <GateName> idc=[IDC] net=[Network]。这将完成门的建造并将控制器与之链接。
- 右键点击控制器以激活门,然后像往常一样使用
/dial。左键点击切换虹吸门。
控制器是一个指南针,始终指向其链接的门。要将另一个控制器链接到已建造好的门,请站在门附近并运行 /wxlink <GateName> [IDC]。
制作控制器:
|
|
|
| 金锭 |
玻璃板 |
金锭 |
| 红石粉 |
回声碎片 |
红石粉 |
| 金锭 |
黑曜石 |
金锭 |
每个家族的门只能拨号同一家族的门。飞马座之门无法拨号银河之门,以此类推。飞马座之门和命运之门可以通过 /wxt bonusgates false 关闭。现有的门会被保留,并在重新开启后恢复工作。
命令
玩家可用
| 命令 |
功能 |
/dial <GateName> [IDC] |
拨号星际之门以完成虫洞连接 |
/wxlist [all|self|network <net>|player <name>] |
列出可用的星际之门 |
/wxtop [count] |
访问次数最多的星际之门 |
/wxcompass |
将你的指南针指向最近的星际之门 |
/wxlink <name> [idc=] [net=] |
完成命运之门建造并将你的控制器与之链接 |
建筑者可用
| 命令 |
功能 |
/wxbuild <shape> |
自动建造所需形状的門 |
/wxbuildlist |
列出可用的形状 |
/wxcomplete <name> [idc=] [net=] |
完成门的建造 |
/wxidc <gate> [code] |
显示或设置门的 IDC |
/wxremove <gate> [-all] |
移除一扇门。-all 也会移除其方块 |
管理员可用
| 命令 |
功能 |
/wxt <setting> (别名 /wormhole) |
在游戏中更改设置和每扇门的选项(见下文) |
/wxshape <create|edit|enable|disable|load|unload|remove> [shape] |
在游戏中创建和管理门的形状 |
/wxgo <gate> [IDC] |
传送至一扇门 |
/wxforce <gate|-all> |
强制关闭一扇门,使其变暗且虹吸门打开 |
/wxreload [now] (别名 /wxre) |
重载插件 |
/wxstatus [all] (别名 /wxs) |
显示插件和数据库状态 |
/wxconvertdb <nxt|sqlite> |
从 NovyXTreme 导入门,或将 SQLite 门移动到 MySQL/MariaDB |
所有 /wxt 选项
| 选项 |
功能 |
activate_timeout [secs] |
激活后的门等待拨号的时长 |
timeout [secs] |
虫洞保持开启的时长 |
cooldown <true|false|one|two|three> [secs] |
使用冷却时间 |
restrict <true|false|one|two|three> [count] |
建造限制 |
simple <true|false> |
简单权限模式 |
custom <gate|-all> [true|false] |
每扇门的自定义材质 |
portalmaterial <gate> [material] |
门的视界材质 |
irismaterial <gate> [material] |
门的虹吸材质 |
lightmaterial <gate> [material] |
门的字位材质 |
wooshdepth <gate> [0-5] |
门的不稳定漩涡波及范围 |
redstone <gate> [true|false] |
门的红石控制 |
owner <gate> [player] |
显示或更改门的拥有者 |
regenerate <gate|-all> |
重建门的方块 |
updategate <gate|-all> |
将门更新为其形状的最新布局 |
gateinfo [gate] |
关于门的详细信息 |
kickback_count [n] |
当尝试使用虹吸门锁定的星际之门时,用户被击退的距离 |
min_gate_distance [blocks] |
门之间的最小创建距离 |
bonusgates [true|false] |
切换飞马座之门和命运之门 |
toggle_gwm / show_gwm |
到达欢迎消息 |
toggle_transport / show_transport |
交通方式 |
permissions [provider] |
权限提供者 |
debug <level> |
日志级别 |
权限
Wormhole X-Treme 可与任何 Bukkit 权限插件配合使用。如果没有安装权限插件,OP(操作员)可以执行所有操作,而 Permissions.txt 决定其他所有人的权限。
标准权限
| 权限 |
默认值 |
功能 |
wormhole.use.dialer |
everyone |
使用 /dial 门控 |
wormhole.use.sign |
everyone |
使用拨号标志门控 |
wormhole.use.compass |
everyone |
/wxcompass |
wormhole.list.self |
everyone |
/wxlist self |
wormhole.top |
everyone |
/wxtop |
wormhole.network.use |
everyone |
使用门控网络 |
wormhole.build |
op |
建造门控 |
wormhole.build.all |
op |
在任何网络上建造 |
wormhole.network.build |
op |
在网络上建造 |
wormhole.remove.own |
op |
移除自己的门控 |
wormhole.remove.all |
op |
移除任意门控 |
wormhole.list.all |
op |
/wxlist all |
wormhole.list.network |
op |
/wxlist network |
wormhole.list.player |
op |
/wxlist player |
wormhole.go |
op |
/wxgo |
wormhole.shape |
op |
/wxshape |
wormhole.config |
op |
/wormhole 设置 |
wormhole.build.groupone / two / three |
none |
建造限制组 |
wormhole.cooldown.groupone / two / three |
none |
使用冷却组 |
还支持通配符,例如 wormhole.use.*、wormhole.build.*、wormhole.remove.*、wormhole.network.* 和 wormhole.cooldown.*。
简单模式
启用 SIMPLE_PERMISSIONS=true 后,仅需四个权限即可覆盖所有功能:
| 权限 |
默认值 |
允许操作 |
wormhole.simple.use |
everyone |
使用门控 |
wormhole.simple.build |
op |
建造门控 |
wormhole.simple.remove |
op |
移除门控 |
wormhole.simple.config |
op |
更改设置 |
配置
所有配置均位于 plugins/WormholeXTreme/Settings.txt。文件中对每个设置都有说明,大多数设置也可在游戏中通过 /wxt 命令进行修改。
游戏性设置
| 设置项 |
默认值 |
描述 |
TIMEOUT_ACTIVATE |
30 |
激活后的门控等待被拨号的秒数 |
TIMEOUT_SHUTDOWN |
38 |
虫洞保持开启状态的秒数。设为 0 则直到有人穿过才关闭 |
WORMHOLE_KICKBACK_BLOCK_COUNT |
2 |
用户从繁忙的门控被推回的方块数量(仅在禁用 "DEADLY_IRIS" 时生效) |
WORMHOLE_MAX_GATE_NAME_LENGTH |
50 |
门控名称的最大长度 |
WORMHOLE_MINIMUM_GATE_DISTANCE |
0 |
新门控之间的最小方块距离。0 表示关闭此检查 |
WORMHOLE_DANGEROUS_KAWOOSH |
false |
不稳定的漩涡会对站在其中的人造成伤害 |
WORMHOLE_KAWOOSH_DAMAGE |
10 |
Kawoosh(开启动画)造成的伤害值(以半颗心为单位) |
WORMHOLE_DEADLY_IRIS |
false |
触碰关闭的虹膜开关会直接杀死用户,而不是将其弹回 |
WORMHOLE_MOB_TRAVEL |
true |
生物可通过虫洞传送 |
WORMHOLE_ITEM_TRAVEL |
true |
掉落的物品可通过虫洞传送 |
WORMHOLE_ARROW_TRAVEL |
true |
箭矢和三叉戟可通过虫洞传送 |
WORMHOLE_BONUS_GATES |
true |
Pegasus 和 Destiny 门控可用 |
ALLOW_DESTINATION_GATE_SHUTDOWN |
false |
接收端的玩家可关闭虫洞 |
SHOW_GATE_WELCOME_MESSAGE |
true |
到达时显示欢迎消息 |
限制、冷却与经济
| 设置项 |
默认值 |
描述 |
BUILD_RESTRICTION_ENABLED |
false |
限制玩家可建造的门控数量 |
BUILD_RESTRICTION_GROUP_ONE / TWO / THREE |
1 / 2 / 3 |
各建造组可建造的门控数量 |
USE_COOLDOWN_ENABLED |
false |
每次穿越虫洞之间的冷却时间 |
USE_COOLDOWN_GROUP_ONE / TWO / THREE |
120 / 60 / 30 |
各组的冷却时间(秒) |
ECONOMY_ENABLED |
false |
完成门控时需向玩家收费。价格定义在 GateShapePrices.txt 中 |
数据库
SQLite 无需额外设置。若要使用 MySQL 或 MariaDB,请创建一个空数据库并设置如下参数:
| 设置项 |
默认值 |
DATABASE_TYPE |
sqlite (或 mysql / mariadb) |
DATABASE_HOST |
localhost |
DATABASE_PORT |
3306 |
DATABASE_NAME |
wormholextreme |
DATABASE_USERNAME |
root |
DATABASE_PASSWORD |
(空) |
根据实际需求修改这些设置。
若要将现有 SQLite 中的门控数据迁移到 MySQL 或 MariaDB,请在更改配置后运行 /wxconvertdb sqlite。
权限与其他设置
| 设置项 |
默认值 |
描述 |
PERMISSIONS_BACKEND |
bukkit |
使用的权限系统后端 |
SIMPLE_PERMISSIONS |
false |
使用简单模式的四个权限 |
PERMISSIONS_SUPPORT_DISABLE |
false |
忽略已安装的权限插件 |
BUILT_IN_PERMISSIONS_ENABLED |
false |
使用内置权限等级 |
WORMHOLE_USE_IS_TELEPORT |
false |
仅拥有使用权限的玩家才能进行传送 |
USE_EVENT_OR_TP_TRANSPORT |
true |
使用事件而非传送来移动玩家 |
LOG_LEVEL |
INFO |
插件日志记录级别 |
自定义门控形状
GateShapes/ 目录下的每个文件管理一个门控形状,使用以下标记:
| 标记 |
含义 |
[S] |
门框方块 |
[P] |
事件视界 |
[I] |
忽略该位置,任何方块均可放置于此 |
:L#n |
箭头形装饰块,按顺序 n 点亮 |
:W#n |
Kawoosh 动画方块,按顺序 n 出现 |
:A |
DHD 开关的位置 |
:IA |
虹膜开关的位置 |
:D |
拨号标志的位置 |
:N |
名称标志的位置 |
:EP / :EM |
玩家和矿车的到达位置 |
Standard.shape 是新手用户最佳的基础形状选择。你也可以在游戏中通过 /wxshape create 命令设计形状。
最终的 jar 包位于 target/ 目录下。每一次更改都会自动构建并在 1.20.4 到 26.3 版本的每个 Spigot 发布版上进行测试。
致谢
Wormhole X-Treme 由 Lologarithm 和 alron 创建,由 lycano 接手维护,现由 Dakto_ 负责维护。
有一个更新的分支 Wormhole-X-Treme,它超越了星际之门,专注于更复杂的系统,并加入了来自该系列的其他传送装置。由 Khan Jal 创建。
NovyXtreme 是由 Dograffe 为 Novylen Minecraft 服务器创建的。
本项目遵循 GNU General Public License v3 许可证发布。有关每个版本的新增内容,请参阅 CHANGELOG.txt。
This fork's main focus is all around Stargates and simplicity specifically, while still keeping close to the actual franchise.
Features
- Gates from the franchise - The default Milky way gate, the most feature rich shape, and customizable as much as you want. Pegasus stargate from Stargate Atlantis, quicker to lock chevrons than Milky way, with a much darker look. Destiny from Stargate Universe, slower chevron lock but uses a portable DHD controller instead of a pillar to use the gate. Ori Supergate, as seen in Stargate: The Ark of Truth. At 101x101 blocks, it's great for any megabase.
- Permission plugin support - Integration with LuckPerms for manage what players can or cannot use. Optional - a permissions file can be used without a plugin.
- Iris password protection - Set IDCs for your stargates for security. Entities will get killed as they hit the Iris of a locked stargate.
- Anything can travel - Bring you pets along with you on a journey, or make a complex trap with arrows as stargates can also teleport other entities as well. Arrows will not lose any momentum when travelling through a stargate, which makes for the perfect trap.
- Unstable vortexes - When you dial a stargate, and the chevrons lock, you better stand back as an unstable vortex will shoot out from the stargate. It can deal damage to you if you get in the way, and will destroy any blocks. (Harmful vortex can be turned off in config)
- Networks - Keep your gates local by setting them to a custom network. This allows only stargates on the same network to visit each other, while other stargates can't access them.
- Create custom shapes - Easily create new gate shapes using the
/wxshape command, or by directly editing a file. The entire stargate is customizable, down to the material it uses, and how the vortex is formed.
- Extra database support - Whether you prefer using MySQL/MariaDB or SQLite, it's extremely simple to setup. With SQLite being the default, you can set login information in the config and quickly convert the old database to the new one with
/wxconvertdb.
- No required dependences - All other plugins and completely optional with WormholeXTreme, this plugin can run perfectly fine with nothing else installed!
- Toggle gate shapes - Don't want players to use a specific gate shape? Simply disable it with
/wxshape disable <ShapeName>.
Requirements
|
|
| Server version |
Spigot or Paper, 1.20.4 to 26.3 |
| Java version |
JDK 17 up to 25 |
| Optional Dependencies |
Vault + EssentialsX (economy), LuckPerms (permissions) |
Installation
- Download the jar file from the Releases tab above.
- Drop it into your server's
plugins/ folder.
- Start the server. Wormhole X-Treme creates
plugins/WormholeXTreme/, which contains:
Settings.txt, the main configuration
GateShapes/, the gate designs
WormholeXTremeDB/, the SQLite database
GateShapePrices.txt, build prices when economy support is on
Permissions.txt, permissions for servers without a permissions plugin
- Optionally, adjust the settings, then run
/wxreload or restart.
Updating
Replace the old jar with the new one and restart. Nothing else is needed:
- Settings added in a new version are written into your existing
Settings.txt with their defaults. Your own values are kept.
- If an old gate looks wrong after updating,
/wormhole updategate <gate|-all> rebuilds it with its current shape.
Getting started
Build a gate
The quickest way is to let the plugin build it for you:
- Run
/wxbuild Standard. /wxbuildlist shows every available shape.
- Place a button or lever on a block and press it. The gate builds itself around it, and that switch becomes the gate's DHD.
- Run
/wxcomplete <name> to name the gate and finish it.
You can also build the gate by hand from the shape's blocks (obsidian for the Standard gate), put a lever on the DHD block, flip it and then run /wxcomplete. Add idc=<code> to give the gate an iris, and net=<network> to put it on a network:
/wxcomplete supersecretroom idc=topsecret net=Private
Dial a gate
- Flip the gate's DHD lever. The gate activates and its chevrons lock.
- Run
/dial <gate>, for example /dial spawn.
- Walk through. Flip the lever again to close the wormhole early.
If the gate you're dialling has its iris closed, give its code: /dial supersecretroom topsecret.
Dial signs
Shapes whose names end in SignDial have a spot for a dial sign, so they can be dialled without typing commands.
- Building one - It's the usual shape of the stargate, except the DHD pillar is extended to a 2x2. The DHD lever stays in the same place, but place a sign next to that lever. Put the desired gate name on the first line, and optionally a network name on the second line. Then flip the lever, and the stargate will automatically complete.
- Using one - Right click the sign to scroll through destinations. Left click goes in the opposite direction. Flip the lever once you've chosen a destination.
Iris
Give a gate an IDC with /wxidc <gate> <code>, or with idc= when completing it. This adds an iris lever to the gate. Anyone dialling in must give the code, or they're stopped at the iris.
Gate types
Milky Way gates
The classic type of gates, defined by the shape files in GateShapes/. The non-canon shapes are disabled by default. Enable them with /wxshape enable <shape>.
| Shape |
Enabled by default |
| Standard, StandardSignDial |
Yes |
| Super, SuperSignDial |
Yes |
| Horizontal, HorizontalSignDial |
Yes |
| Large, LargeSignDial |
No |
| Small, SmallSignDial |
No |
| Minimal, MinimalSignDial |
No |
Pegasus gates
Built-in gates with a deepslate tile ring, sea lantern chevrons and a light blue iris. They use a normal DHD, like Milky Way gates.
Build one with /wxbuild Pegasus.
Destiny gates
Built-in gates with a polished blackstone ring and glowstone chevrons. As in the show, the ring spins to lock each chevron in turn. (Shown with a fancy chevron animation.)
Destiny gates have no DHD. You activate them with a Destiny DHD Controller:
- Build the ring, with
/wxbuild Destiny or by hand.
- Hold a Destiny DHD Controller, stand within 10 blocks of the ring and run
/wxlink <GateName> idc=[IDC] net=[Network]. This completes the gate and links the controller to it.
- Right-click the controller to activate the gate, then use
/dial as normal. Left-click toggles the iris.
The controller is a compass that always points at its linked gate. To link another controller to a gate that's already built, stand near the gate and run /wxlink <GateName> [IDC].
Crafting the controller:
|
|
|
| Gold Ingot |
Glass Pane |
Gold Ingot |
| Redstone |
Echo Shard |
Redstone |
| Gold Ingot |
Obsidian |
Gold Ingot |
Gates of each family can only dial gates of the same family. A Pegasus gate can't dial a Milky Way gate, and so on. Pegasus and Destiny gates can be switched off with /wxt bonusgates false. Existing gates are kept and work again when switched back on.
Commands
For players
| Command |
Function |
/dial <GateName> [IDC] |
Dial a stargate to complete the wormhole |
/wxlist [all|self|network <net>|player <name>] |
List available stargates |
/wxtop [count] |
The most visited stargates |
/wxcompass |
Point your compass at the nearest stargate |
/wxlink <name> [idc=] [net=] |
Complete a Destiny gate and link your controller to it |
For builders
| Command |
Function |
/wxbuild <shape> |
Autobuild a gate of the desired shape |
/wxbuildlist |
List available shapes |
/wxcomplete <name> [idc=] [net=] |
Finish building a gate |
/wxidc <gate> [code] |
Show or set a gate's IDC |
/wxremove <gate> [-all] |
Remove a gate. -all also removes its blocks |
For admins
| Command |
Function |
/wxt <setting> (alias /wormhole) |
Change settings and per-gate options in game (see below) |
/wxshape <create|edit|enable|disable|load|unload|remove> [shape] |
Create and manage gate shapes in game |
/wxgo <gate> [IDC] |
Teleport to a gate |
/wxforce <gate|-all> |
Force a gate closed, dark and with its iris open |
/wxreload [now] (alias /wxre) |
Reload the plugin |
/wxstatus [all] (alias /wxs) |
Show the plugin and database status |
/wxconvertdb <nxt|sqlite> |
Import gates from NovyXTreme, or move SQLite gates into MySQL/MariaDB |
All /wxt options
| Option |
Function |
activate_timeout [secs] |
How long an activated gate waits to be dialled |
timeout [secs] |
How long a wormhole stays open |
cooldown <true|false|one|two|three> [secs] |
Use cooldowns |
restrict <true|false|one|two|three> [count] |
Build limits |
simple <true|false> |
Simple permissions mode |
custom <gate|-all> [true|false] |
Per-gate custom materials |
portalmaterial <gate> [material] |
A gate's event horizon material |
irismaterial <gate> [material] |
A gate's iris material |
lightmaterial <gate> [material] |
A gate's chevron material |
wooshdepth <gate> [0-5] |
How far a gate's unstable vortex reaches |
redstone <gate> [true|false] |
Redstone control for a gate |
owner <gate> [player] |
Show or change a gate's owner |
regenerate <gate|-all> |
Rebuild a gate's blocks |
updategate <gate|-all> |
Update a gate to its shape's current layout |
gateinfo [gate] |
Details about a gate |
kickback_count [n] |
How far a user gets pushed back when trying to use a stargate with a locked iris |
min_gate_distance [blocks] |
Minimum creation distance between gates |
bonusgates [true|false] |
Toggle Pegasus and Destiny gates |
toggle_gwm / show_gwm |
The arrival welcome message |
toggle_transport / show_transport |
The transport method |
permissions [provider] |
The permissions provider |
debug <level> |
Log level |
Permissions
Wormhole X-Treme works with any Bukkit permissions plugin. Without one, ops can do everything, and Permissions.txt decides what everyone else can do.
Standard permissions
| Permission |
Default |
Function |
wormhole.use.dialer |
everyone |
Using /dial gates |
wormhole.use.sign |
everyone |
Using dial-sign gates |
wormhole.use.compass |
everyone |
/wxcompass |
wormhole.list.self |
everyone |
/wxlist self |
wormhole.top |
everyone |
/wxtop |
wormhole.network.use |
everyone |
Using gate networks |
wormhole.build |
op |
Building gates |
wormhole.build.all |
op |
Building on any network |
wormhole.network.build |
op |
Building on networks |
wormhole.remove.own |
op |
Removing your own gates |
wormhole.remove.all |
op |
Removing any gate |
wormhole.list.all |
op |
/wxlist all |
wormhole.list.network |
op |
/wxlist network |
wormhole.list.player |
op |
/wxlist player |
wormhole.go |
op |
/wxgo |
wormhole.shape |
op |
/wxshape |
wormhole.config |
op |
/wormhole settings |
wormhole.build.groupone / two / three |
none |
Build limit groups |
wormhole.cooldown.groupone / two / three |
none |
Use cooldown groups |
Wildcards such as wormhole.use.*, wormhole.build.*, wormhole.remove.*, wormhole.network.* and wormhole.cooldown.* are also available.
Simple mode
With SIMPLE_PERMISSIONS=true, four permissions cover everything:
| Permission |
Default |
Allows |
wormhole.simple.use |
everyone |
Using gates |
wormhole.simple.build |
op |
Building gates |
wormhole.simple.remove |
op |
Removing gates |
wormhole.simple.config |
op |
Changing settings |
Configuration
Everything lives in plugins/WormholeXTreme/Settings.txt. Every setting has a description in the file, and most can be changed in game with /wxt.
Gameplay settings
| Setting |
Default |
Description |
TIMEOUT_ACTIVATE |
30 |
Seconds an activated gate waits to be dialled |
TIMEOUT_SHUTDOWN |
38 |
Seconds a wormhole stays open. 0 keeps it open until something goes through |
WORMHOLE_KICKBACK_BLOCK_COUNT |
2 |
Blocks a user is pushed back from a busy gate (only used if "DEADLY_IRIS" is disabled) |
WORMHOLE_MAX_GATE_NAME_LENGTH |
50 |
Maximum length of a gate name |
WORMHOLE_MINIMUM_GATE_DISTANCE |
0 |
Minimum blocks between new gates. 0 turns the check off |
WORMHOLE_DANGEROUS_KAWOOSH |
false |
The unstable vortex hurts anyone standing in it |
WORMHOLE_KAWOOSH_DAMAGE |
10 |
Kawoosh damage in half-hearts |
WORMHOLE_DEADLY_IRIS |
false |
Hitting a closed iris kills the user instead of bouncing them back |
WORMHOLE_MOB_TRAVEL |
true |
Mobs travel through wormholes |
WORMHOLE_ITEM_TRAVEL |
true |
Dropped items travel through wormholes |
WORMHOLE_ARROW_TRAVEL |
true |
Arrows and tridents travel through wormholes |
WORMHOLE_BONUS_GATES |
true |
Pegasus and Destiny gates are available |
ALLOW_DESTINATION_GATE_SHUTDOWN |
false |
Players at the receiving gate can close the wormhole |
SHOW_GATE_WELCOME_MESSAGE |
true |
Show a welcome message on arrival |
Limits, cooldowns and economy
| Setting |
Default |
Description |
BUILD_RESTRICTION_ENABLED |
false |
Limit how many gates a player can build |
BUILD_RESTRICTION_GROUP_ONE / TWO / THREE |
1 / 2 / 3 |
Gates each build group may build |
USE_COOLDOWN_ENABLED |
false |
A cooldown between trips through a wormhole |
USE_COOLDOWN_GROUP_ONE / TWO / THREE |
120 / 60 / 30 |
Cooldown in seconds for each group |
ECONOMY_ENABLED |
false |
Charge players to complete a gate. Prices are in GateShapePrices.txt |
Database
SQLite needs no setup. To use MySQL or MariaDB, create an empty database and set:
| Setting |
Default |
DATABASE_TYPE |
sqlite (or mysql / mariadb) |
DATABASE_HOST |
localhost |
DATABASE_PORT |
3306 |
DATABASE_NAME |
wormholextreme |
DATABASE_USERNAME |
root |
DATABASE_PASSWORD |
(empty) |
Change these settings to how you need them.
To move existing gates from SQLite into MySQL or MariaDB, run /wxconvertdb sqlite after changing config.
Permissions and other settings
| Setting |
Default |
Description |
PERMISSIONS_BACKEND |
bukkit |
Which permissions system to use |
SIMPLE_PERMISSIONS |
false |
Use the four simple-mode permissions |
PERMISSIONS_SUPPORT_DISABLE |
false |
Ignore any installed permissions plugin |
BUILT_IN_PERMISSIONS_ENABLED |
false |
Use the builtin permission levels |
WORMHOLE_USE_IS_TELEPORT |
false |
Only players with the use permission can travel |
USE_EVENT_OR_TP_TRANSPORT |
true |
Move players with events rather than teleports |
LOG_LEVEL |
INFO |
How much the plugin logs |
Custom gate shapes
Each file in GateShapes/ manages one gate, using these markers:
| Marker |
Meaning |
[S] |
Gate frame block |
[P] |
Event horizon |
[I] |
Ignored, so any block can go here |
:L#n |
Chevron, lit in order n |
:W#n |
Kawoosh block, in order n |
:A |
Where the DHD switch goes |
:IA |
Where the iris switch goes |
:D |
Where the dial sign goes |
:N |
Where the name sign goes |
:EP / :EM |
Where players and minecarts arrive |
Standard.shape is the best choice for a base shape for new users. You can also design shapes in game with /wxshape create.
The finished jar is in target/. Every change is also built and tested automatically against each Spigot release from 1.20.4 to 26.3.
Credits
Wormhole X-Treme was created by Lologarithm and alron, carried on by lycano, and is now maintained by Dakto_.
A newer fork has been made, expanding past Stargates and focusing on a more complex system with other teleporters from the franchise. Created by Khan Jal.
NovyXtreme is created by Dograffe, for the Novylen Minecraft Server.
Released under the GNU General Public License v3. See CHANGELOG.txt for what's new in each version.
评论 0
登录后参与评分
还没有评论,来抢沙发吧