CuboidTeleport

一个简单的插件,添加传送功能:/call, /tpa, /home, /warp, /rtp, /tpr

资源图片
![Description Banner](https://cdn.modrinth.com/data/cached_images/7d6e51470784fc941419b901df5df8f2bcaf5f15_0.webp) # 💨一个添加传送点的简单插件 使用简洁的方式添加熟悉的传送点,而无需不必要的加载。让玩家可以轻松快速地在服务器世界中移动! **ℹ️对于RTP,建议使用[Chunky](https://modrinth.com/plugin/chunky)插件,以防止服务器在每次随机传送时卡顿** ![https://img.shields.io/badge/Release_version-v1.2.1-7642f7](https://img.shields.io/badge/Release_version-v1.2.1-7642f7) ![https://img.shields.io/badge/Minecraft_Paper-1.16.5_--_1.21.4-665efa](https://img.shields.io/badge/Minecraft_Paper-1.16.5_--_1.21.4-665efa) [![Static Badge](https://img.shields.io/badge/GitHub-Source_code-4a58e6)](https://github.com/camp3rcraft/Cuboid-Teleport/) ![https://img.shields.io/badge/Documentation-Soon...-2b77fc](https://img.shields.io/badge/Documentation-Soon...-2b77fc) [![Static Badge](https://img.shields.io/badge/Issue-Open-007af8)](https://github.com/camp3rcraft/Cuboid-Teleport/issues) ![Features](https://cdn.modrinth.com/data/cached_images/195d904a205f68dee2a256e138874fdbba12c103_0.webp) - HEX颜色(RGB)支持 - 每个玩家房屋的个人点 - 传送点安装和传送点传送 - 具有半径设置的随机传送 _(我强烈建议使用[Chunky](https://modrinth.com/plugin/chunky),以防止服务器崩溃)_ - 请求中的玩家之间的传送 - 权限 - 在不重启服务器的情况下重新加载配置 - 自定义 config.yml - /help 信息 - 可定制的本地化 - 俄语和英语 - 非常简单且不占用资源的插件 ![Commands](https://cdn.modrinth.com/data/cached_images/6fddfdae648575f1f471fd4361975dffabecd45b_0.webp) - `/home [name]` - 传送至家 - `/sethome [name]` - 设置家 - `/delhome [name]` - 移除家 - `/warp [传送点名称]` - 传送至传送点 - `/warps` - 传送点列表 - `/setwarp [传送点名称]` - 设置传送点 - `/delwarp [传送点名称]` - 删除传送点 - `/rtp` - 随机传送 - `/tpr` - 随机传送 - `/tpa [玩家]` - 向玩家发送传送请求 - `/call [玩家]` - 向玩家发送传送请求 - `/tpaccept` - 接受请求 - `/tpacancel` - 取消请求 - `/tpdeny` - 拒绝请求 - `/ctp help` - 显示命令列表 - `/ctp reload` - 重新加载配置 ![Configs](https://cdn.modrinth.com/data/cached_images/353bf7b863d1e3819461b13e68001d70ccb8beeb_0.webp) 🌈**如何创建渐变色** - https://www.birdflop.com/resources/rgb/
config.yml ``` # # # ▒█▀▀█ █░░█ █▀▀▄ █▀▀█ ░▀░ █▀▀▄ ▀▀█▀▀ █▀▀ █░░ █▀▀ █▀▀█ █▀▀█ █▀▀█ ▀▀█▀▀ # # ▒█░░░ █░░█ █▀▀▄ █░░█ ▀█▀ █░░█ ░▒█░░ █▀▀ █░░ █▀▀ █░░█ █░░█ █▄▄▀ ░░█░░ # # ▒█▄▄█ ░▀▀▀ ▀▀▀░ ▀▀▀▀ ▀▀▀ ▀▀▀░ ░▒█░░ ▀▀▀ ▀▀▀ ▀▀▀ █▀▀▀ ▀▀▀▀ ▀░▀▀ ░░▀░░ # # v1.2.1 # # by camper_crafting # # # # 插件的主要设置 locale: ru message_prefix: "ᝰFF&lCE0AFF&luC14FF&lbɏFFF&loᙡFF&liᖝFF&ldȕDFF&lTᎸFF&leE52FF&llC5CFF&leA66FF&lpኣFF&loljBFF&lrᄡFF<&r &7|&r " general_sound: ENTITY_FISHING_BOBBER_THROW # 家の設定 home_sound: ENTITY_ENDERMAN_TELEPORT # 传送点设置 warp_sound: ENTITY_ENDERMAN_TELEPORT # RTP 设置 rtp_sound: ENTITY_ENDERMAN_TELEPORT teleport_radius: 1000 # RTP 半径 # Tpa 设置 tpa_sound: ENTITY_ENDERMAN_TELEPORT ```
msg_en.yml ``` # # # ▒█▀▀█ █░░█ █▀▀▄ █▀▀█ ░▀░ █▀▀▄ ▀▀█▀▀ █▀▀ █░░ █▀▀ █▀▀█ █▀▀█ █▀▀█ ▀▀█▀▀ # # ▒█░░░ █░░█ █▀▀▄ █░░█ ▀█▀ █░░█ ░▒█░░ █▀▀ █░░ █▀▀ █░░█ █░░█ █▄▄▀ ░░█░░ # # ▒█▄▄█ ░▀▀▀ ▀▀▀░ ▀▀▀▀ ▀▀▀ ▀▀▀░ ░▒█░░ ▀▀▀ ▀▀▀ ▀▀▀ █▀▀▀ ▀▀▀▀ ▀░▀▀ ░░▀░░ # # v1.2.1 # # by camper_crafting # # English language plugin # # # only_players: "&#ff0000Only players can use this command!&r" usage_call: "&#ff0000Usage: &n/call [player]&r" player_not_found: "&#ff0000Player not found.&r" usage_tpa: "&#ff0000Usage: &n/tpa [player]&r" no_self_request: "&#ff0000You cannot send a teleport request to yourself.&r" home_set: "ff00Home %home% set!&r" home_teleported: "ff00Teleported to home %home%!&r" home_removed: "&#ff0000Home %home% removed!&r" home_not_exist: "&#ff0000Home %home% does not exist!&r" config_reloaded: "ff00Configuration reloaded successfully!&r" help_message: "ᄡFFcommands:&r\n ᄡFF/ctp help &7- ᝰFFshow corresponding message&r\n ᄡFF/ctp reload &7- ᝰFFreload configuration&r\n ᄡFF/sethome [name] &7- ᝰFFset home point&r\n ᄡFF/home [name] &7- ᝰFFteleport to home point&r\n ᄡFF/delhome [name] &7- ᝰFFdelete home point&r\n ᄡFF/tpa [player] &7- ᝰFFsend request to teleport player&r\n ᄡFF/call [player] &7- ᝰFFedit player teleportation request&r\n ᄡFF/tpaccept &7- ᝰFFaccept teleportation request&r\n ᄡFF/tpacancel &7- ᝰFFreject teleportation request&r\n ᄡFF/tpdeny &7- ᝰFFcancel teleportation request&r\n ᄡFF/rtp &7- ᝰFFrandom teleport&r\n ᄡFF/tpr &7- ᝰFFrandom teleport&r\n ᄡFF/warp &7- ᝰFFteleport to warp&r\n ᄡFF/warps &7- ᝰFFwarp list&r\n ᄡFF/setwarp &7- ᝰFFset warp&r\n ᄡFF/delwarp &7- ᝰFFdelete warp&r" no_permission: "&#ff0000You don't have permission to use this command!&r" request_sent: "ff00Teleport request sent to %target%.&r" request_received: "ᝰFF%sender%&r ᄡFFhas requested to teleport to you.&r\nᄡFFType ff00/tpaccept&r ᄡFFto accept or &#ff0000/tpacancel&r ᄡFFto deny.&r" request_timed_out: "&#ff0000Teleport request has timed out.&r" request_accepted: "ff00Teleport request accepted.&r" request_denied: "&#ff0000Teleport request denied.&r" no_pending_request: "&#ff0000You have no pending teleport requests.&r" request_pending: "&#ff0000You already have a pending teleport request.&r" sender_offline: "&#ff0000The player who sent the request is no longer online.&r" request_cancelled: "&#ff0000Teleport request from %sender% has been cancelled.&r" rtp_success: "ff00You have been teleported to a random location.&r" rtp_fail: "&#ff0000Could not find a safe location. Please try again.&r" warp_set: "ff00Warp %warp% has been set.&r" warp_exists: "&#ff0000Warp %warp% already exists.&r" warp_not_found: "&#ff0000Warp %warp% not found.&r" warp_teleport: "ff00Teleported to warp %warp%.&r" warp_deleted: "ff00Warp %warp% has been deleted.&r" usage_setwarp: "&#ff0000Usage: &n/setwarp [name]&r" usage_warp: "&#ff0000Usage: &n/warp [name]&r" usage_delwarp: "&#ff0000Usage: &n/delwarp [name]&r" warps_list: "ᄡFFAvailable warps: ᝰFF&n%warps%&r" no_warps: "&#ff0000No warps have been set yet.&r" ```
![TODO list](https://cdn.modrinth.com/data/cached_images/0dac029ebad387f61026bca464d9295c6b0fe8de_0.webp)
TODO **📃TODO list:** - ✅ - *ready, not released* - ✅✅ - *ready, released* ____ - ✅`/setspawn` - 在服务器上设置生成点 - ✅`/delspawn` - 删除服务器上的生成点 - ✅`/spawn` - 传送至生成点 - 插件维基百科 - ✅每个传送的冷却 - (RTP)首次加入时传送 - (RTP)加入时传送 - (RTP)世界列表 - (RTP)方块黑名单 - (RTP)传送成本 - (RTP)最大和最小坐标 - (RTP) 搜索安全地点的最大时间 - (RTP) 反区域传送 - (RTP) 布尔依赖项 - `/tpahere [name]` - 向自己发送传送请求 - `/tpaignore [name]` - 忽略来自玩家的请求 - `/tpatoggle [name]` - 切换来自玩家的请求。没有名称-切换来自所有玩家的请求 - `/back` - 返回你的死亡地点。带有昵称 - 将玩家传送到他的死亡地点 - `/homes [name]` - 显示玩家的家 - 用于传送点和家的安全传送 - `/warppass [warp] [password] [repeat password]` - 设置传送点的密码 - ✅传送点和家的标签补全 - `/warps` 中的访问者计数 - `/warpowner [warp] [name]` - 将传送点所有权转移给另一个玩家 - `/warpinfo [warp]` - 显示有关传送点的详细信息:拥有者、访问者计数、世界和坐标,创建数据 - 将玩家传送至最老的家 - `/homeinfo [home]` - 显示有关家的详细信息:传送次数、创建数据、所有者 - `/homeowner [home] [name]` - 添加家主