TC-Destinations
Java 版本: 17 或更高
Minecraft 版本: 1.17.1 或更高
TC-Destinations 是一款适用于使用 SpigotMC、PaperMC 或其分支项目的 Minecraft 服务器的插件。
它作为 TrainCarts 插件的附加组件,提供了一系列功能以更高级的方式管理目的地。
该插件非常轻量级,因为数据库查询和网络连接完全异步运行。
本插件是为 CraftTogetherMC Minecraft 服务器开发的,另请参阅:TC-Portals!
同时,非常感谢 Cloud 和 Adventure 背后的开发者们!
功能特性:
- 精美的分页目的地列表(在 BungeeCord 网络中跨服务器可用)
- 以更高级的方式管理您的目的地
- 传送到您的目的地
- 使用 MiniMessage 设置多个带有可点击文本的进入消息
- Dynmap 集成 (每个目的地都会在地图上创建一个标记)
- 用于将生物上/下火车的命令。
- 所有根命令均可重命名
- 所有文本均可自定义
使用 /destination 选择您的目的地
使用 /destinations 查看所有已保存目的地的可点击分页列表
设置多个自定义进入消息 (enterMessages.yml)
命令与权限:
选择目的地
| 命令 |
权限 |
描述 |
/destination |
craftbahn.command.destination |
显示有关使用该命令的基本信息 |
/destination <name> |
craftbahn.command.destination |
将指定的目的地设置为当前选中的火车 |
/destinations [type] |
craftbahn.command.destinations |
显示所有目的地的列表 |
/destinations [type] [filter] |
craftbahn.command.destinations.filter |
显示筛选后的所有目的地列表 筛选标志: --server --player |
管理目的地
| 命令 |
权限 |
描述 |
/destedit info <destination> [server] |
craftbahn.command.destedit.info |
显示指定目的地的详细信息 |
/destedit tp <destination> [server] |
craftbahn.command.destedit.teleport |
将玩家传送至指定目的地 |
/destedit add <destination> <type> |
craftbahn.command.destedit.add |
添加具有指定车站类型的新目的地 |
/destedit remove <destination> [server] |
craftbahn.command.destedit.remove |
移除现有目的地 |
/destedit addmember <destination> <player> [server] |
craftbahn.command.destedit.addmember |
为指定目的地添加次要所有者 |
/destedit removemember <destination> <player> [server] |
craftbahn.command.destedit.removemember |
移除指定目的地的次要所有者 |
/destedit settype <destination> <player> [server] |
craftbahn.command.destedit.settype |
指定目的地的类型 |
/destedit setowner <destination> <player> [server] |
craftbahn.command.destedit.setowner |
设置目的地的所有者 |
/destedit setprivate <destination> <player> [server] |
craftbahn.command.destedit.setprivate |
指定此目标为私有。仅拥有 craftbahn.destination.see.private 权限的玩家可以使用和查看它 |
/destedit setpublic <destination> <player> [server] |
craftbahn.command.destedit.setpublic |
设置为所有玩家可见。(这是新建目的地的默认设置) |
/destedit setwarp <destination> <player> [server] |
craftbahn.command.destedit.setwarp |
为此目标设置玩家的传送点 |
/destedit setlocation <destination> <player> [server] |
craftbahn.command.destedit.setlocation |
指定目的地的位置(主要用于定位 dynmap 标记) |
/destedit updatemarker <destination> <player> [server] |
craftbahn.command.destedit.updatemarker |
更新 dynmap 上显示的所有标记 |
其他命令
| 命令 |
权限 |
描述 |
/mobenter [radius] |
craftbahn.command.mobenter |
允许选中列车周围的动物登上列车 |
/mobeject |
craftbahn.command.mobeject |
将所有动物从选中的列车中驱逐出 |
跨服务器寻路 (BungeeCord)
如果您使用 TC-Portals 创建跨服务器传送门,
经过少量额外配置,即可到达位于另一台服务器上的目的地。
例如,如果您想从 server1 前往 server2 上的某个目的地,
您需要在 server1 上创建一个 目的地,指向该传送门,进而通往 server2。
我们也将这个目的地命名为 server2。
此时,若运行 /destination 命令为列车设置目的地,且该目的地
位于另一台服务器上,TC-Destinations 将为列车创建一条 路线。
该路线首先包含目的地:server2,随后是
您希望抵达的目标目的地。
就是这样!
常见问题
我可以在不使用 Bungeecord 的情况下使用此插件吗?
可以。
我不希望列出其他服务器的目的地。我该怎么做?
只需为每个服务器使用独立的数据库或表前缀即可。
使用的库
TC-Destinations
Java-Version: 17 or above
Minecraft-Version: 1.17.1 or above
TC-Destinations is a plugin for Minecraft servers using SpigotMC, PaperMC or forks of these projects.
It serves as an add-on for the TrainCarts plugin and comes along with a bunch of features to manage destinations in a more advanced way.
It is very lightweight as database queries and network connections run completely asynchronously.
This plugin was developed for the CraftTogetherMC Minecraft server, see also: TC-Portals!
A big thank you and lots of love go out to TeamBergerhealer
Also, a lot of appreciation goes to the people behind Cloud and Adventure!
Features:
- Fancy paginated list of destinations (Works cross-server in a BungeeCord network)
- Manage your destinations in a more advanced way
- Teleport to your destinations
- Set up multiple enter-messages with clickable texts using MiniMessage
- Dynmap integration (A marker is created on the map for each destination)
- Commands to get mobs on/off train(s).
- All root-commands renameable
- All texts can be customized
Choose your destination with /destination
Clickable paginated list of all your saved destinations /destinations
Set up multiple customized enter-messages (enterMessages.yml)
Commands & Permissions:
Select a Destination
| Command |
Permission |
Description |
/destination |
craftbahn.command.destination |
Shows basic information about using the command |
/destination <name> |
craftbahn.command.destination |
Sets the specified destination to the currently selected train |
/destinations [type] |
craftbahn.command.destinations |
Shows a list of all destinations |
/destinations [type] [filter] |
craftbahn.command.destinations.filter |
Shows a filtered list of all destinations Filter flags: --server --player |
Manage your destinations
| Command |
Permissions |
Description |
/destedit info <destination> [server] |
craftbahn.command.destedit.info |
Displays detailed information about the specified destination |
/destedit tp <destination> [server] |
craftbahn.command.destedit.teleport |
Teleports the player to the specified destination |
/destedit add <destination> <type> |
craftbahn.command.destedit.add |
Adds a new destination with the specified station type |
/destedit remove <destination> [server] |
craftbahn.command.destedit.remove |
Removes an existing destination |
/destedit addmember <destination> <player> [server] |
craftbahn.command.destedit.addmember |
Adds a secondary owner to the specified destination |
/destedit removemember <destination> <player> [server] |
craftbahn.command.destedit.removemember |
Removes a secondary owner of the specified destination |
/destedit settype <destination> <player> [server] |
craftbahn.command.destedit.settype |
Specifies the type of specified destination |
/destedit setowner <destination> <player> [server] |
craftbahn.command.destedit.setowner |
Sets the owner of a destination |
/destedit setprivate <destination> <player> [server] |
craftbahn.command.destedit.setprivate |
Specifies that this target is private. Only players with permission craftbahn.destination.see.private can use and see it |
/destedit setpublic <destination> <player> [server] |
craftbahn.command.destedit.setpublic |
Sets this game to be viewable by all players. (This is the default setting for newly created destinations) |
/destedit setwarp <destination> <player> [server] |
craftbahn.command.destedit.setwarp |
Sets the teleport point of this target for players |
/destedit setlocation <destination> <player> [server] |
craftbahn.command.destedit.setlocation |
Specifies the position of the destination (Mainly used to locate dynmap markers) |
/destedit updatemarker <destination> <player> [server] |
craftbahn.command.destedit.updatemarker |
Renews all markers to be displayed on the dynmap |
Additional commands
| Command |
Permission |
Description |
/mobenter [radius] |
craftbahn.command.mobenter |
Allows animals around the selected train to board the train |
/mobeject |
craftbahn.command.mobeject |
Ejects all animals from the selected train |
Pathfinding across servers (BungeeCord)
If you're using TC-Portals to create cross-server portals, with a little extra work,
it is possible to reach destinations on another server.
For example, if you want to drive from server1 to a destination on server2,
you need to create a destination on server1 that leads to the portal, which leads to server2.
Let's name it server2 as well.
If you now run /destination to set a destination, for your train and the destination is
on another server, TC-Destinations will create a route for the train.
The route then firstly contain the destination: server2 and then afterwards,
the destination you want to reach.
Thats it!
F.A.Q
Can I use this plugin without Bungeecord?
Yes you can.
I don't want other servers' destinations to be listed. What can I do?
Just use separate databases or table-prefixes for each server
Libraries used
评论 0
登录后参与评分
还没有评论,来抢沙发吧