• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“AutoMessage”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(翻译)
(翻译完全)
第11行: 第11行:
 
   游戏中功能多样的配置编辑器!
 
   游戏中功能多样的配置编辑器!
 
   快速无损的重载机制.
 
   快速无损的重载机制.
   Option to randomize broadcasts.
+
   可选的随机公告.
 
   支持颜色代码.
 
   支持颜色代码.
 
   在信息中运行命令.
 
   在信息中运行命令.

2014年10月7日 (二) 18:13的版本

综述

介绍

 AutoMessage是一个易于使用的聊天栏公告插件。
 这个插件非常适合那些想要将一些设定的信息以广播形式发布的服务器管理员们。
 这个插件的特性在于,你可以在游戏中使用命令编辑一切可以在配置文件中修改的配置项。
 这是一个轻量级的插件,并不会影响服务器的性能。
 AutoMessages会自动检测更新以确保插件处于最新版本。

特性

 完全可自定义的配置系统!
 游戏中功能多样的配置编辑器!
 快速无损的重载机制.
 可选的随机公告.
 支持颜色代码.
 在信息中运行命令.

安装

 将jar文件拖入plugins文件夹并重启服务端即可.

使用信息

常见问题及解答

Q:为什么我使用"/am add 公告"添加了一个叫"公告"的组后,他说出来的信息非常乱。

A:这个插件默认在添加了一个组后会添加一些公告内容,只需连续执行命令"/am remove 公告 0"删除公告组内序号为0的公告内容连续5次即可。

Q:怎么玩家看不见公告?

A:你忘记吧权限automessage.receive.default添加进玩家组里面了,default为玩家组,详细请看下面的权限一栏

权限

AutoMessage uses permissions to allow selective users or groups access to specific commands. The permissions are compatible with any permissions plugin that implements Bukkit's SuperPerms such as PermissionsEx or bPermissions. Below you will find a list of all available permissions.

automessage.commands.reload:

Reload the configuration from the disk. ;重载配置权限

automessage.commands.update:

Update to the latest version if the plugin is out of date.;升级插件

automessage.commands.add:

Create a new message list or add message to an existing message list.;添加新的公告

automessage.commands.edit:

Edit a message in a message list. ;更改公告

automessage.commands.remove:

Remove a message list or remove a single message from a specific message list.;移除公告

automessage.commands.enabled:

Toggle broadcasting for a specific message list. The message list can still be edited; however, it will not broadcast.;开关公告

automessage.commands.interval:

Set the interval at which messages are broadcasted from the message-list. ;设置公告间隔

automessage.commands.random:

Set a lists broadcast method. Random randomly selects a message on broadcasts whereas non-random simply loops through all the messages.;设置公告方式

automessage.commands.prefix:

Set a message lists prefix for all broadcasts. ;设置公告前缀

automessage.commands.suffix:

Set a message lists suffix for all broadcasts. ;设置公告后缀

automessage.commands.broadcast:

Broadcast a message from a specific list. ;公告列表里的一条消息

automessage.commands.list:

List all message lists or all messages in a specific list. ;查看所有公告

automessage.receive.message-list:

Receive broadcasts from a list. Replace message-list with the name of the message list in your config. ;接收来自某列表的公告

命令

配置

Config: settings:

 enabled: true                       ;是否启用 true为是,false为否(下面也是这样)
 min-players: 5                         ;最小听见广播的玩家数量?我的理解应该是当有这个数值的玩家或以上在线时才开始播放这个公告
 log-to-console: true                     ;是否显示在控制台

message-lists: ;公告列表

 regular:                                 ;公告列表的名字
   enabled: true                          ;是否启用
   random: false                          ;是否随机
   interval: 45                           ;间隔时间
   expiry: -1                                ;到期时间(-1为不会到期
   messages:                                 ;公告内容
   - '&1First&r message \nin the default list!'
   - '&2Second&r message \nin the default list!'
   - '&3Third&r message \nin the default list!'
   - 'These messages will be displayed to users with \nautomessage.receive.default!'
 json:                                   ;又是一个公告列表的名字    下面的内容和上面的一样
   enabled: true
   random: false
   interval: 45
   expiry: -1
   messages:
   - '{text:"Hover over me!",hoverEvent:{action:show_text,value:[{text:"Woah, you just hovered over me!",color:blue}]}}'
   - '{text:"Click me to run a command!",clickEvent:{action:run_command,value:"/say Clicked."}}'
   - '{text:"Click me to open Google!",clickEvent:{action:open_url,value:"http://google.com"}}'

Extra

GitHub Repo

Scheduled Messages Ideas