From 976de8779af1f49d0c8161d30f60b56f11bb6dbd Mon Sep 17 00:00:00 2001
From: yaohunya <31456652@qq.com>
Date: Sat, 13 Jul 2024 18:55:32 +0800
Subject: [PATCH] first
---
pom.xml | 14 +++
.../{WorldBossHurt.java => main.java} | 6 +-
src/main/resources/MobData.yml | 117 ++++++++++++++++++
src/main/resources/config.yml | 2 +
src/main/resources/plugin.yml | 6 +
5 files changed, 142 insertions(+), 3 deletions(-)
rename src/main/java/com/io/yaohun/worldbosshurt/{WorldBossHurt.java => main.java} (58%)
create mode 100644 src/main/resources/MobData.yml
create mode 100644 src/main/resources/config.yml
create mode 100644 src/main/resources/plugin.yml
diff --git a/pom.xml b/pom.xml
index 8cc5071..f412f2d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,6 +22,14 @@
sonatype
https://oss.sonatype.org/content/groups/public/
+
+ public-rpg
+ https://repo.aurora-pixels.com/repository/public-rpg/
+
+
+ public
+ https://repo.aurora-pixels.com/repository/public/
+
@@ -31,6 +39,12 @@
1.12.2-R0.1-SNAPSHOT
provided
+
+ com.fastasyncworldedit.bukkit
+ FastAsyncWorldEdit
+ 2.9.1
+ 660
+
\ No newline at end of file
diff --git a/src/main/java/com/io/yaohun/worldbosshurt/WorldBossHurt.java b/src/main/java/com/io/yaohun/worldbosshurt/main.java
similarity index 58%
rename from src/main/java/com/io/yaohun/worldbosshurt/WorldBossHurt.java
rename to src/main/java/com/io/yaohun/worldbosshurt/main.java
index 13c07a9..b27a384 100644
--- a/src/main/java/com/io/yaohun/worldbosshurt/WorldBossHurt.java
+++ b/src/main/java/com/io/yaohun/worldbosshurt/main.java
@@ -2,16 +2,16 @@ package com.io.yaohun.worldbosshurt;
import org.bukkit.plugin.java.JavaPlugin;
-public class WorldBossHurt extends JavaPlugin {
+public class main extends JavaPlugin {
- private static WorldBossHurt instance;
+ private static main instance;
@Override
public void onEnable() {
instance = this;
}
- public static WorldBossHurt getInstance() {
+ public static main getInstance() {
return instance;
}
diff --git a/src/main/resources/MobData.yml b/src/main/resources/MobData.yml
new file mode 100644
index 0000000..7bcc28a
--- /dev/null
+++ b/src/main/resources/MobData.yml
@@ -0,0 +1,117 @@
+Message:
+ FinallyKills: "§6[§4公告§6] §a玩家 §c%p% §a夺取了 §r%mobs% §6§l最终一击!"
+BossData:
+ 冰火魔焰虎:
+ boss_armor: 1000
+ reward_top: 世界王通用
+ reward_kills: 魔魂大白鲨
+ name: §b§l冰§c§l火§b§l魔§c§l焰§b§l虎
+ loc: xdsl,-116,75,71
+ bc: §6[§4公告§6] §a十万年灵兽§7<§r%mobs%§7>§a已苏醒,请尽快前往§e星尘森林§a猎杀它!夺取灵环兽骨!
+ bc_vv: §6[§4公告§6] §a十万年灵兽§7<§r%mobs%§7>§a已苏醒,请尽快前往§e星尘森林§a猎杀它!夺取灵环兽骨!
+ 巨兽泰坦:
+ boss_armor: 1000
+ reward_top: 世界王通用
+ reward_kills: 魔魂大白鲨
+ name: §e§l巨§6§l兽§e§l泰§6§l坦
+ loc: xdsl,-118,86,-6
+ bc: §6[§4公告§6] §a十万年灵兽§7<§r%mobs%§7>§a已苏醒,请尽快前往§e星尘森林§a猎杀它!夺取灵环兽骨!
+ bc_vv: §6[§4公告§6] §a十万年灵兽§7<§r%mobs%§7>§a已苏醒,请尽快前往§e星尘森林§a猎杀它!夺取灵环兽骨!
+ 青天牛马:
+ boss_armor: 1000
+ reward_top: 世界王通用
+ reward_kills: 魔魂大白鲨
+ name: §b§l青§f§L天§b§l牛§f§L马
+ loc: xdsl,-144,75,210
+ bc: §6[§4公告§6] §a十万年灵兽§7<§r%mobs%§7>§a已苏醒,请尽快前往§e星尘森林§a猎杀它!夺取灵环兽骨!
+ bc_vv: §6[§4公告§6] §a十万年灵兽§7<§r%mobs%§7>§a已苏醒,请尽快前往§e星尘森林§a猎杀它!夺取灵环兽骨!
+ 雷暴狮王:
+ boss_armor: 1000
+ reward_top: 世界王通用
+ reward_kills: 魔魂大白鲨
+ name: §b§l雷§f§l暴§b§l狮§f§l王
+ loc: xdsl,193,75,-185
+ bc: §6[§4公告§6] §a十万年灵兽§7<§r%mobs%§7>§a已苏醒,请尽快前往§e星尘森林§a猎杀它!夺取灵环兽骨!
+ bc_vv: §6[§4公告§6] §a十万年灵兽§7<§r%mobs%§7>§a已苏醒,请尽快前往§e星尘森林§a猎杀它!夺取灵环兽骨!
+ 噬魂蛛皇:
+ boss_armor: 1000
+ reward_top: 世界王通用
+ reward_kills: 魔魂大白鲨
+ name: §d§l噬§5§l魂§d§l蛛§5§l皇
+ loc: bhlyy,0,82,20
+ bc: §6[§4公告§6] §a十万年灵兽§7<§r%mobs%§7>§a已苏醒,请尽快前往§b冰§c焰§e两仪泉§a猎杀它!夺取灵环兽骨!
+ bc_vv: §6[§4公告§6] §a十万年灵兽§7<§r%mobs%§7>§a已苏醒,请尽快前往§b冰§c焰§e两仪泉§a猎杀它!夺取灵环兽骨!
+ 武魂殿_教皇冕下:
+ boss_armor: 1000
+ reward_top: 世界王通用
+ reward_kills: 魔魂大白鲨
+ name: §d§l教§e§l皇§d§l冕§e§l下
+ loc: whd,70,38,4
+ bc: §6[§4公告§6] §r%mobs%§a将在20秒后出现在§6器魂殿§a,击败教皇夺取天使卷轴!
+ bc_vv: §6[§4公告§6] §r%mobs%§a将在20秒后出现在§6器魂殿§a,击败教皇夺取天使卷轴!
+ 武魂殿_封号鬼魅:
+ boss_armor: 1000
+ reward_top: 世界王通用
+ reward_kills: 魔魂大白鲨
+ name: §8§l封§7§l号§8§l鬼§7§l魅
+ loc: whd,29,62,4
+ bc: §6[§4公告§6] §r%mobs%§a将在20秒后出现在§6器魂殿§a,击败长老夺取教皇长老令!
+ bc_vv: §6[§4公告§6] §r%mobs%§a将在20秒后出现在§6器魂殿§a,击败长老夺取教皇长老令!
+ 武魂殿_封号菊花:
+ boss_armor: 1000
+ reward_top: 世界王通用
+ reward_kills: 魔魂大白鲨
+ name: §e§l封§5§l号§e§l菊§5§l花
+ loc: whd,111,62,4
+ bc: §6[§4公告§6] §r%mobs%§a将在20秒后出现在§6器魂殿§a,击败长老夺取教皇长老令!
+ bc_vv: §6[§4公告§6] §r%mobs%§a将在20秒后出现在§6器魂殿§a,击败长老夺取教皇长老令!
+ 戮影魔龙王:
+ boss_armor: 1000
+ reward_top: 世界王通用
+ reward_kills: 魔魂大白鲨
+ name: §4§l戮§b§l影§4§l魔§b§l龙§4§l王
+ loc: slds,2135,71,1939
+ bc: §6[§4公告§6] §a十万年灵兽§7<§r%mobs%§7>§a已苏醒,请尽快前往§4地狱路§a猎杀它!夺取戮影卷轴!
+ bc_vv: §6[§4公告§6] §a十万年灵兽§7<§r%mobs%§7>§a已苏醒,请尽快前往§4地狱路§a猎杀它!夺取戮影卷轴!
+ 魔魂大白鲨:
+ boss_armor: 1000
+ reward_top: 世界王通用
+ reward_kills: 魔魂大白鲨
+ name: §b§l魔§c§l魂§b§l虎§c§l鲸§b§l鲨
+ loc: jhby,133,49,-289
+ bc: §6[§4公告§6] §a十万年灵兽§7<§r%mobs%§7>§a已苏醒,请尽快前往§b极寒冰域§a猎杀它!夺取灵环兽骨!
+ bc_vv: §6[§4公告§6] §a十万年灵兽§7<§r%mobs%§7>§a已苏醒,请尽快前往§b极寒冰域§a猎杀它!夺取灵环兽骨!
+RewardGroup:
+ 世界王通用:
+ top:
+ 1:
+ - ditem give 凋零伤害第一名礼包 1 %player%
+ - bcm §f恭喜玩家§a[§6%player%§a]§f在§e§l十万年灵兽猎杀§f中获得了 §r凋零伤害第一名礼包
+ 2:
+ - ditem give 凋零伤害第二名礼包 1 %player%
+ 3:
+ - ditem give 凋零伤害第三名礼包 1 %player%
+ damage:
+ - ditem give 凋零1000伤害礼包 1 %player%
+ 世界级魂兽通用:
+ top:
+ 1:
+ - ditem give 凋零伤害第一名礼包 1 %player%
+ - bcm §f恭喜玩家§a[§6%player%§a]§f在§e§l十万年灵兽猎杀§f中获得了 §r凋零伤害第一名礼包
+ 2:
+ - ditem give 凋零伤害第二名礼包 1 %player%
+ 3:
+ - ditem give 凋零伤害第三名礼包 1 %player%
+ 4:
+ - ditem give 凋零伤害第四名礼包 1 %player%
+ 5:
+ - ditem give 凋零伤害第五名礼包 1 %player%
+ damage:
+ - ditem give 凋零1000伤害礼包 1 %player%
+ 魔魂大白鲨:
+ kills:
+ - console:ditem give 最终击杀奖励 1 %player%|op:ditem give 最终击杀奖励 1 %player%|msg:恭喜你抽中了 %player%
+ - console:ditem give 最终击杀奖励 1 %player%|op:ditem give 最终击杀奖励 1 %player%|msg:恭喜你抽中了 %player%
+ - console:ditem give 最终击杀奖励 1 %player%|op:ditem give 最终击杀奖励 1 %player%|msg:恭喜你抽中了 %player%
+ - console:ditem give 最终击杀奖励 1 %player%|op:ditem give 最终击杀奖励 1 %player%|msg:恭喜你抽中了 %player%
+ - console:ditem give 最终击杀奖励 1 %player%|op:ditem give 最终击杀奖励 1 %player%|msg:恭喜你抽中了 %player%
\ No newline at end of file
diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml
new file mode 100644
index 0000000..e15fb70
--- /dev/null
+++ b/src/main/resources/config.yml
@@ -0,0 +1,2 @@
+Timemonth: 2022/04
+MonthlyKillsTop: {}
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
new file mode 100644
index 0000000..7e9711a
--- /dev/null
+++ b/src/main/resources/plugin.yml
@@ -0,0 +1,6 @@
+name: WorldBossHurt
+main: com.io.yaohun.worldbosshurt.main
+version: 1.0.0
+commands:
+ bosspz:
+ bossspawner:
\ No newline at end of file