ServerMessenger - 在服务器上广播消息!
版本:v0.1
ServerMessenger 会从存储在名为 "msgs.txt" 的文件中指定的一系列消息里随机广播一条。
使用方法:
下载插件并将其放入服务器的 Plugin 目录
启动服务器并等待加载完成
进入服务器的 Plugin 目录,然后进入 "ServerMessenger" 目录
打开 "msgs.txt" 文件
在里面输入你想要的任何内容。(记得每条消息都要换行)
可选:在 "config.yml" 文件中将广播之间的时间间隔更改为你想要的时间。(必须使用毫秒为单位)
功能:
按可配置的时间间隔从消息列表中随机广播一条消息
允许你开启或关闭是否显示这些消息
下载:
权限:
代码:
ServerMessenger.Messages.Toggle - 允许你开启或关闭接收消息
ServerMessenger.Messages.Bid - 允许你提交一条消息并使用 iConomy 货币进行出价
命令:
代码:
/smessenger <BOOLEAN:ON/OFF> <OPTIONAL:PlayerName>
/bsend [Message] [Amount]
config.yml
代码:
BroadcastTime : 300000 默认值为 300000,即五分钟(以毫秒计)
useiConomy : false 默认值为 false,如果你希望允许用户出价,请将其设置为 true。
bidtime : 420000 默认值为七分钟(420000),这是用户在出价结束前的时间段
待办事项
颜色支持
更新日志:
版本 0.2
添加了经济系统支持 - 用户现在可以使用 iConomy 货币为自己的消息进行出价。出价最高者获胜
修复了一些线程问题
新命令:/bsend [Message] [Amount]
config.yml 文件中的新选项:useiConomy - 默认为 False,bidtime - 默认为七分钟,时间过后会检查最高出价,并使用该消息。
新权限:ServerMessenger.Messages.Bid - 允许用户使用经济系统支持,默认为 True
修复了控制台刷屏错误
版本 0.1
发布
ServerMessenger - Anounce Messages On The Server!:
Version: v0.1
ServerMessenger Broadcasts a random message from a list of specified messages that are stored in a file name "msgs.txt".
How to use:
Download The Plugin And Put It Into Your Server's Plugin Directory
Start Your Server And Wait For Your Server To Finish Loading
Navigate To Your Server's Plugin Directory And Then Navigate To The "ServerMessenger" Directory
Open Up The "msgs.txt" File
Insert What Ever You Want Into There. (Remember To Goto A New Line For Every Message_
Optional: Change The Time Limit Between Broadcasts In The "config.yml" File To The Time Limit You Want. (Must Be In Miliseconds)
Features:
Broadcasts A Random Message From A List Of Messages At A Configurable Time
Allows You To Toggle Wether or Not To See The Messages On/Off
DOWNLOAD:
Premissions:
Code:
ServerMessenger.Messages.Toggle - Allows you to toggle on and off wether to recieve messages
ServerMessenger.Messages.Bid - Allows you to sumbit a message and bid iConomy money on it
Commands:
Code:
/smessenger <BOOLEAN:ON/OFF> <OPTIONAL:PlayerName>
/bsend [Message] [Amount]
Config.yml
Code:
BroadcastTime : 300000 The Default is 300000, That's five minutes in miliseconds
useiConomy : false The Default is false, Set this to true if you want to allow users to bid.
bidtime : 420000 The default is seven minutes (420000) This is the time period that users bid before it is over
TO-DO List
Color Support
Changelog:
Version 0.2
Added Economy Support - Users can now bid with iConomy money for there message to be broadcasted. Whoever has the highest bid wins
Fixed Some Threading Issues
New Command: /bsend [Message] [Amount]
New Options In The config.yml file: useiConomy - Set To False By Default, bidtime - Set to seven minutes by default, After the time period elaspes, it will check what the highest bid is, and use that message.
New Premission: ServerMessenger.Messages.Bid - Allows the user to use the economy support, Set to true by default
Fixed Console Spamming Bug
Version 0.1
Release
评论 0
登录后参与评分
还没有评论,来抢沙发吧