GroupAnnouncer
使用权限向不同群组发送公告。
完全可在游戏内管理。
版本:v0.72
许可协议:GNU 宽通用公共许可证第 3 版(LGPLv3)
外部下载
支持:Bukkit 权限系统(又名 SuperPerms)
GroupAnnouncer 允许你通过权限节点向不同的群组广播消息。只有拥有相应权限节点的群组才会收到该消息。此插件可 100% 在游戏内进行管理。
功能:
安装:
- 将 jar 文件放入 plugins 文件夹。
- 使用插件管理器重新加载插件或重启服务器。
配置:
默认配置文件在首次加载时生成:
enabled: true
tag: 'Announcement '
order: 'sequential'
groups:
- global
global:
repeat: 60
last: 0
announcements: []
命令:
以下命令可由拥有 'ga.admin' 节点的用户使用
/ga: 显示此消息
/ga reload: 重新加载配置
/ga toggle <enabled|order>: 开启/关闭并设置顺序
/ga tag [tag]: 设置公告标签
/ga list: 列出当前群组
/ga <add|remove> [group]: 添加或删除群组
/ga [group] repeat [minutes]: 设置重复间隔时间
/ga [group] list: 列出某群组的公告
/ga [group] announce [#]: 强制发布指定编号的公告
/ga [group] remove [#]: 移除指定的消息
自定义:
以下命令是自定义 GroupAnnouncer 某些方面的示例:
/ga set tag &4[&fALERT&4]&f:: 将标签设置为 [ALERT]:,其中括号红色,文字白色。
/ga global repeat 15: 将以 15 分钟为增量显示 'global' 群组的公告
/ga global add Welcome to the server!: 将此消息添加到 'global' 群组。
用法:
若要添加新群组并设置所有必要信息,可以执行以下操作:
/ga group add guests
**注意** 查看此消息所需的权限节点现在为 ga.guests
/ga guests repeat 10
/ga guests add You must register on the &4forums &fto become a member.
若要删除群组中的某条消息,请执行以下操作:
/ga guests list
**这将列出所有带有索引编号的消息。
/ga guests remove 1
本部分将根据请求更新以包含更多示例。
权限
- 默认群组名为 'global'。要向用户广播此消息,请赋予他们 ga.global 权限。
- 用户必须拥有 'ga.admin' 节点才能使用 GroupAnnouncer 命令。
- 要使某个群组能够看到消息,他们必须拥有格式为的节点:
已知问题:
获取支持:
- 在此评论、使用工单系统、私信我,或在 IRC esper.net 的 #bukkit 频道找到我。
更改日志:
2012年4月4日 - v 0.72
- 添加了使用 /ga [group] append [#] [message] 追加到现有公告的功能。
2012年4月4日 - v 0.71
- 添加了为每个群组使用特定标签的功能。如果未指定,则使用默认标签。
2012年3月22日 - v 0.7
- 移除了 tagColor、msgColor 和 delay。
- 使用 &09a-f 增加了标签的自由格式支持。
- 修改了部分命令。
- 添加了切换公告是否启用的功能。
- 添加了在随机和顺序公告之间切换的功能。
- 添加了手动向群组发布公告的功能。
- 将重复时间单位从秒改为分钟。
- 重新添加了每次更改后自动重新加载的功能,但设置了更长的延迟以避免开始刷屏。
- 公告不再具有必须移除的默认值。
- 重要提示:建议在此次更新前备份你的配置文件并重新添加信息!!
2012年3月22日 - v 0.61
- 颜色现在可以在游戏内和配置文件中通过 & 使用。你可能需要编辑配置文件以反映此更改。
2012年2月6日 - v 0.6
- 添加了使用 &0-9a-f 在公告中添加颜色的能力。
- 移除了每次更改后的自动重新加载。
- 完成更改后,执行 /ga reload 以在实时服务器上更新。
2012年1月26日 - 初始发布。
待办事项与计划功能:
捐赠:
你喜欢这个插件吗?请使用页面右上角的按钮进行捐赠,以支持我的工作!
GroupAnnouncer
Send announcements to different groups using permissions.
Completely manageable in-game.
Version: v0.72
Licensed under: GNU Lesser General Public License version 3 (LGPLv3)
Offsite Download
Supports: Bukkit Permissions (AKA SuperPerms)
GroupAnnouncer allows you to broadcast a message to different group using permission nodes. Only groups with the permission node will receive the message. The plugin is 100% manageable in-game.
Features:
- Broadcast messages to specific groups.
- In-game management.
- Fully customizable:
- Tag
- Groups
- Timers
- Announcements
Installation:
- Place jar in plugins folder.
- Reload plugins with a plugin manager or restart server.
Configuration:
The default configuration file is generated upon first load:
enabled: true
tag: 'Announcement '
order: 'sequential'
groups:
- global
global:
repeat: 60
last: 0
announcements: []
Commands:
The following commands can be used by users with the node 'ga.admin'
/ga: shows this message
/ga reload: reload the config
/ga toggle <enabled|order>: toggle on/off and order
/ga tag [tag]: set the announcement tag
/ga list: lists current groups
/ga <add|remove> [group]: add or remove a group
/ga [group] repeat [minutes]: set the repeat interval
/ga [group] list: lists a group's announcements
/ga [group] announce [#]: force a specific announcement
/ga [group] remove [#]: removes specified message
Customization:
The following commands are examples of how to customize certain aspects of GroupAnnouncer:
/ga set tag &4[&fALERT&4]&f:: will set the tag to [ALERT]: with red brackets and white lettering.
/ga global repeat 15: will show announcements for 'global' in 15 minutes increments
/ga global add Welcome to the server!: Will add this message to 'global'.
Usage:
To add a new group and set all the necessary information one might do the following:
/ga group add guests
**NOTE** The permission node required to see this message will now be ga.guests
/ga guests repeat 10
/ga guests add You must register on the &4forums &fto become a member.
To remove a message from a group you would do the following:
/ga guests list
**This will list all the messages with an index number.
/ga guests remove 1
This section will be updated to include more examples upon request.
Permissions
- The default group is named 'global'. To broadcast this message give your users ga.global.
- User must have node 'ga.admin' in order to use GroupAnnouncer commands.
- In order for a group to see messages they must have the node in the format:
Known Issues:
Getting support:
- Comment here, use the ticket system, PM me, or find me in #bukkit in IRC esper.net
Change Log:
4/4/12 - v 0.72
- Added the ability to append to an already existing announcement using /ga [group] append [#] [message]
4/4/12 - v 0.71
- Added the ability to use a specific tag for each group. If one is not specified, the default tag will be used.
3/22/12 - v 0.7
- Removed tagColor, msgColor, and delay.
- Added free format to tag using &09a-f.
- Modified a few commands.
- Added the ability to toggle whether or not the announcements are enabled.
- Added the ability to toggle between random and sequential announcements.
- Added the ability to manually announce a message to a group.
- Changed repeat time to minutes instead of seconds.
- Re-added auto reload after each change, but placed longer delay as to not start spamming messages.
- Announcements no longer have a default that you have to remove.
- IMPORTANT: It is recommended that you backup your config file before this update and re-add the information!!
3/22/12 - v 0.61
- Colors are now usable with & both in-game and in the config. You may need to edit your config file to reflect the change.
2/6/12 - v 0.6
- Added ability to add color into announcements using &0-9a-f
- Removed auto reload upon each change.
- When you are finished making changes do /ga reload to update on live server.
1/26/12 - Initial release.
Todo & Planned Features:
Donate:
Do you like this plugin? Please donate using the button at the top right of this page to support my work!
评论 0
登录后参与评分
还没有评论,来抢沙发吧