← Назад к ресурсам

JustTP

Allows non-admin (without cheat mode or any permissions) players to use the teleport command. 允许无权限或作弊模式的玩家自由使用 /tp 命令。

Modrinth game-mechanics transportation utility

Описание

A lightweight mod that lets any player use the vanilla `/tp` command, no OP or cheat mode, no `/tpa` or request/accept flow. 一个轻量级模组,允许任意玩家使用原版 `/tp` 指令,无需任何权限或作弊模式,没有任何类似 `/tpa` 的复杂流程。 This mod overrides the vanilla `/tp` command: 本模组重写了原版 `/tp` 指令: - All players can use `/tp` without OP or any permissions. - 所有玩家均可使用 `/tp`,无需管理员或任何权限。 - For fair use, `/tp` only supports selector `@s`. Selectors like `@e`, `@p`, `@r`, UUID targets, and multi-target usage are not supported (e.g. `/tp @e @s`, `/tp `). - 为保证游戏公平性,`/tp` 仅支持选择器 `@s`。不支持 `@e`、`@p`、`@r`、UUID 目标以及多目标用法(如 /tp @e @s、/tp )。 Players can still teleport to other players or coordinates just like vanilla `/tp` does. 玩家仍可像原版 `/tp` 一样传送到其他玩家或指定坐标。 Example available commands: 可用指令示例: - `/tp Player` - `/tp x y z` - `/tp PlayerA PlayerB` - `/tp @s Player` - `/tp Player @s` - `/tp @s x y z` - `/tp Player x y z` Example configuration file (`justtp-common.toml`): 示例配置文件(`justtp-common.toml`): ```toml # Whether /tp supports coordinates, defaults to `true` # 是否允许 /tp 坐标,默认为 `true` enableCoordinateTp = true # Teleport message mode # 传送消息发送模式 # Allowed Values: OFF, BOTH, ALL # 可用的值:`OFF`、`BOTH`、`ALL` tpMessageMode = "ALL" ```