本插件基于 Bukkit 论坛上的一个请求而开发。
它是什么?
如果你的服务器上有景点或区域,并且希望通过计时延迟来限制访问权限,那么这款插件正是为你准备的!AutoQueue 允许你使用简单高效的系统定义队列,并通过告示牌让用户加入。无需任何依赖项,且仅存在一个权限节点。
然而需要注意的是,AutoQueue 仅适用于其构建所针对的版本——换句话说,如果你下载了一个为 1.10 版本构建的 AutoQueue,并试图在 1.8 服务器上运行它,当出现错误时请不要抱怨。
权限
autoqueue.admin - 拥有此权限的用户可以使用下文“高级命令”中描述的命令来创建、修改或删除队列。
命令
AutoQueue 的主命令是 /autoqueue,别名包括 /attraction, /autoq, 和 /aqueue。在聊天中输入 /autoqueue 将列出可用命令。
基本命令
这些命令允许用户离开/退出队列。参数含义相当直观……/autoqueue <exit|list> - 顾名思义,执行相应操作。
高级命令
这些命令负责管理和创建队列。它们需要 autoqueue.admin 权限节点。在所有情况下,参数 <name> 区分大小写,并且可以由多个单词组成。
/autoqueue <name> create - 创建一个名为 <name> 的 AutoQueue。
/autoqueue <name> edit - 打开队列的编辑 GUI。也可以通过右键点击队列告示牌访问。
/autoqueue <player> kick - 将一名玩家从队列中踢出。
/autoqueue <name> remove - 移除所有名为 <name> 的 AutoQueues。
/autoqueue <name> start - 启动名为 <name> 的 AutoQueue 的计时器。
/autoqueue <name> halt - 停止并重置名为 <name> 的 AutoQueue 的计时器。同时会移除所有成员!
使用示例
请确保你拥有 autoqueue.admin 权限节点或是管理员(opped),否则这些命令对你无效。
1. 为你的队列选择一个名称并进行注册。我将使用示例名称 "Icefall" 作为我的队列名称。通常建议将队列名称保持在 16 个字符以内,因为它们稍后需要适配告示牌的显示宽度。
一旦选定名称,我将通过 create 命令为其注册一个队列 —— /autoqueue Icefall create。
2. 设置队列的位置。
也许我的景点 "Icefall" 并不是最有趣的 —— 它只是将玩家传送到悬崖边缘,然后将他们掉入一片冰水中。无所谓了 —— 我是插件开发者,不是迪士尼。要设置位置,我只需输入 /autoqueue Icefall edit。这将打开一个类似这样的 GUI:
之后,我只需点击“Set Location”按钮,然后点击希望玩家被传送到的方块即可。
3. 添加其他详细信息。
现在,我通过定义倒计时或队列大小等细节来完成我的 AutoQueue 的最后润色。设置这些值的按钮可以在 GUI 中找到,但作为一个例子,如果我希望玩家在跳入“趣味冰池”前等待 15 秒,我只需重新输入 /autoqueue Icefall edit,打开 GUI,然后点击队列大小按钮。
4. 它是一个告示牌!
如何让玩家加入你景点的队列呢?目前不存在命令 —— 相反,玩家使用告示牌来加入 AutoQueues。那么这种告示牌的格式是怎样的呢?如下所示:
确保你的第一行是 "[AutoQueue]",第二行是你景点的名称 —— 必须与你第一次输入时的完全一致。完成此操作后,告示牌将替换为类似以下内容:
现在玩家可以加入你的队列,并做最令人兴奋的事情:排队等候。大功告成!
有问题?评论?担忧?请发表评论或使用工单追踪器!
如需查看完整的更新日志,请点击此处。
This plugin was created based on a request on the Bukkit Forums.
What is it?
If you have attractions or areas on your server, and want to restrict access to them with timed delays, this plugin is for you! AutoQueue allows you to define queues using a simple and efficient system, and uses signs to let users join them. No dependencies are necessary, and only one permission node exists.
It is important to note, however, that the AutoQueue will only work for the version it's built for—in other words, if you download a version of AutoQueue built for 1.10 and try to run it with a 1.8 server, please don't complain when you get errors.
Permissions
autoqueue.admin - Users with this permission can create, modify, or remove queues, using the commands described below under "Advanced".
Commands
The hub command for AutoQueue is /autoqueue, with aliases under /attraction, /autoq, and /aqueue. Typing /autoqueue into chat will list available commands.
Basic Commands
These commands let users leave/exit a queue. The arguments are pretty self-explanatory.../autoqueue <exit|list> - Does what it says on the tin.
Advanced Commands
These commands are responsible for managing and creating queues. They require the autoqueue.admin permission node. In all cases, the argument <name> is case-sensitive and can consist of multiple words.
/autoqueue <name> create - Creates an AutoQueue named <name>.
/autoqueue <name> edit - Opens the edit GUI for a queue. Also accessible by right-clicking on a queue sign.
/autoqueue <player> kick - Kicks a player from a queue.
/autoqueue <name> remove - Removes any AutoQueues with the name <name>.
/autoqueue <name> start - Starts the clock for the AutoQueue named <name>.
/autoqueue <name> halt - Stops and resets the clock for the AutoQueue named <name>. Also removes all members!
Example Use
Make sure that you have the autoqueue.admin permission node or that you are opped - or else these commands will not work for you.
1. Choose a name for your queue, and register it.I'll be using a sample name of "Icefall" for my queue. It's usually good practice to make your queue names 16 characters or less, because they'll have to fit on a sign later.
Once I've chosen my name, I'll register a queue for it with the create command - /autoqueue Icefall create.
2. Set a location for your queue.
Maybe my attraction, Icefall, isn't exactly the most fun - it just involves teleporting the player to the edge of the cliff and then dropping him into a pool of icey water. Whatever - I'm a plugin developer, not Disney. To set the location, I simply type /autoqueue Icefall edit. This opens up a GUI that looks something like this:
After this, I just click on the button for "Set Location" and punch the block that I want the players to be teleported to.
3. Add additional details.
Now, I add the finishing touches to my AutoQueue by defining things like countdown or queue size. The buttons to set these values can be found in the GUI, but just as an example, if I want my players to wait 15 seconds before they get plunged into the Icey Pool of Fun, I just retype /autoqueue Icefall edit, open the GUI, and click on the button for queue size.
4. It's a sign!
How do you let players join the queue for your attraction? For now, no command exists - instead, players use signs to join AutoQueues. So, what's the format for one of these signs? Well:
Make sure that your first line is "[AutoQueue]", and that the second is the name of your attraction - exactly as you entered it the first time. Once you do this, the sign will replaced with something looking like this:
Players can now join your queue and do the most exciting thing of all: wait in line. You're done!
Questions? Comments? Concerns? Post a comment or use the ticket tracker!
For a complete changelog, click here.
下载 AutoQueue
下载 AutoQueue
下载 AutoQueue
下载 AutoQueue
下载 AutoQueue
下载 AutoQueue
下载 AutoQueue
下载 AutoQueue
下载 AutoQueue
下载 AutoQueue
- 现在可以通过命令格式 "/attraction <queue> add <player>" 将玩家添加到队列中。请注意,该玩家将会从之前所属的任何其他队列中被移除。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧