XServerChat
描述
XServerChat(读作 Cross Server Chat)是一个将多个服务器的聊天连接在一起的插件。它使得当某人在一个服务器发送消息时,所有通过 xServerChat 插件与你连接的其他服务器也能收到这些消息。
设置
将所有希望连接的服务器插件文件夹中放入 xServer.jar。启动服务器后,默认配置文件将被创建。现在开始进行设置。其中一个服务器为主机(Host),其余为客户端(Client)。对于主机服务器,请按照以下步骤操作,否则继续向下阅读客户端设置。
主机
- 将 'host' 设置为 'true'
- 将 'ip' 设置为 'localhost'
- 将 'port' 设置为服务器上可用的端口号。其他服务器将通过此端口连接到你的服务器
- 根据需要更改 'prefix' 和 'serverName'
其他服务器
- 将 'host' 设置为 'false'
- 将 'ip' 设置为 主机 服务器的 IP
- 将 'port' 设置为 主机 服务器的端口
- 根据需要更改 'prefix' 和 'serverName'
配置完成后,重新加载或重启服务器,你就可以开始跨服务器聊天了!
命令
你可以使用 '/xserver' 或 '/x'
- '/x list' - 列出所有已连接的服务器
- '/x dc' - 断开连接 (/x disconnect)
- '/x rc' - 重新连接或重载连接 (/x reload)
- '/x host dc' - 停止服务器(仅限主机)(/x server disconnect, /x server dc, /x host disconnect)
- '/x host rc' - 重载服务器(仅限主机)(/x server reload, /x server rc, /x host reload)
- '/x v' - 获取版本信息 (/x version)
更新日志
Beta 0.1.12
Beta 0.1.11
- 修复了一个如果重载两次会导致崩溃并产生大量控制台和日志垃圾信息的 Bug
- + 开始着手自定义格式功能
Beta 0.1.10
- 添加了死亡、加入和退出时的消息
- 添加了版本命令
- 修复了 Bug
Beta 0.1.1
Version 0.1
待办事项
- 列出其他服务器上的玩家
- 权限系统
- 添加禁用格式化选项
下载
要下载最新版本,请点击 这里
源码
由于我目前没有时间来更新这个插件,我决定发布其源代码。我不确定这些源码是否最新,而且我现在无法访问存有完整源码的电脑,但这应该是最新的版本。
XServerChat
Description
XServerChat (pronounced Cross Server Chat) is a plugin that links the chat of multiple servers together. It makes it so when someone chats on one server, all other servers connected to you through the xServerChat plugin will receive the messages too.
Setup
Place the xServer.jar in the plugin folder of all the server that want to connect. Start the servers and the default config will be created. Now you can begin setting up. One server is the host and the others are clients. For the host server follow the below steps, otherwise continue down tho the client setup
Host
- set 'host' to 'true'
- set 'ip' to 'localhost'
- set the 'port' to a open port on your server. this will be where the other server connect to you
- change the 'prefix' and 'serverName' to your liking
Other Servers
- set 'host' to 'false'
- set 'ip' to the ip of the host server
- set the 'port' to the port of the host server
- change the 'prefix' and 'serverName' to your liking
after setting up the config, reload or restart and you should be able to start chatting cross server!
Commands
you can use '/xserver' or '/x'
- '/x list' - List all the servers that are connected
- '/x dc' - Disconnect (/x disconnect)
- '/x rc' - reconnect or reload the connection (/x reload)
- '/x host dc' - Stop the server (host only) (/x server disconnect, /x server dc, /x host disconnect)
- '/x host rc' - reload the server (host only) (/x server reload, /x server rc, /x host reload)
- '/x v' - get Version info (/x version)
Changelog
Beta 0.1.12
Beta 0.1.11
- fixed a bug where if you reloaded twice it would crash with some nasty console and log spam
- +stared working on custom formatting
Beta 0.1.10
- Added messages on Death, Join and Quit
- added version command
- Fixed Bugs
Beta 0.1.1
Version 0.1
Todo
- List players on other servers
- permissions
- add option to disable formating
Download
To download the latest version, click Here
Source
Since I don't have time to update this plugin right now, i have decided to release the source. I'm not sure how up to date this src is and i ant access the computer with the full src on it right now, but this should be the latest.
评论 0
登录后参与评分
还没有评论,来抢沙发吧