- ◆ 支持核心
- Arclight
- ◆ 插件前置
- 方可梦
- ◆ 游戏版本
- 1.21.1
1.可以制作道具 携带在背包,指定游戏时间触发一次,概率执行项目
2.烧矿物概率执行项目
3.类似重铸三鸟珠子,击败精灵指定lore数量+1,满了执行命令
4.克隆玩法,把精灵收走 到时间执行项目,收回精灵(搭配变量插件)
5.打工玩法,把精灵收走,到时间执行项目,收回精灵!
2.烧矿物概率执行项目
3.类似重铸三鸟珠子,击败精灵指定lore数量+1,满了执行命令
4.克隆玩法,把精灵收走 到时间执行项目,收回精灵(搭配变量插件)
5.打工玩法,把精灵收走,到时间执行项目,收回精灵!
代码:
actions:
洛奇亚召唤器:
type: inventory
lore: "§d用处: §f放在背包每天凌晨时§a1%§f概率生成§6洛奇亚"
world: ["zc", "world", "world1", "DIM-1", "DIM1"]
time: 100
probability: "1/100"
take-item: true
# command 玩家执行
# op 玩家以op执行
# console 玩家以控制台执行
# tell 向玩家发送信息
# chat 让玩家说话
# broadcast 广播信息
command:
- "broadcast: §7[§a系统§7]§f玩家 §6%player% §f的海声铃铛生效了,成功召唤了洛奇亚!"
- "console: pokebattle %player% Lugia lvl=70"
凤王召唤器:
type: inventory
lore: "§d用处: §f放在背包每天凌晨时§a1%§f概率生成§6凤王"
world: ["zc", "world", "world1", "DIM-1", "DIM1"]
time: 100
probability: "1/100"
take-item: true
# command 玩家执行
# op 玩家以op执行
# console 玩家以控制台执行
# tell 向玩家发送信息
# chat 让玩家说话
# broadcast 广播信息
command:
- "broadcast: §7[§a系统§7]§f玩家 §6%player% §f的透明铃铛生效了,成功召唤了凤王!"
- "console: pokebattle %player% HoOh lvl=70"
纯净珠:
type: battle_victory
lore: "§a纯净珠收集度: §f%value%"
value: 375
command:
- "tell: §7[§a系统§7]§f您的纯净珠收集满了!"
- "console: sx give 饱满的灵魂珠 %player% 1"
#熔炉烧指定东西时 概率执行指令
矿物:
type: smelt
material: "minecraft:iron_ingot"
#概率
probability: "1/8192"
command:
- "broadcast: §7[§a系统§7]§f玩家 §6%player% §f运气碉堡了,烧矿物烧出了美录坦!"
- "console: pokebattle %player% Meltan lvl=15"
矿物1:
type: smelt
material: "minecraft:gold_ingot"
#概率
probability: "1/8192"
command:
- "broadcast: §7[§a系统§7]§f玩家 §6%player% §f运气碉堡了,烧矿物烧出了美录坦!"
- "console: pokebattle %player% Meltan lvl=15"
矿物2:
type: smelt
material: "minecraft:copper_ingot"
#概率
probability: "1/8192"
command:
- "broadcast: §7[§a系统§7]§f玩家 §6%player% §f运气碉堡了,烧矿物烧出了美录坦!"
- "console: pokebattle %player% Meltan lvl=15"
矿物3:
type: smelt
material: "minecraft:netherite_ingot"
#概率
probability: "1/8192"
command:
- "broadcast: §7[§a系统§7]§f玩家 §6%player% §f运气碉堡了,烧矿物烧出了美录坦!"
- "console: pokebattle %player% Meltan lvl=15"
#关于状态变量%clad_category_超梦获取% 结果=正在进行,未进行,已完成 %clad_remaining_超梦获取% 剩余时间
超梦获取:
type: store
#判断
scripts: |
function check(player,money,point,papi,index) {
var Bukkit = Java.type("org.bukkit.Bukkit");
Bukkit.dispatchCommand(Bukkit.getConsoleSender(),"命令");
//PAPI变量 只能克隆3次
if(papi.get("%cobblemonpapi_storage:[-1," + (index - 1) + "]_pokename%") != "Mew"){
player.sendMessage("§7[§c系统§7]§f您当前选择不是梦幻!");
return false;
}
if(papi.get("%cobblemon_nbt_" + index + "_kelong%") > 2){
player.sendMessage("§7[§c系统§7]§f您已克隆超过3次!");
return false;
}
player.sendMessage("§7[§c系统§7]§f克隆开始!");
var Bukkit = Java.type('org.bukkit.Bukkit');
Bukkit.dispatchCommand(Bukkit.getConsoleSender(),"cobblemonvariables:cvar nbt " + player.name + " kelong " + index + " %value%+1");
return true;
}
check(player,money,point,papi,index)
#寄存开始前执行的东西
startCommand:
- ""
#需要寄存时间
duration: 1800
# command 玩家执行
# op 玩家以op执行
# console 玩家以控制台执行
# tell 向玩家发送信息
# chat 让玩家说话
# broadcast 广播信息
finishCommand:
- "console: xxr 超梦克隆 %player%"
打工除草:
type: store
#判断 可以用变量插件 判断背包有几个精灵 精灵类别
scripts: |
function check(player,money,point,papi,index) {
var Bukkit = Java.type("org.bukkit.Bukkit");
Bukkit.dispatchCommand(Bukkit.getConsoleSender(),"命令");
return true;
}
check(player,money,point,papi,index)
startCommand:
- "console: say %player%的超梦被我收走了"
duration: 1000
finishCommand:
- "console: say %player%的超梦克隆完了"