新增功能:
用 SimpleCrossChatPlus 为您的 Minecraft 网络注入强劲动力!
支持全局聊天、跨服务器私聊、实体与物品传输,以及服务器间的货币转账。
立即体验,以前所未有的方式连接您的社区:
描述
SimpleCrossChat 是一款轻量级的 Minecraft 插件,专为跨服务器通信而设计。它基于 Minecraft 1.21 版本构建,能够轻松集成 MQTT 代理(Broker),允许玩家在不同服务器间共享全局消息。尽管功能强大,但需要仔细配置以确保安全且正确地使用。
Java 版本
从 Minecraft 1.21 开始,Spigot 及相关平台要求 Java 21。
特性
- 即插即用:将插件放入 plugins 文件夹后即可立即生效。
- 支持全局消息传递:玩家可以实时跨服务器聊天。
- 可定制的通信安全性:通过托管私有 MQTT 代理来加强设置的安全性。
- 基于 MQTT 的消息传递:轻量且高效。
- 广播消息格式化:自定义消息的外观样式。
- 未来可扩展性:计划通过外部插件支持消息过滤功能。
重要说明
全局消息处理
- 无频道概念:所有全局聊天消息都会发送至代理,然后由代理分享给所有通信伙伴。这意味着连接到代理的各方都能访问每一条全局消息。
- 第三方风险:当使用公共代理(如默认的
test.mosquitto.org)时,全局消息理论上可能被第三方拦截。强烈建议自行托管代理以保护隐私。
- 消息范围:仅全局聊天消息会被广播。私聊、广播或其他插件发送的消息不会通过代理共享。请向玩家告知此行为,以确保透明度。
安装步骤
-
安装 MQTT 代理:
- 默认情况下,插件使用
test.mosquitto.org(一个公共代理)。
- 为了获得更好的安全性,请搭建并配置您自己的私有代理。
-
插件安装:
- 将插件 JAR 文件放入服务器的
plugins 文件夹中。
-
配置(可选但推荐):
- 更新
plugins/simplecrosschat 目录下的 options.yml 文件,以自定义设置(如代理地址)。
-
重启/重载服务器:
-
验证通信:
插件配置
根据需要修改 options.yml 文件。以下是一个示例:
donottouch:
configexists: true
debug:
showmessages: false
general:
info: '- INFO: id 和 key 必须在其他服务器上匹配才能启用全局聊天,
其中一个值不同则无法工作'
servername: YourServerName
broadcastmessageformat: '&a%PLAYER% &0| &f%MESSAGE%'
enabled: true
privacyinfo: '- INFO: 即使外人无法读取消息内容,
我仍建议自行托管代理以确保通信安全!'
technical:
broker:
address: test.mosquitto.org
protocol: tcp
port: 1883
communication:
channel:
id: simplecrosschatwelcome
key: z87d3z8hde3z8
安全建议
- 托管私有代理:使用公共代理会使通信面临被潜在拦截的风险。请搭建私有 MQTT 代理以实现安全运行。
- 加密:插件使用
AES/CBC/PKCS5Padding 进行加密,但这并不能完全防止在公共代理上被第三方访问。
- 告知玩家:让玩家知晓全局消息会通过代理共享,如果使用公共代理,理论上存在被拦截的风险。
使用方法
- 将插件安装到服务器的
plugins 文件夹中。
- (可选)使用自定义代理地址和设置配置
options.yml 文件。
- 重启或重载服务器以激活插件。
- 玩家现在可以使用全局聊天功能跨服务器进行通信。
免责声明
本插件按“原样”提供,不提供任何担保。开发者不对以下内容负责:
- 隐私问题或插件的滥用。
- 第三方对消息的拦截或嗅探。
- 在不同地区使用该插件的法律后果(例如欧盟关于用户数据的法律)。
确保正确、安全且合法合规地使用本插件的责任完全在于服务器所有者或技术顾问。
New:
Supercharge your Minecraft network with SimpleCrossChatPlus!
Enable global chat, cross-server private messaging, entity & item transfer, and money transfer between servers.
Try it now and connect your community like never before:
Description
SimpleCrossChat is a lightweight Minecraft plugin designed for cross-server communication. Built for Minecraft version
1.21, it provides easy integration with MQTT brokers, allowing players to share messages globally across servers. While
powerful, it requires careful setup to ensure secure and proper usage.
Java Version
Starting with Minecraft 1.21, Spigot and related platforms require Java 21.
Features
- Plug-and-play functionality: Works immediately after adding to your plugins folder.
- Global messaging support: Players can chat across servers in real-time.
- Customizable communication security: Harden your setup by hosting a private MQTT broker.
- MQTT-based messaging: Lightweight and efficient.
- Broadcast message formatting: Customize the appearance of messages.
- Future extensibility: Planned support for message filtering through external plugins.
Important Notes
Global Message Handling
- No Channels: All global chat messages are sent to the broker, which then shares them with all communication
partners. This means every global message is accessible to parties connected to the broker.
- Third-party Risks: When using public brokers, such as the default
test.mosquitto.org, global messages could
theoretically be intercepted by third parties. Hosting your own broker is highly recommended for privacy.
- Message Scope: Only global chat messages are broadcasted. Private messages, broadcasts, or messages from other
plugins are not shared via the broker. Inform players about this behavior to ensure transparency.
Setup
-
Install an MQTT Broker:
- By default, the plugin uses
test.mosquitto.org (a public broker).
- For better security, set up and configure your private broker.
-
Plugin Installation:
- Place the plugin JAR file in your server's
plugins folder.
-
Configuration (Optional but Recommended):
- Update the
options.yml file in plugins/simplecrosschat to customize settings like the broker address.
-
Restart/Reload Server:
- Apply changes by restarting or reloading your server.
-
Verify Communication:
- Ensure the plugin connects to the broker and messages are transmitted.
Plugin Configuration
Modify the options.yml file as needed. Here's an example:
donottouch:
configexists: true
debug:
showmessages: false
general:
info: '- INFO: id and key have to match on other servers, to enable a global chat,
one value different and it wont work'
servername: YourServerName
broadcastmessageformat: '&a%PLAYER% &0| &f%MESSAGE%'
enabled: true
privacyinfo: '- INFO: Even tho the messages are not readable for outstanders, I
would host my own broker for a safe communication!'
technical:
broker:
address: test.mosquitto.org
protocol: tcp
port: 1883
communication:
channel:
id: simplecrosschatwelcome
key: z87d3z8hde3z8
Security Recommendations
- Host a Private Broker: Using public brokers exposes communication to potential interception. Set up a private MQTT
broker for secure operation.
- Encryption: The plugin uses
AES/CBC/PKCS5Padding for encryption, but this is not foolproof against third-party
access on public brokers.
- Inform Players: Let players know that global messages are shared via the broker and could theoretically be
intercepted if a public broker is used.
Usage
- Install the plugin in your server's
plugins folder.
- Optionally configure the
options.yml file with a custom broker address and settings.
- Restart or reload your server to activate the plugin.
- Players can now communicate globally across servers using the global chat.
Disclaimer
This plugin is provided "as-is" without any warranty. The developer is not liable for:
- Privacy concerns or misuse of the plugin.
- Third-party interception or sniffing of messages.
- Legal implications of using this plugin in different regions (e.g., EU laws regarding user data).
It is the sole responsibility of the server owner(s) or technical advisor(s) to ensure correct, secure, and legally
compliant usage of this plugin.
评论 0
登录后参与评分
还没有评论,来抢沙发吧