• 游客, 欢迎您来到九域资源社区,如果您是新人,请前往 论坛公告 板块查看新人引导教程 或者 点我打开
    如果您发现没有下载许可, 请先验证邮箱再进行下载;金锭可通过每日登陆或资源出售获取,目前没有其他渠道可获取。
DuckGiveAll -- 给予全服奖励(将更新全服执行指令)

Bukkit DuckGiveAll -- 给予全服奖励(将更新全服执行指令) 1.0

没有下载权限
◆ 支持核心
CatServer
◆ 插件前置
DuckAPI
◆ 游戏版本
仅1.12.2,后续会添加对全版本的支持
1719152564648.png

佐道的要求,写了个GiveAll插件
开源地址: https://github.com/Duckfox/DuckGiveAll
目前功能只有一个给予全服物品,但后续会增加为全服执行命令等功能,敬请期待
指令(DuckGiveAll可简写为dga):

1. /DuckGiveAll reload >> 重载插件
2./DuckGiveAll help >> 查看帮助信息
3./DuckGiveAll giveall >> 给予全服物品

参数(1)
①%main_hand% >> 主手物品
②%off_hand% >> 副手物品
③%both_hands% >> 双手物品
参数(2)
-m|-material:material >> 物品材质
-a|-amount:amount >> 物品数量
-d|-data:data >> 物品data
-nbt >> 物品NBT
注:以上参数(1)(2)二选一,如果什么都不写(/DuckGiveAll giveall)则默认使用参数(1)中的①
例: (1) /DuckGiveAll giveall %both_hands% >> 给予全服双手中的物品
(2) /DuckGiveAll giveall -m:STONE -a:16 -d:0 >> 给予全服16个石头

配置:
config.yml:
YAML:
prefix: "&e[&6DuckGiveAll&e]"
messages.yml:

YAML:
reload: "插件重载完成!"
help:
  - "&e[&6DuckGiveAll&e]&b帮助信息"
  - "&6/DuckGiveAll(dga) &egiveall &7[%main_hand%&e|&7%off_hand%|%both_hands%]&6 | &7[-m:material] [-a:amount] [-d:data] [-nbt:nbt]"
unknownCommand: "未知指令%command%,请输入/dga help查看帮助信息"
nothing_in_main_hand: "你的主手没有物品。"
nothing_in_off_hand: "你的副手没有物品。"

give_item_to_player: "你将物品 <item></item> 给予玩家 %player%。"
give_item_to_all: "你将物品 <item></item> 给予所有玩家。"
claim_item: "玩家 %giver% 给予了你物品 <item></item>。"

no_item_data: "请输入物品数据。"
material_invalid: "%material% 不是有效材质。"
amount_invalid: "数量 %amount% 无效。"
data_invalid: "数据 %data% 无效。"
nbt_invalid: "NBT %nbt% 数据无效。"

item_style: "&e[&b%item% × %amount%&e]"
作者
Duck_fox
下载
24
查看
650
首次发布
最后更新
评分
5.00 星 1 星

来自Duck_fox的更多资源

分享资源

最新评论

好!