功能介绍
Hammer 是一个 臃肿的多功能(目前还不是 :p)Fabric 服务端模组,因为生存服务器缺乏足够的 Fabric 服务端模组以及诸如 /tpa 等功能性的“公平竞技”系统。基本上我制作它是为了 /tpa,并且未来会添加其他更多功能 :D
此模组需要 Fabric Language Kotlin 和 Fabric API!
/tpa 及其相关命令
与其他 TPA 模组的区别在于其中包含的限制机制。例如,死亡后,你默认无法在 12 小时内发起 /tpa 请求,或者在被传送至距离你死亡位置(默认)100 格半径内的玩家身边。
这阻止了玩家在死亡后通过 /tpa 立即返回 PvP 战斗循环,也防止了在洞穴中因监守者或其他原因死亡后传送到队友身边的情况,而是强制你手动返回以解除此限制。
另一个实施的限制是:你默认无法从末地或下界传送到主世界,但可以从主世界传送到末地和下界。这些设置完全可自定义,甚至支持自定义维度。
/back
该功能依赖于 TPA 系统,其工作方式与其他插件或模组中常见的普通 /back 有很大不同。你无法直接返回到死亡地点,只能传送到你最初发起 /tpa 的目标位置,或者是其他玩家向你发起的 /tpahere 的位置,且仅限最近的一次。典型的使用场景是:使用 /tpa 传送到某玩家的基地进行交易,然后使用 /back 快速返回。
不久之后,如果你愿意,你也可以像使用市面上常见的 /back 插件一样使用它(一个常见的例子是 EssentialsX 系列插件)。
你可以在存储在 (mcserver path)/config/hammer.json 中的配置文件中,完全关闭或自定义修改 /back 和 /tpa 的行为。
最新版本命令列表
核心命令
/hammer - Hammer
/hammer docs - Hammer 文档 ()
/hammer reload - [仅限 OP 及以上权限] 根据配置文件更改重新加载 Hammer
传送命令
/tpa [user] - 向玩家发送前往其位置的传送请求
/tpahere [user1/all] [user2] [...] - 向玩家/多名玩家发送传送到你位置的请求
/tpaccept 或 /tpok - 接受传送请求
/tpdeny 或 /tpno - 拒绝传送请求
/tpalist - 查看你发出和收到的 TPA 请求列表
/tpacancel - 取消发出的 TPA 请求
/tpatoggle - 屏蔽或恢复接收 TPA 请求
/back - 通过 /tpa 返回到你上一个位置
许可证
GPL 3.0 或更高版本
what do?
hammer is a bloated multi-functional (not yet :p) fabric server-side mod because there isn't enough server-side fabric mods for survival servers and "fair play" systems for functions like tpa. basically i made it for tpa and will eventually add other stuff too :D
this mod requires Fabric Language Kotlin and the Fabric API!
/tpa and family
the difference between other TPA mods is the restrictions that is placed within it. for example, after a death, you cannot for (by default) 12 hours initate a tpa request, or be teleported via tpa within a (by default) 100 block radius of your death.
this blocks the cycle of tpa-ing back into a pvp fight after dying, or tpa-ing to your teammate after dying in a cave due to a warden or something, instead forcing you to go back manually to lift this restriction.
another implemented restriction is that you cannot (by default) tpa to the overworld from the end and nether, but you can go to the end and nether from the overworld. this is completely customizable and even supports custom dimensions.
/back
this depends on the tpa system and works quite differently than normal /back seen in other plugins or mods. instead of being able to return to a death, you can only teleport to the original location you initated a /tpa to, or a /tpahere from another player, and only the most recent one. example usecase is to /tpa to a player's base to trade with them and using /back to quickly go back.
soon you can also use it like other off-the-shelf /back plugins if you wish (a common example being the EssentialsX series of plugins)
/back and /tpa behaviour can be turned off completely, or modified to your liking in the config file stored in (mcserver path)/config/hammer.json
command list as of latest version
core commands
/hammer - Hammer
/hammer docs - Hammer documentation ()
/hammer reload - [OP and higher only] reload hammer with config file changes
teleportation commands
/tpa [user] - send a teleporation request to a player to their location
/tpahere [user1/all] [user2] [...] - send a teleportation request to a player/players to your location
/tpaccept or /tpok - accept a teleportation request
/tpdeny or /tpno - deny a teleportation request
/tpalist - tpa requests you've made and recieved
/tpacancel - cancel an outgoing tpa request
/tpatoggle - block tpa requests, or enable them back
/back - teleport back to your last location via /tpa
license
GPL 3.0 or later
评论 0
登录后参与评分
还没有评论,来抢沙发吧