HomeJavaMods[TPM] TeleportManager
[TPM] TeleportManager
ModsJava

[TPM] TeleportManager

by EmptyDreams · on Modrinth

A mod that grants regular players TP (Teleportation) permissions in the server, without allowing them to freely teleport to others.

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.21–1.21.4⬇ Download for 1.19.2–1.20.6
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Welcom

A mod that grants regular players TP (Teleportation) permissions in the server, without allowing them to freely teleport to others.

一个用于在服务器中给予普通玩家 TP 权限,但不至于让玩家随意 TP 别人的模组。

理论上其它版本也可以使用,如果有人测试发现某个版本可用的话,可以在 Github 中提交 issue。

指令

参数解释(尖括号<>表示必填,方括号[]表示可选):

指令列表:

普通用户可调参数列表(通过 tpconfig 调整):

管理员可调参数列表(通过tpm

配置文件

配置存储在 /config/tpm.json 文件中,若文件不存在将会自动生成,其中会包含一个格式范例(建议修改时将其删除),配置文件示例如下:

{
  "version": 1,
  "default": {
    "auto_accept": [
      {
        "regex": "^bot_",
        "value": true
      }
    ],
    "auto_reject": [
      {
        "regex": ".*",
        "value": false
      }
    ],
    "home": [
      {
        "regex": ".*",
        "value": ["minecraft:overworld", 114514, 75.3, 415411]
      }
    ]
  }
}

其中每一项数组中越靠前的优先级越大,regex 使用正则表达式匹配玩家名称。如果一个玩家 auto_rejectauto_accept 均为 true,则 auto_reject 生效。

所有布尔类型的全局缺省值均为 false,非基本类型的全局缺省值均为 null。上述 json 仅为范例,实际使用中建议删除与全局缺省值相同的配置(会影响性能)。

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more