ChatPerWorld
功能特性
ChatPerWorld 是运行多世界服务器的服务器管理员的必备插件。
它将聊天内容分离,使得只有在同一世界中的玩家才能互相听到对方的消息。
如有需要,还可以创建群组以将不同世界的聊天连接在一起。
命令与权限
注意:可以使用 /cpw 代替 /chatperworld
| 命令 | 描述 | 权限 |
| /chatperworld | 告知玩家该插件提供的命令。仅显示玩家拥有权限的命令。 | chatperworld.help |
| /chatperworld global [message] | 向所有世界发送一条消息。格式可在 config.yml 中配置。 | chatperworld.global |
| /chatperworld group [id] [add/del] [worldname] | 向群组添加或删除世界。 | chatperworld.group |
| /chatperworld groups [add/del/list] [id] | 添加/删除一个群组或列出已有的群组。仅在删除时需要 ID。 | chatperworld.groups |
| /chatperworld gui | 打开图形用户界面 (GUI)。 | chatperworld.gui |
| /chatperworld spy | 允许你听到所有世界中发送的所有消息。 | chatperworld.spy |
安装
该插件的安装非常简单。将其拖放到 plugins 文件夹中,重启服务器即可默认启用。如果愿意,你现在可以修改配置文件。
图形用户界面 (GUI)
ChatPerWorld 配备了一个全新、美观的 GUI,使得创建群组更加轻松。借助几个按钮,你可以快速地将多个世界归组。
配置
config.yml
spy_format: '&c[%WORLD%]&r<%PLAYER%>&r%MESSAGE%' - 允许你更改使用 /spy 命令时查看其他世界消息的格式。
global_format: '&c[GLOBAL]&r<%PLAYER%>&r%MESSAGE%' - 允许你更改 /chatperworld global 命令的消息格式。
源代码
ChatPerWorld 现已开源。你可以在以下地址找到源代码:
ChatPerWorld
Features
ChatPerWorld is a MUST-HAVE for Server Administrators running servers with several worlds.
It separates the chats, making two people only hear each other if they are in the same worlds.
If needed, groups can be made to connect chats of different worlds together.
Commands & Permissions
Note: /cpw can be used instead of /chatperworld
| Command | Description | Permission |
| /chatperworld | nforms the player of the commands this plugin offers. Only shows the ones the player has permission to. | chatperworld.help |
| /chatperworld global [message] | Sends a message to every world. Format configurable in config.yml. | chatperworld.global |
| /chatperworld group [id] [add/del] [worldname] | Adds or deletes worlds from a group. | chatperworld.group |
| /chatperworld groups [add/del/list] [id] | Adds/deletes a group or lists the ones existing. ID only necessary when deleting. | chatperworld.groups |
| /chatperworld gui | Opens the GUI. | chatperworld.gui |
| /chatperworld spy | Allows you to hear every message sent in every world. | chatperworld.spy |
Installation
This plugin has a very easy installation. Drag & Drop it into the plugins folder, restart the server and it will start working by default. If you wish, you can now change the config file.
GUI
ChatPerWorld comes with a new, sexy GUI, allowing even easier creation of groups. With a help of a few buttons you can group together worlds in no time.
Configuration
config.yml
spy_format: '&c[%WORLD%]&r<%PLAYER%>&r%MESSAGE%' - Allows you to change the format a player using the command /spy sees messages from other worlds.
global_format: '&c[GLOBAL]&r<%PLAYER%>&r%MESSAGE%' - Allows you to change the format of /chatperworld global
Source Code
ChatPerWorld is now open-source. You can find the source code at
评论 0
登录后参与评分
还没有评论,来抢沙发吧