你是否觉得 Minecraft 中的 ASCII 奶牛数量严重不足?这款基于 Unix 程序 'cowsay' 的模组将缓解你的这种感受。
功能:
- ASCII 奶牛。
- 可以添加你自己的 ASCII 艺术。
- 切换奶牛死亡时显示 cowsay 消息的状态。
- 设置 cowsay 命令的冷却时间。
- 在游戏中显示每头奶牛的名称。
使用方法:
- /cowsay ['h'] [type] <message>
['h'] 处输入 'h' 表示不希望显示你的名字。
[type] 是奶牛的名称(例如 head-in),留空则使用默认奶牛。
<message> 是你希望奶牛说的话。
例如:/cowsay moofasa Fear me
- 设置/取消 '/cowsay' 命令的冷却时间:
- /cowsaycooldown <time_in_sec>
关于冷却功能,默认时间为 15 秒(有助于防止刷屏)。若要移除冷却计时器,只需将时间设置为 0 秒即可(即 /cowsaycooldown 0)。
示例 config.yml 文件
cooldown: 0
killsay: true
can_all_cow: true
cooldown:/cowsay 命令的默认冷却时间(单位:秒)
killsay:如果为 'true',则默认触发 cowkillsay 事件
can_all_cow:如果为 'true',任何人都可以使用 /cowsay;如果为 'false',仅管理员(op)可以使用 /cowsay
我欢迎新功能建议,如有任何请求或其他评论,请在 论坛版块 中留言。
查看源代码 这里。
更多信息,请访问我的 主网站。
Have you ever felt that the amount of ASCII cows in Minecraft is severely lacking? Let me assuage that feeling with this mod that is based off the Unix program 'cowsay'.
Features:
- ASCII cows.
- Ability to add your own ASCII art.
- Toggle the appearance of a cowsay message upon the death of a cow.
- Have a cowsay command cooldown time.
- Display the names of each cow in-game.
How to use:
- /cowsay ['h'] [type] <message>
['h'] is where you type a 'h' to indicate you don't want your name to be displayed.
[type] is the name of the cow (e.g. head-in), leave blank for the default cow.
<message> is what you want the cow to say.
e.g. /cowsay moofasa Fear me
- To toggle the cow death message:
- To set/unset the cooldown for using the '/cowsay' command:
- /cowsaycooldown <time_in_sec>
- To display the names of all the cows:
In regards to the cooldown feature, the default time is 15 seconds (useful for preventing spam). To remove the cooldown timer just set the time to 0 seconds (i.e. /cowsaycooldown 0).
Sample config.yml file
cooldown: 0
killsay: true
can_all_cow: true
cooldown: The default cooldown time (in seconds) for the /cowsay command
killsay: If 'true', the cowkillsay event gets triggered by default
can_all_cow: If 'true' anyone can use /cowsay, if 'false' only op's can use /cowsay
I am open to suggestions for new features, please comment in the forum section if you have any requests or other comments.
Check out the source here.
For more information, check out my main website.
评论 0
登录后参与评分
还没有评论,来抢沙发吧