关于
VoteForCommand 允许玩家投票以执行服务器命令。
这款易于使用的插件可以为你的服务器增添气氛,因为它支持添加任意复杂度的命令。
配置
你可以在配置文件中完全自定义投票选项:
votingCommands:
freeDiamond:
name: "FREE DIAMOND!!" # 菜单和聊天中显示的名称
description: "Give a random player diamond!" # 向玩家显示的描述
material: "DIAMOND" # 用作菜单图标的物品
commands: # 投票通过后执行的命令
- "execute as @r run give @s minecraft:diamond 1"
cooldown: 3600 # 此投票可再次启动前的冷却时间(秒)
percentToWin: 50.0 # 通过所需的“赞成”票百分比
minimumOnline: 5 # 启动投票所需的最少在线玩家数
heal:
name: "Sacred blessing"
description: "Sacred blessing of the goddess of health. All players will receive regeneration."
material: "GOLDEN_APPLE"
commands:
- "execute as @a at @s run particle minecraft:heart ~ ~1 ~ 0.5 1 0.5 0.1 10"
- "effect give @a minecraft:glowing 5 0 true"
- "effect give @a minecraft:regeneration 120 1 true"
cooldown: 3600
percentToWin: 70.0
minimumOnline: 10
权限与命令
commands:
vote:
description: "Open vote menu."
usage: "/vote"
permission: "voteforcommand.vote.use"
reload:
description: "Reload plugin config."
usage: "/reload"
permission: "voteforcommand.reload.use"
aliases:
- votereload
permissions:
voteforcommand.vote.use:
description: "Allow player to use /vote command (open menu)."
default: true
voteforcommand.vote.participant:
description: "Allow player to click [FOR] and [AGAINST] buttons in chat."
default: true
voteforcommand.reload.use:
description: "Allow admin to use /reload command for plugin."
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包事件PacketEvents
retrooper
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
前置科技
27
ExyliaLib
ExyliaServices
ExyliaPlugins 的库。
前置实用
26
ProAuthMeLogin
3623813757
通过对话框或铁砧界面帮助你的 Anthme
实用
16
可自定义玩家模型
tom5454
自定义你的Minecraft头像!
装饰社交
16
Vessel
muhdfdeen
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
生物存储
13
Vivecraft Spigot Extension
fayer3
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
前置实用
12
评论 0
登录后参与评分
还没有评论,来抢沙发吧