2024-05-04 19:50:03 +08:00
|
|
|
---
|
2024-06-10 10:26:44 +08:00
|
|
|
title: 加入服务器
|
2024-07-04 21:08:56 +08:00
|
|
|
sidebar_position: 3
|
2024-05-04 19:50:03 +08:00
|
|
|
---
|
|
|
|
|
2024-05-04 19:57:20 +08:00
|
|
|
# 加入服务器
|
2024-05-04 19:50:03 +08:00
|
|
|
|
2024-05-24 18:13:41 +08:00
|
|
|
在客户端点击加入服务器,输入你的跨服端的地址,连接即可。
|
|
|
|
|
|
|
|
# 连接到子服
|
|
|
|
|
|
|
|
## `/server` 命令
|
|
|
|
|
|
|
|
```
|
2024-06-19 13:05:16 +08:00
|
|
|
/server [配置中设置的子服名字]
|
2024-05-24 18:13:41 +08:00
|
|
|
```
|
|
|
|
|
2024-07-08 13:11:33 +08:00
|
|
|
不过不建议用 `/server` 详见 [此处](/docs-java/advance/cross-server/precautions.md#不要给玩家-server-权限)
|
2024-05-24 18:13:41 +08:00
|
|
|
|
2024-06-07 19:07:12 +08:00
|
|
|
:::warning
|
|
|
|
|
|
|
|
此命令只能由玩家自己在聊天框里敲命令执行,插件不能让玩家执行此命令!
|
|
|
|
|
|
|
|
**因为这条命令压根没有被注册到子服**
|
|
|
|
|
|
|
|
:::
|
|
|
|
|
2024-05-24 18:13:41 +08:00
|
|
|
## npc
|
|
|
|
|
|
|
|
### Citizens2
|
|
|
|
|
|
|
|
https://wiki.citizensnpcs.co/NPC_Commands#Bungee
|
|
|
|
|
|
|
|
```
|
|
|
|
/npc command add -p server MyServerName
|
|
|
|
```
|
|
|
|
|
|
|
|
### Adyeshach
|
|
|
|
|
2024-07-08 13:11:33 +08:00
|
|
|
ady 没有跨服动作,你可以导入其他插件的跨服动作来使用
|
2024-05-24 18:13:41 +08:00
|
|
|
|
2024-07-08 13:11:33 +08:00
|
|
|
如安装 Invero 插件后:
|
2024-05-24 18:13:41 +08:00
|
|
|
|
|
|
|
```
|
|
|
|
kether: import invero connect 子服名
|
|
|
|
```
|
|
|
|
|
2024-07-08 13:11:33 +08:00
|
|
|
或者使用 command...
|
2024-05-24 18:13:41 +08:00
|
|
|
|
|
|
|
### ZNPCs
|
|
|
|
|
|
|
|
https://github.com/gonalez/znpcs/wiki/Commands#server
|
|
|
|
|
|
|
|
```
|
2024-06-07 20:39:06 +08:00
|
|
|
/znpcs action [id] add SERVER [server]
|
2024-06-07 18:32:43 +08:00
|
|
|
```
|
2024-05-24 18:13:41 +08:00
|
|
|
|
2024-06-07 20:39:06 +08:00
|
|
|
- [id] 是 NPC 的 id.
|
|
|
|
- [server] 是子服名字.
|
2024-05-24 18:13:41 +08:00
|
|
|
|
|
|
|
## 菜单
|
|
|
|
|
|
|
|
### ChestCommands
|
|
|
|
|
|
|
|
https://filoghost.me/docs/chest-commands/actions
|
|
|
|
|
|
|
|
```
|
|
|
|
ACTIONS:
|
|
|
|
- 'server: hub'
|
|
|
|
```
|
|
|
|
|
|
|
|
### DeluxeMenus
|
|
|
|
|
|
|
|
https://wiki.helpch.at/helpchat-plugins/deluxemenus/files
|
|
|
|
|
|
|
|
```
|
|
|
|
- '[connect] <serverName>'
|
|
|
|
```
|
|
|
|
|
|
|
|
### TrMenu
|
|
|
|
|
|
|
|
#### v3
|
|
|
|
|
|
|
|
https://hhhhhy.gitbook.io/trmenu-v3/menu/action/types#kua-fu-chuan-song
|
|
|
|
|
|
|
|
```
|
|
|
|
- 'server: Lobby'
|
|
|
|
```
|
|
|
|
|
|
|
|
#### v4 Invero
|
|
|
|
|
|
|
|
文档没写
|
|
|
|
|
|
|
|
```
|
|
|
|
- 'connect 子服名'
|
|
|
|
```
|