服务器使用量
未统计
服务玩家数
未统计
下载量
12,115
插件详细介绍
你是否需要一个强大且免费的命令与消息调度器?现在它来了!请尽情使用。
AutoCommandsPlus 是一款轻量级插件,让你能够轻松安排定时消息或命令,支持多种执行方式与占位符,且几乎不影响服务器性能。
主要特性
- 可显示消息、以控制台身份执行命令、随机选择玩家执行、向所有玩家广播等。
- 支持多个独立的调度列表(每个列表的
%randomplayer%随机玩家独立)。 - 支持内置占位符(详见配置文件)。
- 支持 PlaceholderAPI(需在配置文件中启用)。
- 支持一次性运行多个命令。
- 可作为 AutoMessage 的替代品。
- 几乎不影响 CPU 和内存占用,插件文件小于 15KB。
- 如果你有想法或建议,欢迎提交工单!
安装方法
- 将
AutoCommands.jar放入你的 Bukkit 或 Spigot 服务器的plugins文件夹。 - 重启服务器,或运行
/asw pmanager load AutoCommandsPlus(如果你安装了 AutoSaveWorld 插件)。 - 编辑配置文件,然后运行
/ac reload。 - 完成!
权限与命令
命令列表
/acp reload– 重载配置文件(需权限:autocommands.admin)/acp set <列表名称> <enabled/disabled>– 启用或禁用指定列表(会移除配置文件中的所有注释!)(需权限:autocommands.admin)/acp version– 查看插件版本(需权限:autocommands.admin)/tellp <玩家> <消息>– 向玩家显示原始消息(无前缀或其他附加内容)
命令别名
/acp的别名:/autocommands、/autocommandsplus/tellp的别名:/raw
配置示例
所有示例均可在配置文件中找到。以下是一些典型用法:
向玩家显示消息
commands:
- "[YourPrefix] Hello everyone!"
- "It's a message"
- "$>Random player is %randomplayer%"
- "Hey, %player%, do you know that last random player was %randomplayer%"
- "!>Only you, last random player %randomplayer%, hear this!"
- "$!>Only you, new random player %randomplayer%, hear this!"
- "&d&l[Prefix] &b&lIt's colored message. &f&lAnd\nthis is new line."运行命令与显示消息
# 如果只想向所有玩家发送消息,可直接将其作为命令写入(无需 / 前缀)
# 消息中可使用以下参数:$、!、>;、@、#、-
# '@' 向每位玩家执行命令(可使用 %player% 占位符)
# '$' 重新选择随机玩家(占位符为 %randomplayer%)
# '!' 仅向随机玩家执行命令或显示消息
# '#' 以玩家身份执行命令(可与 '@' 或 '!' 搭配使用)
# '-' 在 '@' 执行时排除随机玩家
# %randomplayername% 和 %playername% 为带颜色与前缀的显示名称(如已使用)
- "@>/title %player% subtitle \"&lRandom player is &b&l%randomplayer%\"\
>;\
@>/title %player% title \"&lYour name is &b&l%player%\"\
>;\
%player%, we've shown you a title! Cookoo :D"
- "Hi, %player%! It's just a message :) &bYou can use color codes, &emake\nmultiline messages."
- "It's long message. \
You can write it and write it (it's not multiline)."
- |-
It's multiline message. Every line here is new line in game.
Woohoo!
Isn't it nice?
- "$!>Hey, %randomplayer%, only you can see this message."
- "!>Hey, %randomplayer%, it's me again!"
- "Omg, %randomplayer% is ignoring me! >:(>;$>Okay, i'm going to disturb %randomplayer% now.."
- "[email protected] >This message sees everyone excluding %randomplayer%."
- "Placeholders: %player% (and %playername%), %randomplayer% (and %randomplayername%), \
%online%/%maxplayers%, %balance%"
- "And now I'm going to show you top of balances!>;@#>/balancetop"
- "$!>%randomplayer%, i want you to give money to the admin ;)>;!#>/pay admin 500"
- "$!#>/me is stupid! Or not..."
- "[email protected] #>/tell %randomplayer% Woop woop. Yep, we've all sent a message to you, %randomplayername%."问题与反馈
发现漏洞或有新想法?请在此提交工单
https://github.com/MikroAcse/AutoCommandsPlus/issues
版本分布
基本信息
插件名称
AutoCommandsPlus
作者
MikroAcse
平台
Bukkit / Spigot
支持版本
未标注
点赞数
未统计
最近版本
暂无数据
-