简介
WishingWells 是一个插件,允许拥有 "well.command" 权限的用户创建许愿井。拥有 "well.use" 权限的玩家可以将特定物品投入井中,并有可能获得配置列表中指定的奖励物品。所有数值均可在配置文件中自定义。此插件最初是为 Music4lity 创建的。
Github 页面:
权限:
- well.use 允许玩家使用许愿井
- well.command 允许玩家创建许愿井/使用 WishingWells 命令。
命令:
- /well create <name>:在玩家所在位置创建一个新的许愿井。许愿井会从玩家中心向各个方向延伸两个方块。
- /Well delete <name>:删除许愿井
- /Well list:列出所有已注册的许愿井
功能:
增加了创建自定义许愿井的能力。许愿井是玩家可以投掷预设物品的地点,根据概率值,可能会返回奖励——这也是由配置文件预定义的 ItemStack。所有消息、奖励以及可投入井中的物品均可自定义配置。
配置文件:
配置文件如下所示:
#两次许愿之间的延迟(秒)
Delay: 60
接受的物品:
- <item>
- GOLD_NUGGET
返回的物品:
# name 是测试变量,因此我们需要将其注释掉
# name:
# - <itemnumber> <amount> <meta>
test:
- DIAMOND_SWORD 1
示例:
- DIAMOND_PICKAXE 1 efficiency:1 durability:1 fortune:1 name:&4Gigadrill lore:The_drill_that_&npierces|the_heavens
返回概率 (ReturnedChance):
# name 是测试变量,因此我们需要将其注释掉
# name: 0
示例:50
test: 50
CongratsMessage: '&a恭喜!你从井中获得了一件新物品!'
TooBadMessage: '&c哦不!你的物品掉进了井里。太可惜了!'
ItemNotAccepted: '&4该物品不被许愿井接受!'
延迟消息:'&c你在 %s 秒内无法再次许愿!'
auto-update: true
注意:所有百分比数值加起来必须等于 100。如果超过 100,某些物品的概率可能不正确。如果低于 100,即使系统判定玩家“中奖”,玩家也可能不会收到任何物品。
Introduction
WishingWells is a plugin that allows users with the "well.command" permission to create wells, and with those wells, players with the "well.use" command can drop certain items into the well, and may receive a selected list of items. All values are configurable in the config. This was originally crated for Music4lity.
Github page:
Permissions:
- well.use Allows a player to use the wells
- well.command Allows players to create wells/ use WishingWells commands.
Commands:
- /well create <name>: Create a new well at the player's location. Wells extends two blocks in each direction from the center of the player.
- /Well delete <name>: Deletes the well
- /Well list: Lists all the wells registered
Features:
Adds the ability to create custom wishing wells. Wishing wells are locations that players can throw per-defined items into, and based on chance values, may return a reward - an itemstack which is also per-defined by the config. All messages, rewards, and items that can be thrown into the well are configurable.
Config:
The config looks like:
#Delay between wishes in seconds
Delay: 60
Accepted:
- <item>
- GOLD_NUGGET
Returned:
# Name is a test variable, so we need to comment them out
# name:
# - <itemnumber> <amount> <meta>
test:
- DIAMOND_SWORD 1
Example:
- DIAMOND_PICKAXE 1 efficiency:1 durability:1 fortune:1 name:&4Gigadrill lore:The_drill_that_&npierces|the_heavens
ReturnedChance:
# Name is a test variable, so we need to comment them out
# name: 0
Example: 50
test: 50
CongratsMessage: '&aYou got a new item back from the well!'
TooBadMessage: '&cOh no! You lost your item in the well. Too bad!'
ItemNotAccepted: '&4That item isnt accepted in the well!'
Delay message: '&cYou cant make another wish for %s seconds!'
auto-update: true
Remember: all percentage amounts must equal up to 100. If it goes over, some items may not have the correct chance values. If it is below, the player might not receive any items even if it registers the player as "winning".
下载 WishingWells
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WishingWells
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WishingWells
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WishingWells
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WishingWells
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WishingWells
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WishingWells
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WishingWells
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WishingWells
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WishingWells
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
1.0.9
修复数值问题
1.0.8
使无掉落概率可配置
1.0.7
添加对 1.13 的支持
1.0.6
修复百分比以支持任意数值配置
1.0.5
修复跨世界水井问题。
1.0.4
修复错误
1.0.3
添加下划线支持
1.0.2
修复延迟
修复多物品故障
1.0.1
修复空指针异常
添加制表符支持
1.0.0
初始化发布
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧