update to v2.2.0
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
#配置文件版本,请勿修改
|
||||
version: 2.2.0
|
||||
|
||||
#可选: 'Chinese','English'
|
||||
lang: 'English'
|
||||
|
||||
#可选: 'Disable'(不启用),'ChatBox'(聊天栏),'SubTitle'(副标题),'ActionBar'(状态栏)
|
||||
damage_visible_mode: ActionBar
|
||||
|
||||
damage_statistics:
|
||||
# 显示伤害排名前几的玩家
|
||||
limit: 10
|
||||
|
||||
#可选: 'weight','pc' ('edge' 已不再使用!)
|
||||
#'weight'(edge): 使用权重来决定每次生成哪条龙(包括默认龙default)
|
||||
#'pc': 即“优先级+概率”,插件会先尝试生成(按照其设定的概率)优先级最高的龙,如果失败则尝试下一条,如果都失败就生成默认龙default
|
||||
#注意,在pc模式下,默认龙是用来兜底的,也就是说,如果你使用的是该模式,给默认龙设置再高的优先级都无效
|
||||
special_dragon_jude_mode: 'weight'
|
||||
|
||||
#格式: '名字:权重'
|
||||
#这里的名字与文件名一一对应,如果你要增加新的龙配置,需要在plugins/EnderDragon/setting中新建一个"名字.yml"文件,然后在这里加上一项:- '名字:权重'
|
||||
#权重需为正整数
|
||||
dragon_setting_file:
|
||||
- 'default:5'
|
||||
- 'special:5'
|
||||
|
||||
#自动复活末影龙
|
||||
auto_respawn:
|
||||
# 你可以按格式添加更多条目,但是名称不能重复
|
||||
task1:
|
||||
#是否启用: [true/false]
|
||||
enable: false
|
||||
#对应的末地世界名字
|
||||
world_name: world_the_end
|
||||
#复活时间
|
||||
# minute:30 表示每30分钟复活
|
||||
# hour:4 表示每4小时复活
|
||||
# day:1,00:00 表示每天00:00复活
|
||||
# day:10,14:30 表示每10天的14:30复活
|
||||
# week:6,22:00 表示每周6的22:00复活
|
||||
# week:7,09:00 表示每周周日的09:00复活
|
||||
# month:8,11:43 表示每月8号的11:43复活
|
||||
# year:200,00:00 表示每年第200天的00:00复活
|
||||
respawn_time: 'day:10,22:00'
|
||||
task_2:
|
||||
enable: false
|
||||
world_name: world_the_end
|
||||
respawn_time: 'week:7,20:00'
|
||||
|
||||
|
||||
#respawn_cd采用倒计时,精确到秒,采用独立的系统,具体配置使用 "/ed respawn_cd" 系列指令设置
|
||||
#上方的"auto_respawn.invulnerable"同样作用于此
|
||||
respawn_cd:
|
||||
enable: true
|
||||
|
||||
#如果设置为true,玩家(生存模式)将无法破坏自动复活末影龙时放置的水晶(被破坏则复活被中止)
|
||||
crystal_invulnerable: false
|
||||
#如果设置为true,玩家手动放置末地水晶将无法复活末影龙,但不影响末地水晶的合成、放置
|
||||
resist_player_respawn: false
|
||||
#如果设置为true,玩家无法用玻璃瓶收集龙息
|
||||
resist_dragon_breath_gather: false
|
||||
#指令/ed drop gui 打开的默认主页面
|
||||
main_gui: main
|
||||
|
||||
#以下世界中生成的末影龙将不被插件监听
|
||||
blacklist_worlds:
|
||||
- 'world'
|
||||
- 'world_nether'
|
||||
|
||||
#可选: [default/nbt/advanced]
|
||||
item_format:
|
||||
reward: default
|
||||
|
||||
#是否hook其他插件
|
||||
hook_plugins:
|
||||
MythicLib: true
|
||||
|
||||
#是否启用脚本拓展
|
||||
#由于涉及到依赖加载,此项配置变更只有重启服务器后才生效
|
||||
expansion:
|
||||
groovy: false
|
||||
|
||||
#调试模式[true/false]
|
||||
debug: false
|
||||
|
||||
#请勿修改以下配置,除非你知道你在做什么
|
||||
advanced_setting:
|
||||
# 在一些mohist端中,世界环境类型可能会获取错误,这会影响复活末影龙功能
|
||||
# 设置该项为true并重启服务器将尝试修复
|
||||
world_env_fix: false
|
||||
save_respawn_status: false
|
||||
backslash_split:
|
||||
reward: false
|
||||
@@ -0,0 +1,92 @@
|
||||
#You don't need to edit it.
|
||||
version: 2.2.0
|
||||
|
||||
#Enabled: 'Chinese','English'
|
||||
lang: 'English'
|
||||
|
||||
#Enabled: 'Disable','ChatBox','SubTitle','ActionBar'
|
||||
damage_visible_mode: ActionBar
|
||||
|
||||
damage_statistics:
|
||||
# Display how many player at most
|
||||
limit: 10
|
||||
|
||||
#Enabled: 'weight','pc' ('edge' is deprecated!)
|
||||
#'weight'(edge): means using weight to decide which dragon(including default dragon) to spawn.
|
||||
#'pc': namely 'priority+chance', dragons(except the default one) will be sorted in descending order of priority, and plugin will sequently try to spawn each dragon(according to respective chance). Once succeed, it will spawn and dragons behind it will be skipped. If all attempts fail, spawn the default one.
|
||||
special_dragon_jude_mode: 'weight'
|
||||
|
||||
#format: '<NAME>:<WEIGHT>' (<NAME> -> file name; <WEIGHT> -> positive integer)
|
||||
# For example, if you want to add a new dragon,
|
||||
# you can create a new file named '<NAME>.yml' in plugins/EnderDragon/setting,
|
||||
# and then add - '<NAME>:<WEIGHT>' here
|
||||
dragon_setting_file:
|
||||
- 'default:5'
|
||||
- 'special:5'
|
||||
|
||||
auto_respawn:
|
||||
# You can add more entries without duplicate name according to the format.
|
||||
task1:
|
||||
enable: false
|
||||
world_name: world_the_end
|
||||
#some examples:
|
||||
# minute:30 -> respawn every 30 minutes
|
||||
# hour:4 -> respawn every 4 hours
|
||||
# day:1,00:00 -> respawn at 00:00 every day
|
||||
# day:10,14:30 -> respawn at 14:30 every 10 days
|
||||
# week:6,22:00 -> respawn at 22:00 every Saturday(the 6th day of one week)
|
||||
# week:7,09:00 -> respawn at 09:00 every Sunday
|
||||
# month:8,11:43 -> respawn at 11:43,the 8th day every month
|
||||
# year:200,00:00 -> respawn at 00:00,the 200th day every year
|
||||
respawn_time: 'day:10,22:00'
|
||||
task_2:
|
||||
enable: false
|
||||
world_name: world_the_end
|
||||
respawn_time: 'week:7,20:00'
|
||||
|
||||
|
||||
|
||||
#"respawn_cd" works as accurate countdown, and have an independent system.
|
||||
#The configuration can be modified with command "/ed respawn_cd".
|
||||
#"auto_respawn.invulnerable" has same effect on this.
|
||||
respawn_cd:
|
||||
enable: true
|
||||
|
||||
#if set this to true, player(in survival mode) can't break the end_crystal after auto_respawn starts
|
||||
crystal_invulnerable: false
|
||||
#if set this to true, end_crystal can still be crafted or placed,but end_crystal that placed by player cannot respawn the ender_dragon
|
||||
resist_player_respawn: false
|
||||
#if set this to true, player cannot gather dragon_breath with glass_bottle
|
||||
resist_dragon_breath_gather: false
|
||||
#The gui that will be shown when using "/ed drop gui"
|
||||
main_gui: main
|
||||
|
||||
#The spawn of ender_dragon in these worlds will be ignored by this plugin.
|
||||
blacklist_worlds:
|
||||
- 'world'
|
||||
- 'world_nether'
|
||||
|
||||
#optional: [default/nbt/advanced]
|
||||
item_format:
|
||||
reward: default
|
||||
|
||||
#Whether hook to other plugins
|
||||
hook_plugins:
|
||||
MythicLib: true
|
||||
|
||||
#Whether enable script expansion
|
||||
#Due to dependency loading, this configuration change will only take effect after reloading the server
|
||||
expansion:
|
||||
groovy: false
|
||||
|
||||
#[true/false]
|
||||
debug: false
|
||||
|
||||
#Do not modify the configuration below unless you know what you are doing
|
||||
advanced_setting:
|
||||
# In some mohist-server, environment of world may be loaded incorrectly, which affects the respawn function.
|
||||
# You can set this to "true" and reload server to fix it.
|
||||
world_env_fix: false
|
||||
save_respawn_status: false
|
||||
backslash_split:
|
||||
reward: false
|
||||
@@ -0,0 +1,13 @@
|
||||
#You shouldn't edit it.
|
||||
#配置文件版本,请勿修改
|
||||
version: 2.2.0
|
||||
|
||||
#the number of dragon that has been respawned in the past.
|
||||
#You only need to edit it when you first install the plugin (if you want to),and it will renew automatically afterwards.
|
||||
#If you use command to kill dragons,this action won't be counted.
|
||||
# 已生成过的末影龙数量
|
||||
# 你只需要在插件初次安装时修改这个值,开始使用后它会自动更新
|
||||
# 注意:指令杀死的末影龙不会被计入次数
|
||||
times: 1
|
||||
auto_respawn:
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
//If you want to read Chinese version, have a look at the WIKI
|
||||
package expansion.groovy.Example
|
||||
|
||||
import org.bukkit.Bukkit
|
||||
import pers.xanadu.enderdragon.config.Lang
|
||||
import pers.xanadu.enderdragon.script.tool.ScriptCommand as Command//You can delete this import because "Command" is built-in
|
||||
|
||||
static void enable(){
|
||||
Lang.info("I am a CommandTest script written in groovy.")
|
||||
def executor = {
|
||||
sender, cmd, label, args ->{
|
||||
sender.sendMessage("I'm a test command")//sender a message to command sender
|
||||
return true
|
||||
}
|
||||
}
|
||||
new Command("hello")//new a command with name "hello"
|
||||
.setAliases(["666","he"])//you can use an alias instead of "hello"
|
||||
.setExecutor(executor)//code to run when command is executed
|
||||
//set the tab completer
|
||||
.setTabCompleter({//Define a closure and then pass it in is also avaliable(like setExecutor), which makes no difference
|
||||
sender, cmd, label, args ->{
|
||||
return ["tab1","tab2"]
|
||||
}
|
||||
})
|
||||
.setPermission("hello.test")//set command permission
|
||||
.setPermissionMessage("§4You don't have permission to do that!")//remind if lack permission
|
||||
.setNamespace("xanadu")//send command namespace, ie. /hello:hello -> /xanadu:hello
|
||||
.setDescription("test command")//set command description
|
||||
.setUsage("A command register example")//set command usage
|
||||
//.register() //register this command(Default Unregistered)
|
||||
}
|
||||
|
||||
static void test(){
|
||||
Bukkit.broadcastMessage("you runs test()")
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
//If you want to read Chinese version, have a look at the WIKI
|
||||
|
||||
//Set the package name. Nothing matters if you skip this
|
||||
package expansion.groovy.Example
|
||||
|
||||
//Usually, you need to import classes like what you do in Java before using.
|
||||
//However, the plugin has automatically imported some classes for you during script engine initialization,
|
||||
//so some class names and variables can be used directly.
|
||||
import org.bukkit.Bukkit //For example, you can delete this without affecting script operation
|
||||
import org.bukkit.event.EventPriority
|
||||
import org.bukkit.event.player.PlayerJoinEvent
|
||||
import org.bukkit.event.player.PlayerQuitEvent
|
||||
import pers.xanadu.enderdragon.script.Events //The same goes for this import
|
||||
|
||||
/**
|
||||
* Function enable() will be called when a script is loaded.
|
||||
* If this function is missing, you will receive a warning in console.
|
||||
*/
|
||||
static void enable(){
|
||||
// To avoid confusing you, this listener is not registered by default.
|
||||
// If you want to test it, just delete the "//".
|
||||
// registerListener()
|
||||
// registerAnotherListener()
|
||||
Bukkit.getLogger().info("Example script has been reloaded!") //send a message in console when this script is loaded
|
||||
}
|
||||
|
||||
// An example of registering listener
|
||||
// Plugin has simplified the method to register. Here are two ways to register.
|
||||
// You don't need to worry about problems about unregister them, because plugin will do that.
|
||||
/**
|
||||
* Events.register(Class clazz, Consumer consumer)
|
||||
* @param clazz -> The class name to listen for events
|
||||
* @param consumer -> Function to run when this event is listened
|
||||
*/
|
||||
static void registerListener(){
|
||||
Events.register(PlayerJoinEvent.class, e -> Bukkit.broadcastMessage(e.getPlayer().getName()+ " joined!"))
|
||||
}
|
||||
/**
|
||||
* Events.register(Class clazz, EventPriority priority, boolean ignoreCancelled, Consumer consumer)
|
||||
* @param clazz -> The class name to listen for events
|
||||
* @param priority -> priority of listener(default: EventPriority.NORMAL)
|
||||
* @param ignoreCancelled -> Define if the handler ignores a cancelled event(default: false)
|
||||
* @param consumer -> Function to run when this event is listened
|
||||
*/
|
||||
static def registerAnotherListener(){
|
||||
Events.register(PlayerQuitEvent.class, EventPriority.NORMAL,false,event->{
|
||||
Bukkit.broadcastMessage("Quit message is:" + event.getQuitMessage())
|
||||
Bukkit.broadcastMessage("Player's name is " + event.player.displayName)
|
||||
})
|
||||
}
|
||||
/**
|
||||
* Priorities available for selection:
|
||||
* EventPriority.LOWEST (Process first)
|
||||
* EventPriority.LOW
|
||||
* EventPriority.NORMAL
|
||||
* EventPriority.HIGH
|
||||
* EventPriority.HIGHEST
|
||||
* EventPriority.MONITOR (Process last)
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
package expansion.groovy
|
||||
|
||||
import org.bukkit.Bukkit
|
||||
import pers.xanadu.enderdragon.config.Lang
|
||||
|
||||
static void enable(){
|
||||
// Lang.info("I am a test script written in groovy.")
|
||||
}
|
||||
|
||||
|
||||
static void test(){
|
||||
Bukkit.broadcastMessage("you runs test()")
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,159 @@
|
||||
main:
|
||||
Page: 1000
|
||||
Slots:
|
||||
- TTTTTTTTT
|
||||
- TDDDDDDDT
|
||||
- TDDDDDDDT
|
||||
- TDDDDDDDT
|
||||
- TDDDDDDDT
|
||||
- TPTTXTTNT
|
||||
Items:
|
||||
T:
|
||||
type: TIP
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
v: 3105
|
||||
type: GRAY_STAINED_GLASS_PANE
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '{"text":""}'
|
||||
ItemFlags:
|
||||
- HIDE_ENCHANTS
|
||||
- HIDE_ATTRIBUTES
|
||||
- HIDE_UNBREAKABLE
|
||||
D:
|
||||
type: DRAGON_SLOT
|
||||
P:
|
||||
type: PAGE_PREV
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
v: 3105
|
||||
type: LIME_STAINED_GLASS_PANE
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '{"italic":false,"text":"Prev Page"}'
|
||||
data_disable:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
v: 3105
|
||||
type: BLACK_STAINED_GLASS_PANE
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '{"italic":false,"text":"Prev Page"}'
|
||||
E:
|
||||
type: EMPTY
|
||||
N:
|
||||
type: PAGE_NEXT
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
v: 3105
|
||||
type: LIME_STAINED_GLASS_PANE
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '{"text":"Next Page"}'
|
||||
data_disable:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
v: 3105
|
||||
type: BLACK_STAINED_GLASS_PANE
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '{"italic":false,"text":"Next Page"}'
|
||||
X:
|
||||
type: PAGE_TIP
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
v: 3105
|
||||
type: PAPER
|
||||
default_gui:
|
||||
Page: 1000
|
||||
Slots:
|
||||
- TJTTTTTTT
|
||||
- TIIIIIIIT
|
||||
- TIIIIIIIT
|
||||
- TIIIIIIIT
|
||||
- TIIIIIIIT
|
||||
- TPTTXTTNT
|
||||
Items:
|
||||
T:
|
||||
type: TIP
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
v: 3105
|
||||
type: GRAY_STAINED_GLASS_PANE
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '{"text":""}'
|
||||
ItemFlags:
|
||||
- HIDE_ENCHANTS
|
||||
- HIDE_ATTRIBUTES
|
||||
- HIDE_UNBREAKABLE
|
||||
I:
|
||||
type: ITEM_SLOT
|
||||
J:
|
||||
type: PAGE_JUMP
|
||||
gui: main
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
v: 3105
|
||||
type: ENCHANTED_BOOK
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: ENCHANTED
|
||||
display-name: '{"italic":false,"text":"Back"}'
|
||||
P:
|
||||
type: PAGE_PREV
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
v: 3105
|
||||
type: LIME_STAINED_GLASS_PANE
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '{"italic":false,"text":"Prev Page"}'
|
||||
data_disable:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
v: 3105
|
||||
type: BLACK_STAINED_GLASS_PANE
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '{"italic":false,"text":"Prev Page"}'
|
||||
E:
|
||||
type: EMPTY
|
||||
N:
|
||||
type: PAGE_NEXT
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
v: 3105
|
||||
type: LIME_STAINED_GLASS_PANE
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '{"text":"Next Page"}'
|
||||
data_disable:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
v: 3105
|
||||
type: BLACK_STAINED_GLASS_PANE
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '{"italic":false,"text":"Next Page"}'
|
||||
X:
|
||||
type: PAGE_TIP
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
v: 3105
|
||||
type: PAPER
|
||||
@@ -0,0 +1,156 @@
|
||||
main:
|
||||
Page: 1000
|
||||
Slots:
|
||||
- TTTTTTTTT
|
||||
- TDDDDDDDT
|
||||
- TDDDDDDDT
|
||||
- TDDDDDDDT
|
||||
- TDDDDDDDT
|
||||
- TPTTXTTNT
|
||||
Items:
|
||||
T:
|
||||
type: TIP
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: STAINED_GLASS_PANE
|
||||
damage: 7
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '§r'
|
||||
ItemFlags:
|
||||
- HIDE_ENCHANTS
|
||||
- HIDE_ATTRIBUTES
|
||||
- HIDE_UNBREAKABLE
|
||||
D:
|
||||
type: DRAGON_SLOT
|
||||
P:
|
||||
type: PAGE_PREV
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: STAINED_GLASS_PANE
|
||||
damage: 5
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '§rPrev Page'
|
||||
data_disable:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: STAINED_GLASS_PANE
|
||||
damage: 15
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '§rPrev Page'
|
||||
E:
|
||||
type: EMPTY
|
||||
N:
|
||||
type: PAGE_NEXT
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: STAINED_GLASS_PANE
|
||||
damage: 5
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '§rNext Page'
|
||||
data_disable:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: STAINED_GLASS_PANE
|
||||
damage: 15
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '§rNext Page'
|
||||
X:
|
||||
type: PAGE_TIP
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: PAPER
|
||||
default_gui:
|
||||
Page: 1000
|
||||
Slots:
|
||||
- TJTTTTTTT
|
||||
- TIIIIIIIT
|
||||
- TIIIIIIIT
|
||||
- TIIIIIIIT
|
||||
- TIIIIIIIT
|
||||
- TPTTXTTNT
|
||||
Items:
|
||||
T:
|
||||
type: TIP
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: STAINED_GLASS_PANE
|
||||
damage: 7
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '§r'
|
||||
ItemFlags:
|
||||
- HIDE_ENCHANTS
|
||||
- HIDE_ATTRIBUTES
|
||||
- HIDE_UNBREAKABLE
|
||||
I:
|
||||
type: ITEM_SLOT
|
||||
J:
|
||||
type: PAGE_JUMP
|
||||
gui: main
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: ENCHANTED_BOOK
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: ENCHANTED
|
||||
display-name: '§rBack'
|
||||
P:
|
||||
type: PAGE_PREV
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: STAINED_GLASS_PANE
|
||||
damage: 5
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '§rPrev Page'
|
||||
data_disable:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: STAINED_GLASS_PANE
|
||||
damage: 15
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '§rPrev Page'
|
||||
E:
|
||||
type: EMPTY
|
||||
N:
|
||||
type: PAGE_NEXT
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: STAINED_GLASS_PANE
|
||||
damage: 5
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '§rNext Page'
|
||||
data_disable:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: STAINED_GLASS_PANE
|
||||
damage: 15
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '§rNext Page'
|
||||
X:
|
||||
type: PAGE_TIP
|
||||
data:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: PAPER
|
||||
@@ -0,0 +1,74 @@
|
||||
version: 2.2.0
|
||||
|
||||
plugin:
|
||||
prefix: '§7[§eEnderDragon§7]§r '
|
||||
wrong_file_version: '{file_name} 版本与插件不对应,请更新文件'
|
||||
read_file: '正在读取 '
|
||||
item_read_error: '物品格式错误,错误项: '
|
||||
checking_update: '正在为您检查更新...'
|
||||
check_update_fail: '检查更新失败,请确认您的网络配置'
|
||||
out_of_date: '您正在使用的插件版本: v{0}\n检测到新版插件v{1}已发布,请尽快更新\n下载地址:https://www.spigotmc.org/resources/enderdragon.101583'
|
||||
up_to_date: '您正在使用最新版的插件(v{1})...'
|
||||
disable: '正在卸载插件...'
|
||||
file_save_error: '文件 {file_name} 保存失败!'
|
||||
|
||||
command:
|
||||
no_permission: "§4你没有使用该命令的权限"
|
||||
reload_config: '§a配置文件已重载'
|
||||
only_player: '§c这个指令只能由玩家执行'
|
||||
drop_item:
|
||||
add:
|
||||
empty: '§c添加掉落物失败,你手上没有拿物品...'
|
||||
invalid_chance: '§c您输入的掉落概率是不合法的: §e'
|
||||
succeed: '§a掉落物添加成功,概率为: §c{chance}%'
|
||||
clear: '§a掉落物配置已清空'
|
||||
remove:
|
||||
invalid_num: '§c您输入的不是整数: §e'
|
||||
fail: '§c掉落物移除失败!'
|
||||
succeed: '§a掉落物移除成功!'
|
||||
respawn_cd:
|
||||
disable: '§c您暂未在config.yml中启用respawn_cd.enable!'
|
||||
remove: '§a已移除位于{world}的复活倒计时.'
|
||||
removeAll: '§a已移除所有世界的复活倒计时.'
|
||||
retry: '§c复活任务冲突,将在一个周期后重试.'
|
||||
set: '§a下一条末影龙被击杀后,复活将在§c{second}§a秒后开始.'
|
||||
start:
|
||||
already_started: '§c请勿重复运行倒计时!'
|
||||
none: '§c这个世界暂未设置复活倒计时!'
|
||||
succeed: '§a复活倒计时已开始!'
|
||||
|
||||
gui:
|
||||
default_title: '§8§l§k||§6§l龙之宝藏§8§l§k||'
|
||||
not_found: "§c这个gui不存在."
|
||||
item_lore: '§6(概率: {drop_chance}%)§r'
|
||||
item_cmd_lore: '§6Shift+右键§f 移除§r'
|
||||
|
||||
dragon:
|
||||
damage_display: '对末影龙的伤害: §e%damage%.§r(§a%remain_health%§r/§c%max_health%§r)'
|
||||
player_inv_full: '§c您的背包已满,战利品可能已掉落在您的脚下'
|
||||
no_killer: '玩家远程'
|
||||
auto_respawn: '下一条末影龙即将复活...'
|
||||
not_found: "§c无法找到这条龙的信息"
|
||||
damage_statistics:
|
||||
text: '§7[§d查看伤害统计§7]'
|
||||
hover:
|
||||
prefix:
|
||||
- '§5§m---------------§r[§e伤害统计§r]§5§m---------------§r'
|
||||
- '┤ §7末影龙名字: %dragon_display_name%§r'
|
||||
- '┤ §7伤害总和: %damage_sum%§r'
|
||||
- '┤ §7参与者: §r'
|
||||
mt: '└─── §7%rank%. %player%: §a%damage%§8(%percent%)§r'
|
||||
exceeds_limit: '└── §7还有%exceeds_number%名玩家未显示...'
|
||||
suffix:
|
||||
- '§5§m--------------------------------------'
|
||||
|
||||
world:
|
||||
env_fix_enable: '世界环境修复已启用'
|
||||
|
||||
expansion:
|
||||
groovy_disable: '§cGroovy脚本引擎未启用!'
|
||||
|
||||
CommandTips1: '§e/ed reload §a重载配置文件'
|
||||
CommandTips2: '§e/ed respawn §a复活一条末影龙'
|
||||
CommandTips3: '§e/ed drop §a末影龙掉落物设置'
|
||||
CommandTips4: '§e/ed drop add 名字 概率 §a为一条末影龙增加掉落物'
|
||||
@@ -0,0 +1,74 @@
|
||||
version: 2.2.0
|
||||
|
||||
plugin:
|
||||
prefix: '§7[§eEnderDragon§7]§r '
|
||||
wrong_file_version: 'File {file_name} is out of date, please update it.'
|
||||
read_file: 'Reading file '
|
||||
item_read_error: 'Item read error! Key: '
|
||||
checking_update: 'Checking update...'
|
||||
check_update_fail: 'Checking update fail. Please check your network settings.'
|
||||
out_of_date: 'Your version: v{0}\nNew version: v{1}\nDownload Link: https://www.spigotmc.org/resources/enderdragon.101583'
|
||||
up_to_date: 'You are using the latest version (v{1})...'
|
||||
disable: 'Disabling the plugin...'
|
||||
file_save_error: 'File {file_name} save error!'
|
||||
|
||||
command:
|
||||
no_permission: "§4I'm Sorry,but you do not have permission to do that."
|
||||
reload_config: '§aConfig reload complete.'
|
||||
only_player: '§cOnly player can do this.'
|
||||
drop_item:
|
||||
add:
|
||||
empty: '§cThere is nothing to add, please hold something.'
|
||||
invalid_chance: '§cThis drop-chance is invalid: §e'
|
||||
succeed: '§aDrop item add succeed with §c{chance}%§a drop-chance.'
|
||||
clear: '§aDrop-item config has been cleared.'
|
||||
remove:
|
||||
invalid_num: "§cCan't parse Your input to an integer: §e"
|
||||
fail: '§cFailed to remove this item...'
|
||||
succeed: '§aSucceed to remove this item!'
|
||||
respawn_cd:
|
||||
disable: '§c"respawn_cd.enable" in config.yml has been disabled!'
|
||||
remove: '§aSucceed to remove the respawn countdown in {world}.'
|
||||
removeAll: '§aRespawn countdown in every world have been removed!'
|
||||
retry: '§cRespawn Task conflict, will be retried in the next cycle...'
|
||||
set: '§aRespawn will start in §c{second}§a second(s) after the next dragon_death.'
|
||||
start:
|
||||
already_started: '§cThe countdown has already been started!'
|
||||
none: '§cThere is no respawn_cd in this world!'
|
||||
succeed: '§aRespawn countdown starts!'
|
||||
|
||||
gui:
|
||||
default_title: '§8§l§k||§6§lSpecial Drop§8§l§k||'
|
||||
not_found: "§cCan't find this gui."
|
||||
item_lore: '§6(chance: {drop_chance}%)§r'
|
||||
item_cmd_lore: '§6Shift+RightClick§f to remove§r'
|
||||
|
||||
dragon:
|
||||
damage_display: 'Damage amount to dragon : §e%damage%.§r(§a%remain_health%§r/§c%max_health%§r)'
|
||||
player_inv_full: '§cYour inventory is full,special drop-item maybe fell at your feet.'
|
||||
no_killer: '???'
|
||||
auto_respawn: 'The next dragon will respawn soon...'
|
||||
not_found: "§cCan't find this dragon."
|
||||
damage_statistics:
|
||||
text: '§7[§dDragon Slaying Report§7]'
|
||||
hover:
|
||||
prefix:
|
||||
- '§5§m---------------§r[§eReport§r]§5§m---------------§r'
|
||||
- '┤§7 Name: %dragon_display_name%§r'
|
||||
- '┤§7 Total damage: %damage_sum%§r'
|
||||
- '┤§7 Participants: §r'
|
||||
mt: '└───§7 %rank%. %player%: §a%damage%§8(%percent%)§r'
|
||||
exceeds_limit: '└──§7 and %exceeds_number% more...'
|
||||
suffix:
|
||||
- '§5§m--------------------------------------'
|
||||
|
||||
world:
|
||||
env_fix_enable: 'World environment has been fixed.'
|
||||
|
||||
expansion:
|
||||
groovy_disable: '§cGroovy script engine is disabled!'
|
||||
|
||||
CommandTips1: '§e/ed reload §a- reload the config'
|
||||
CommandTips2: '§e/ed respawn §a- respawn a dragon'
|
||||
CommandTips3: '§e/ed drop gui §a- view the drop_item'
|
||||
CommandTips4: '§e/ed drop add <name> <chance> §a- add drop_item to one dragon'
|
||||
@@ -0,0 +1,44 @@
|
||||
name: EnderDragon
|
||||
version: 2.2.0
|
||||
main: pers.xanadu.enderdragon.EnderDragon
|
||||
author: Xanadu13
|
||||
api-version: 1.13
|
||||
softdepend:
|
||||
- MMOItems
|
||||
- MythicLib
|
||||
- PlaceholderAPI
|
||||
commands:
|
||||
enderdragon:
|
||||
description: "EnderDragon Command"
|
||||
aliases: [ed]
|
||||
|
||||
permissions:
|
||||
ed.admin:
|
||||
description: "Ability to use all EnderDragon commands"
|
||||
children:
|
||||
ed.reload: true
|
||||
ed.drop.edit: true
|
||||
ed.respawn: true
|
||||
ed.update: true
|
||||
ed.update.notify: true
|
||||
default: op
|
||||
ed.reload:
|
||||
description: "Allows you to reload EnderDragon and its configuration"
|
||||
default: op
|
||||
ed.drop.edit:
|
||||
description: "Allows you to edit the drop_item of dragons"
|
||||
default: op
|
||||
ed.drop.gui:
|
||||
description: "Allows you to preview the drop_item of dragons"
|
||||
default: true
|
||||
ed.respawn:
|
||||
description: "Allows you to respawn the dragon"
|
||||
default: op
|
||||
ed.update:
|
||||
description: "Allows you to generate latest configuration file"
|
||||
default: op
|
||||
ed.update.notify:
|
||||
default: op
|
||||
description: "Notifies you when there is a EnderDragon update"
|
||||
|
||||
website: https://www.spigotmc.org/resources/enderdragon.101583
|
||||
@@ -0,0 +1,9 @@
|
||||
//package script
|
||||
|
||||
import org.bukkit.Bukkit
|
||||
import org.bukkit.entity.Player
|
||||
|
||||
//def tell = player.&sendMessage
|
||||
def tell(Object raw){
|
||||
player.sendMessage(raw.toString())
|
||||
}
|
||||
@@ -0,0 +1,203 @@
|
||||
#文件版本,请勿修改
|
||||
version: 2.2.0
|
||||
|
||||
#用于插件内部识别,每一种末影龙的unique_name都需要设为不同值!
|
||||
unique_name: 'default'
|
||||
|
||||
display_name: '末影龙'
|
||||
|
||||
#在weight模式下,此项(priority)会被忽略。
|
||||
#在pc模式下,数值越大优先级越高,优先级更高的会先判断
|
||||
priority: -32768
|
||||
|
||||
#生成概率,允许小数,单位:%
|
||||
spawn_chance: 100
|
||||
|
||||
#gui页面中的图标
|
||||
icon:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: APPLE
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '§r末影龙'
|
||||
|
||||
#MC1.19:
|
||||
#icon:
|
||||
# ==: org.bukkit.inventory.ItemStack
|
||||
# v: 3105
|
||||
# type: APPLE
|
||||
# amount: 1
|
||||
# meta:
|
||||
# ==: ItemMeta
|
||||
# meta-type: UNSPECIFIC
|
||||
# display-name: '{"text":"末影龙"}'
|
||||
|
||||
#gui页面的格式(对应view.yml文件中的gui,允许多种龙共用同一个)
|
||||
drop_gui: default_gui
|
||||
|
||||
#最大生命值,允许小数
|
||||
max_health: 200
|
||||
|
||||
#生成时的生命值,允许小数
|
||||
spawn_health: 200
|
||||
|
||||
#受伤多久后才可以再次受伤,单位tick,1tick=0.05秒
|
||||
no_damage_tick: 10
|
||||
|
||||
#死亡时掉落的经验值,请填整数
|
||||
#原版第一次击杀末影龙掉落12000经验,此后每一次击杀掉落500经验
|
||||
exp_drop: 500
|
||||
|
||||
dragon_egg_spawn:
|
||||
#龙蛋生成概率,允许小数,范围0-100,单位:%
|
||||
chance: 0
|
||||
|
||||
#龙蛋生成延迟,单位tick,20ticks=1s,请填整数
|
||||
#末影龙死后大约20秒(400ticks)后末地传送门生成,因此加一个延迟可以形成龙蛋和传送门几乎一起出现的效果
|
||||
#此外,如果在龙蛋生成前玩家在下方放了火把,床之类的方块,龙蛋下落后会直接形成掉落物回主世界,加一个延迟可以减少不必要的麻烦
|
||||
delay: 410
|
||||
|
||||
#龙蛋生成坐标(末地)
|
||||
#y轴设置70一般没问题,希望更精确的话请依照自己服务器情况而定
|
||||
x: 0
|
||||
y: 70
|
||||
z: 0
|
||||
|
||||
#末影龙护甲值修改,允许小数,可以是负值
|
||||
armor_modify: 0
|
||||
|
||||
#末影龙盔甲韧性修改,允许小数,可以是负值
|
||||
armor_toughness_modify: 0
|
||||
|
||||
#末地水晶每秒治疗量,允许小数,原版为2.0
|
||||
crystal_heal_speed: 2.0
|
||||
|
||||
#末影龙发光颜色,填none不发光,填random表示随机
|
||||
#AQUA-青色,BLACK-黑色,BLUE-蓝色,DARK_AQUA-深青,DARK_BLUE-深蓝,DARK_GRAY-深灰,DARK_GREEN-深绿,DARK_PURPLE-深紫,DARK_RED-深红,GOLD-金色,GRAY-灰色,GREEN-绿色,LIGHT_PURPLE-紫色,RED-红色,WHITE-白色,YELLOW-黄色
|
||||
glow_color: none
|
||||
|
||||
attack:
|
||||
#以下含有“modify”的项均为在原来的数值基础上修改,而非最终值
|
||||
#末影龙冲撞/振翅伤害修改,允许小数,可以是负值
|
||||
damage_modify: 0
|
||||
|
||||
#末影龙攻击附带药水效果
|
||||
#格式同effect_cloud.potion
|
||||
potion_effect:
|
||||
- ''
|
||||
- ''
|
||||
- ''
|
||||
|
||||
#末影龙近战攻击附带额外效果(<类型>: 秒)
|
||||
extra_effect:
|
||||
fire: 0
|
||||
# "freeze"只有在大于等于1.17的服务器版本中才有效
|
||||
freeze: 0
|
||||
|
||||
|
||||
#末影龙攻击吸血,公式:最终值=实际伤害*rate(自动按百分数计算)+base_amount
|
||||
suck_blood:
|
||||
#是否启用
|
||||
enable: false
|
||||
|
||||
#吸血比率,单位:%
|
||||
rate: 0
|
||||
|
||||
#基础吸血值,允许小数
|
||||
base_amount: 0
|
||||
|
||||
#只在攻击玩家时触发
|
||||
only_player: true
|
||||
|
||||
bossbar:
|
||||
#BLUE,GREEN,RED,PINK,PURPLE,WHITE,YELLOW
|
||||
color: blue
|
||||
|
||||
#SOLID:整条,SEGMENTED_6:将血条分为6个部分,SEGMENTED_10:将血条分为10个部分,SEGMENTED_12:将血条分为12个部分,SEGMENTED_20:将血条分为20个部分
|
||||
style: 'SOLID'
|
||||
|
||||
#末影龙火球命中后产生的效果云
|
||||
effect_cloud:
|
||||
#初始半径,允许小数
|
||||
original_radius: 5
|
||||
|
||||
#扩大速度(单位:格/秒)
|
||||
expand_speed: 0.1
|
||||
|
||||
#存在时间,请填整数(单位:秒)
|
||||
duration: 30
|
||||
|
||||
#使用RGB颜色格式,比如黄色对应的格式为'255:255:0'
|
||||
#填"none"代表使用初始的效果(紫色龙息粒子)
|
||||
color: none
|
||||
|
||||
#请严格安装'药水效果 持续时间 药水等级'的格式
|
||||
#持续时间请填入大于0的整数(单位:秒)
|
||||
#药水等级取值1-256的整数,输入1即代表1级,与effect指令不同!
|
||||
#ABSORPTION:伤害吸收,BAD_OMEN:不祥之兆,BLINDNESS:失明,CONDUIT_POWER:潮涌能量,CONFUSION:反胃,DAMAGE_RESISTANCE:抗性提升
|
||||
#DARKNESS:黑暗,DOLPHINS_GRACE:海豚的恩惠,FAST_DIGGING:急迫,FIRE_RESISTANCE:防火,GLOWING:发光,HARM:瞬间伤害,HEAL:瞬间治疗
|
||||
#HEALTH_BOOST:生命提升,HERO_OF_THE_VILLAGE:村庄英雄,HUNGER:饥饿,INCREASE_DAMAGE:力量,INVISIBILITY:隐身,JUMP:跳跃提升
|
||||
#LEVITATION:漂浮,LUCK:幸运,NIGHT_VISION:夜视,POISON:中毒,REGENERATION:生命恢复,SATURATION:饱和,SLOW:缓慢
|
||||
#SLOW_DIGGING:挖掘疲劳,SLOW_FALLING:缓降,SPEED:速度,UNLUCK:霉运,WATER_BREATHING:水下呼吸,WEAKNESS:虚弱,WITHER:凋零
|
||||
potion:
|
||||
- 'harm 60 2'
|
||||
- 'BLINDNESS 10 1'
|
||||
|
||||
#以下配置均可用中括号表示不启用,即:
|
||||
#spawn_cmd: []
|
||||
|
||||
#这种末影龙生成时执行的命令
|
||||
spawn_cmd:
|
||||
- ''
|
||||
- ''
|
||||
- ''
|
||||
|
||||
#这种末影龙死亡时执行的命令(指令杀死无效),可用%player%代表最终屠龙者,若找不到则含%player%的此行命令不执行
|
||||
#举例:- 'give %player% diamond 1'
|
||||
death_cmd:
|
||||
- ''
|
||||
- ''
|
||||
- ''
|
||||
|
||||
#这种末影龙生成时全服播报内容
|
||||
#"%times%"代表这是第几条末影龙
|
||||
spawn_broadcast_msg:
|
||||
- '§a第 %times% 条末影龙已被复活'
|
||||
- ''
|
||||
|
||||
#这种末影龙死亡时全服播报内容(指令杀死无效)
|
||||
#"%times%"代表这是第几条末影龙
|
||||
#{damage_statistics}代表以悬浮文本显示的击杀报告
|
||||
#插件会智能检测周围的玩家来替换%player%,如果实在检测不到将用语言文件中的“dragon.no_player”替换%player%
|
||||
death_broadcast_msg:
|
||||
- '§b第 %times% 条末影龙已被 %player% 击杀'
|
||||
- '末影龙奖励已发放!{damage_statistics}'
|
||||
- ''
|
||||
|
||||
#发送给末影龙最终击杀者的话
|
||||
#"%times%"代表这是第几条末影龙
|
||||
msg_to_killer:
|
||||
- '§b恭喜你成为屠龙者!'
|
||||
- ''
|
||||
- ''
|
||||
|
||||
reward_dist:
|
||||
# 可选: [all,drop,killer,pack,rank,termwise]
|
||||
# all: 给予所有参与屠龙者;
|
||||
# drop: 掉落物,玩家随便抢;
|
||||
# killer: 仅最终击杀者;
|
||||
# pack: 将所有触发掉落的物品打包,根据伤害占比加权分配给玩家
|
||||
# rank: 严格根据玩家伤害排名,给予伤害最高的前几位玩家
|
||||
# termwise: 把触发掉落的物品一一按照伤害占比加权分配给玩家
|
||||
type: killer
|
||||
drop:
|
||||
# 掉落物是否发光,可选项同前面的“glow_color”
|
||||
glow: green
|
||||
pack:
|
||||
# 最多选取多少玩家
|
||||
max_num: 1
|
||||
rank:
|
||||
# 排名前几可获得奖励
|
||||
max_num: 1
|
||||
@@ -0,0 +1,213 @@
|
||||
version: 2.2.0
|
||||
|
||||
#This is used for plugin internal identification.
|
||||
#Please make sure the value is unique among all the types of dragons
|
||||
unique_name: 'default'
|
||||
|
||||
display_name: 'Ender Dragon'
|
||||
|
||||
#In "weight" mode, this(priority) will be ignored.
|
||||
#In "pc" mode, dragon with higher priority will be judged earlier
|
||||
priority: -32768
|
||||
|
||||
#the chance of spawning a special ender dragon
|
||||
#Now you can also enter a double here (unit:%)
|
||||
#You shouldn't add "%".
|
||||
spawn_chance: 100
|
||||
|
||||
#the icon that represents this dragon in gui view
|
||||
icon:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: APPLE
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '§rNormal Dragon'
|
||||
|
||||
#MC1.19:
|
||||
#icon:
|
||||
# ==: org.bukkit.inventory.ItemStack
|
||||
# v: 3105
|
||||
# type: APPLE
|
||||
# amount: 1
|
||||
# meta:
|
||||
# ==: ItemMeta
|
||||
# meta-type: UNSPECIFIC
|
||||
# display-name: '{"text":"Normal Dragon"}'
|
||||
|
||||
#the format of gui this dragon will use(chosen in file view.yml,multiple dragons can share the same one)
|
||||
drop_gui: default_gui
|
||||
|
||||
#please enter a double that above 0
|
||||
#Valid example: “100”,“1000.0”,“200.00” etc.
|
||||
#TIPS: The max_health of native ender-dragon is 200.
|
||||
max_health: 200
|
||||
|
||||
#the health of ender-dragon when it spawns
|
||||
#please enter a double that above 0
|
||||
#don't make it above the "max_health"
|
||||
spawn_health: 200
|
||||
|
||||
# the least interval time between injuries (unit:tick, 1tick=0.05s)
|
||||
# only supports integer value
|
||||
no_damage_tick: 10
|
||||
|
||||
#please enter an integer here
|
||||
#TIPS: In native mc,the first ender dragon drops 12000 exp,afterwards 500 exp per dragon
|
||||
exp_drop: 500
|
||||
|
||||
dragon_egg_spawn:
|
||||
#the chance of spawning a dragon egg when this dragon died
|
||||
#enter an integer or a double (from 0 to 100)(unit:%)
|
||||
chance: 0
|
||||
|
||||
#the dragon-egg spawn delay after this dragon died
|
||||
#please enter an integer that above 0 (unit:tick,20ticks=1 second)
|
||||
#Spawning an egg after the restoration of exit portal can avoid some trouble
|
||||
delay: 410
|
||||
|
||||
#the position where the dragon egg spawns
|
||||
x: 0
|
||||
y: 70
|
||||
z: 0
|
||||
|
||||
#allow double and negative value
|
||||
armor_modify: 0
|
||||
|
||||
#allow double and negative value
|
||||
armor_toughness_modify: 0
|
||||
|
||||
#the health-regain amount every second when the ender-dragon is healed by ender-crystal(Native: 2.0 per second)
|
||||
crystal_heal_speed: 2.0
|
||||
|
||||
#"none" represents not glowing; "random" is also optional
|
||||
#enable color: AQUA,BLACK,BLUE,DARK_AQUA,DARK_BLUE,DARK_GRAY,DARK_GREEN,DARK_PURPLE,DARK_RED,GOLD,GRAY,GREEN,LIGHT_PURPLE,RED,WHITE,YELLOW
|
||||
glow_color: none
|
||||
|
||||
attack:
|
||||
#the damage modify when this dragon attacks player with body or limb (allow double and negative value)
|
||||
damage_modify: 0
|
||||
|
||||
#the effect give to player when this ender dragon attacks player with body or limb
|
||||
#the format is the same as effect_cloud.potion
|
||||
potion_effect:
|
||||
- ''
|
||||
- ''
|
||||
- ''
|
||||
|
||||
# the effect give to player when this ender dragon attacks player with body or limb
|
||||
# format: (<type>: seconds)
|
||||
extra_effect:
|
||||
fire: 0
|
||||
# "freeze" can only be used in server greater than or equal to version 1.17
|
||||
freeze: 0
|
||||
|
||||
|
||||
#dragon recover health when cause damage to other entity
|
||||
#suck_amount = real_damage * <rate>(auto regard as "%") + <basic_amount>
|
||||
suck_blood:
|
||||
enable: false
|
||||
|
||||
#unit: %
|
||||
rate: 0
|
||||
|
||||
#allow double
|
||||
base_amount: 0
|
||||
|
||||
#whether only trigger when dragon attack the player
|
||||
only_player: true
|
||||
|
||||
bossbar:
|
||||
#enable:BLUE,GREEN,RED,PINK,PURPLE,WHITE,YELLOW
|
||||
color: pink
|
||||
|
||||
#enable:SOLID,SEGMENTED_6,SEGMENTED_10,SEGMENTED_12,SEGMENTED_20
|
||||
style: 'SOLID'
|
||||
|
||||
effect_cloud:
|
||||
#enter a double that above 0
|
||||
original_radius: 5
|
||||
|
||||
#how many blocks it's radius will enlarge per second
|
||||
expand_speed: 0.1
|
||||
|
||||
#enter an integer that above 0 (unit: second)
|
||||
duration: 30
|
||||
|
||||
#RGB module,example:'255:255:0' (yellow)
|
||||
#"none" represents original type
|
||||
color: none
|
||||
|
||||
#please follow the format: '<potion> <duration> <level>'
|
||||
#please enter an integer that above 0 at "duration"(unit:second)
|
||||
#please enter an integer (from 1 to 256) at "level"
|
||||
#Some potion's name differs from that in mc native command,here are all the potions you can use:
|
||||
#ABSORPTION,BAD_OMEN,BLINDNESS,CONDUIT_POWER,CONFUSION,DAMAGE_RESISTANCE,DARKNESS,DOLPHINS_GRACE
|
||||
#FAST_DIGGING,FIRE_RESISTANCE,GLOWING,HARM,HEAL,HEALTH_BOOST,HERO_OF_THE_VILLAGE,HUNGER
|
||||
#INCREASE_DAMAGE,INVISIBILITY,JUMP,LEVITATION,LUCK,NIGHT_VISION,POISON,REGENERATION,SATURATION
|
||||
#SLOW,SLOW_DIGGING,SLOW_FALLING,SPEED,UNLUCK,WATER_BREATHING,WEAKNESS,WITHER
|
||||
potion:
|
||||
- 'harm 60 2'
|
||||
- 'BLINDNESS 10 1'
|
||||
|
||||
#All the settings below can be disabled with a "[]".(Ex: spawn_cmd: [] )
|
||||
|
||||
#commands that server will run when this dragon spawn
|
||||
#Attention: You shouldn't add “/” at the beginning of each command!
|
||||
spawn_cmd:
|
||||
- ''
|
||||
- ''
|
||||
- ''
|
||||
|
||||
#commands that server will run when this dragon been killed(exclude '/kill')
|
||||
#You can use %player% respective the name of killer
|
||||
#if plugin can't find who kill the dragon,commands that contain '%player%' won't be performed
|
||||
#Example: - 'give %player% apple 1'
|
||||
death_cmd:
|
||||
- ''
|
||||
- ''
|
||||
- ''
|
||||
|
||||
#Message send to everyone when this dragon spawn
|
||||
#"%times" respective the ordinal number of this dragon
|
||||
spawn_broadcast_msg:
|
||||
- '§aDragon No.%times% has spawned.'
|
||||
- ''
|
||||
|
||||
#Message send to everyone when this dragon is killed(exclude '/kill')
|
||||
#"%times" respective the ordinal number of this dragon
|
||||
#You can use {damage_statistics} to send "Dragon Slaying Report" with hover text.
|
||||
#The plugin will try to find the killer as far as possible.If killer can't be found, %player% will be replaced with the 'dragon.no_killer' in language file
|
||||
death_broadcast_msg:
|
||||
- '§bDragon No.%times% has been killed by %player%'
|
||||
- 'Rewards has been distributed! {damage_statistics}'
|
||||
- ''
|
||||
|
||||
#message that will be sent to the killer(if he/she can be found)
|
||||
#"%times" respective the ordinal number of this dragon
|
||||
msg_to_killer:
|
||||
- '§bCongratulations, You have been the dragon slayer!'
|
||||
- ''
|
||||
- ''
|
||||
|
||||
reward_dist:
|
||||
# enable: [all,drop,killer,pack,rank,termwise]
|
||||
# all: Give to all participants in dragon slaying.
|
||||
# drop: Dropped item, players can grab it casually.
|
||||
# killer: Only give to the final killer.
|
||||
# pack: Pack all items that trigger drop and distribute them to players weighted based on their damage percentage.
|
||||
# rank: Strictly based on player damage ranking, give the top few players with the highest damage.
|
||||
# termwise: Assign the items that trigger the drop ONE BY ONE to the player based on the weighted proportion of damage.
|
||||
type: killer
|
||||
drop:
|
||||
# Whether the dropped item glows.
|
||||
# Refer to the previous 'glow_color' for configuration method
|
||||
glow: green
|
||||
pack:
|
||||
# the number of player(s) can be selected at most
|
||||
max_num: 1
|
||||
rank:
|
||||
# Top few can receive rewards
|
||||
max_num: 1
|
||||
|
||||
@@ -0,0 +1,196 @@
|
||||
#文件版本,请勿修改
|
||||
version: 2.2.0
|
||||
|
||||
#用于插件内部识别,每一种末影龙的unique_name都需要设为不同值!
|
||||
unique_name: 'special001'
|
||||
|
||||
display_name: '特殊末影龙'
|
||||
|
||||
#在weight模式下,此项(priority)会被忽略。
|
||||
#在pc模式下,数值越大优先级越高,优先级更高的会先判断
|
||||
priority: 1
|
||||
|
||||
#生成概率,允许小数,单位:%
|
||||
spawn_chance: 10
|
||||
|
||||
#gui页面中的图标
|
||||
icon:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: DIAMOND
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '§r特殊末影龙'
|
||||
|
||||
#MC1.19:
|
||||
#icon:
|
||||
# ==: org.bukkit.inventory.ItemStack
|
||||
# v: 3105
|
||||
# type: DIAMOND
|
||||
# amount: 1
|
||||
# meta:
|
||||
# ==: ItemMeta
|
||||
# meta-type: UNSPECIFIC
|
||||
# display-name: '{"text":"特殊末影龙"}'
|
||||
|
||||
#gui页面的格式(对应view.yml文件中的gui,允许多种龙共用同一个)
|
||||
drop_gui: default_gui
|
||||
|
||||
#最大生命值,允许小数
|
||||
max_health: 400
|
||||
|
||||
#生成时的生命值,允许小数
|
||||
spawn_health: 300
|
||||
|
||||
#受伤多久后才可以再次受伤,单位tick,1tick=0.05秒
|
||||
no_damage_tick: 10
|
||||
|
||||
#死亡时掉落的经验值,请填整数
|
||||
#原版第一次击杀末影龙掉落12000经验,此后每一次击杀掉落500经验
|
||||
exp_drop: 12000
|
||||
|
||||
dragon_egg_spawn:
|
||||
#龙蛋生成概率,允许小数,范围0-100,单位:%
|
||||
chance: 60
|
||||
|
||||
#龙蛋生成延迟,单位tick,20ticks=1s,请填整数
|
||||
#末影龙死后大约20秒(400ticks)后末地传送门生成,因此加一个延迟可以形成龙蛋和传送门几乎一起出现的效果
|
||||
#此外,如果在龙蛋生成前玩家在下方放了火把,床之类的方块,龙蛋下落后会直接形成掉落物回主世界,加一个延迟可以减少不必要的麻烦
|
||||
delay: 410
|
||||
|
||||
#龙蛋生成坐标(末地)
|
||||
#y轴设置70一般没问题,希望更精确的话请依照自己服务器情况而定
|
||||
x: 0
|
||||
y: 70
|
||||
z: 0
|
||||
|
||||
#末影龙护甲值修改,允许小数,可以是负值
|
||||
armor_modify: 2.0
|
||||
|
||||
#末影龙盔甲韧性修改,允许小数,可以是负值
|
||||
armor_toughness_modify: 1.0
|
||||
|
||||
#末地水晶每秒治疗量,允许小数,原版为2.0
|
||||
crystal_heal_speed: 5.0
|
||||
|
||||
#末影龙发光颜色,填none不发光,填random表示随机(1.16.3及以上版本可用)
|
||||
#AQUA-青色,BLACK-黑色,BLUE-蓝色,DARK_AQUA-深青,DARK_BLUE-深蓝,DARK_GRAY-深灰,DARK_GREEN-深绿,DARK_PURPLE-深紫,DARK_RED-深红,GOLD-金色,GRAY-灰色,GREEN-绿色,LIGHT_PURPLE-紫色,RED-红色,WHITE-白色,YELLOW-黄色
|
||||
glow_color: gold
|
||||
|
||||
attack:
|
||||
#以下含有“modify”的项均为在原来的数值基础上修改,而非最终值
|
||||
#末影龙冲撞/振翅伤害修改,允许小数,可以是负值
|
||||
damage_modify: 5.0
|
||||
|
||||
#末影龙攻击附带药水效果
|
||||
#格式同effect_cloud.potion
|
||||
potion_effect:
|
||||
- 'wither 10 1'
|
||||
- 'hunger 60 1'
|
||||
- 'weakness 30 2'
|
||||
|
||||
#末影龙近战攻击附带额外效果(<类型>: 秒)
|
||||
extra_effect:
|
||||
fire: 0
|
||||
# "freeze"只有在大于等于1.17的服务器版本中才有效
|
||||
freeze: 0
|
||||
|
||||
#末影龙攻击吸血,公式:最终值=实际伤害*rate(自动按百分数计算)+base_amount
|
||||
suck_blood:
|
||||
#是否启用
|
||||
enable: true
|
||||
|
||||
#吸血比率,单位:%
|
||||
rate: 20
|
||||
|
||||
#基础吸血值,允许小数
|
||||
base_amount: 2
|
||||
|
||||
#只在攻击玩家时触发
|
||||
only_player: true
|
||||
|
||||
bossbar:
|
||||
#BLUE,GREEN,RED,PINK,PURPLE,WHITE,YELLOW
|
||||
color: green
|
||||
|
||||
#SOLID:整条,SEGMENTED_6:将血条分为6个部分,SEGMENTED_10:将血条分为10个部分,SEGMENTED_12:将血条分为12个部分,SEGMENTED_20:将血条分为20个部分
|
||||
style: 'SEGMENTED_12'
|
||||
|
||||
#末影龙火球命中后产生的效果云
|
||||
effect_cloud:
|
||||
#初始半径,允许小数
|
||||
original_radius: 5
|
||||
|
||||
#扩大速度(单位:格/秒)
|
||||
expand_speed: 0.1
|
||||
|
||||
#存在时间,请填整数(单位:秒)
|
||||
duration: 30
|
||||
|
||||
#使用RGB颜色格式,比如黄色对应的格式为'255:255:0'
|
||||
#填"none"代表使用初始的效果(紫色龙息粒子)
|
||||
color: none
|
||||
|
||||
#请严格安装'药水效果 持续时间 药水等级'的格式
|
||||
#持续时间请填入大于0的整数(单位:秒)
|
||||
#药水等级取值1-256的整数,输入1即代表1级,与effect指令不同!
|
||||
#ABSORPTION:伤害吸收,BAD_OMEN:不祥之兆,BLINDNESS:失明,CONDUIT_POWER:潮涌能量,CONFUSION:反胃,DAMAGE_RESISTANCE:抗性提升
|
||||
#DARKNESS:黑暗,DOLPHINS_GRACE:海豚的恩惠,FAST_DIGGING:急迫,FIRE_RESISTANCE:防火,GLOWING:发光,HARM:瞬间伤害,HEAL:瞬间治疗
|
||||
#HEALTH_BOOST:生命提升,HERO_OF_THE_VILLAGE:村庄英雄,HUNGER:饥饿,INCREASE_DAMAGE:力量,INVISIBILITY:隐身,JUMP:跳跃提升
|
||||
#LEVITATION:漂浮,LUCK:幸运,NIGHT_VISION:夜视,POISON:中毒,REGENERATION:生命恢复,SATURATION:饱和,SLOW:缓慢
|
||||
#SLOW_DIGGING:挖掘疲劳,SLOW_FALLING:缓降,SPEED:速度,UNLUCK:霉运,WATER_BREATHING:水下呼吸,WEAKNESS:虚弱,WITHER:凋零
|
||||
potion:
|
||||
- 'harm 60 2'
|
||||
- 'BLINDNESS 10 1'
|
||||
|
||||
#以下配置均可用中括号表示不启用,即:
|
||||
#spawn_cmd: []
|
||||
|
||||
#这种末影龙生成时执行的命令
|
||||
spawn_cmd:
|
||||
- ''
|
||||
- ''
|
||||
- ''
|
||||
|
||||
#这种末影龙死亡时执行的命令(指令杀死无效),可用%player%代表最终屠龙者,若找不到则含%player%的此行命令不执行
|
||||
death_cmd:
|
||||
- ''
|
||||
- ''
|
||||
- ''
|
||||
|
||||
#这种末影龙生成时全服播报内容
|
||||
spawn_broadcast_msg:
|
||||
- '§a第 %times% 条末影龙已被复活'
|
||||
- '§6这条末影龙散发着神秘的气息...'
|
||||
|
||||
#这种末影龙死亡时全服播报内容(指令杀死无效)
|
||||
death_broadcast_msg:
|
||||
- '§b第 %times% 条末影龙已被 %player% 击杀'
|
||||
- '末影龙奖励已发放!{damage_statistics}'
|
||||
- ''
|
||||
|
||||
#发送给末影龙最终击杀者的话
|
||||
msg_to_killer:
|
||||
- '§6恭喜你,这条龙掉落了龙蛋和大量经验!'
|
||||
- ''
|
||||
- ''
|
||||
|
||||
reward_dist:
|
||||
# 可选: [all,drop,killer,pack,rank,termwise]
|
||||
# all: 给予所有参与屠龙者;
|
||||
# drop: 掉落物,玩家随便抢;
|
||||
# killer: 仅最终击杀者;
|
||||
# pack: 将所有触发掉落的物品打包,根据伤害占比加权分配给玩家
|
||||
# rank: 严格根据玩家伤害排名,给予伤害最高的前几位玩家
|
||||
# termwise: 把触发掉落的物品一一按照伤害占比加权分配给玩家
|
||||
type: rank
|
||||
drop:
|
||||
# 掉落物是否发光,可选项同前面的“glow_color”
|
||||
glow: green
|
||||
pack:
|
||||
# 最多选取多少玩家
|
||||
max_num: 1
|
||||
rank:
|
||||
# 排名前几可获得奖励
|
||||
max_num: 1
|
||||
@@ -0,0 +1,232 @@
|
||||
## Special thanks to Phaxius for the translation
|
||||
|
||||
# File version, do not edit
|
||||
version: 2.2.0
|
||||
|
||||
# Unique ID used by plugin to identify each type of dragon
|
||||
# unique_name needs to be different in each dragon settings file
|
||||
unique_name: 'special001'
|
||||
display_name: 'Special Ender Dragon'
|
||||
|
||||
# In "weight" mode this setting will be ignored.
|
||||
# In "pc" mode, higher the value, the more likely this dragon type will be picked to spawn
|
||||
priority: 1
|
||||
|
||||
# Spawn probability percentage (Don't add the %). Decimals allowed.
|
||||
spawn_chance: 10
|
||||
|
||||
# Icons in the gui page
|
||||
icon:
|
||||
==: org.bukkit.inventory.ItemStack
|
||||
type: DIAMOND
|
||||
amount: 1
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: '§rSpecial Ender Dragon'
|
||||
|
||||
#MC1.19:
|
||||
#icon:
|
||||
# ==: org.bukkit.inventory.ItemStack
|
||||
# v: 3105
|
||||
# type: DIAMOND
|
||||
# amount: 1
|
||||
# meta:
|
||||
# ==: ItemMeta
|
||||
# meta-type: UNSPECIFIC
|
||||
# display-name: '{"text":"Special Ender Dragon"}'
|
||||
|
||||
# The format of the gui page
|
||||
# defined in view.yml, multiple dragons can share the same gui page
|
||||
drop_gui: default_gui
|
||||
|
||||
# Max health, decimals allowed
|
||||
max_health: 400
|
||||
|
||||
# Health at spawn, decimals allowed
|
||||
spawn_health: 300
|
||||
|
||||
# the least interval time between injuries (unit:tick, 1tick=0.05s)
|
||||
no_damage_tick: 10
|
||||
|
||||
# Experience dropped upon death, integers only
|
||||
# The vanilla dragon drops 12,000 experience for the first time
|
||||
# and 500 experience for each subsequent kill
|
||||
exp_drop: 12000
|
||||
|
||||
# Dragon egg spawn settings
|
||||
dragon_egg_spawn:
|
||||
# Dragon egg spawn probability in percentage (Don't add %)
|
||||
# Decimals allowed, range 0-100
|
||||
chance: 60
|
||||
|
||||
# Dragon egg generation delay in ticks, 20 ticks = 1s, integers only
|
||||
# The end portal is generated about 20 seconds (400ticks) after the ender dragon
|
||||
# dies, so adding a delay can cause the dragon egg and the portal to appear nearly
|
||||
# simultaneously. Also, if the player places torches, beds and other blocks below
|
||||
# before the dragon egg is generated, it will immediately drop and return to the main
|
||||
# world once it falls. Adding a delay can make it easier to collect the dragon egg.
|
||||
delay: 410
|
||||
|
||||
# Dragon egg spawn coordinates (The End)
|
||||
# It is generally no problem to set the y-axis to 70. If you want to be more precise
|
||||
# you can adjust this based on your server configuration.
|
||||
x: 0
|
||||
y: 70
|
||||
z: 0
|
||||
|
||||
# The following fields containing "modify" are all modified based off of the vanilla
|
||||
# Enter dragon armor value modification, decimals and negative values allowed
|
||||
armor_modify: 2.0
|
||||
|
||||
# Ender Dragon armor toughness modification, decimals and negative values allowed
|
||||
armor_toughness_modify: 1.0
|
||||
|
||||
# End crystal healing amount per second, decimals allowed
|
||||
# The vanilla value for healing speed is 2.0
|
||||
crystal_heal_speed: 5.0
|
||||
|
||||
# The color of the ender dragon's glow, if you fill in none, it will not glow,
|
||||
# if you fill in random, it means random (available in versions 1.16.3 and above)
|
||||
# Color values are: AQUA (cyan), BLACK (black), BLUE (blue), DARK_AQUA (dark cyan),
|
||||
# DARK_BLUE (dark blue), DARK_GRAY (dark gray), DARK_GREEN (dark green),
|
||||
# DARK_PURPLE (dark purple), DARK_RED (dark red), GOLD (gold), GRAY (gray),
|
||||
# GREEN (green), LIGHT_PURPLE (purple), RED (red), WHITE (white), YELLOW (yellow)
|
||||
glow_color: gold
|
||||
|
||||
attack:
|
||||
# value and is not the value of the setting itself.
|
||||
# Ender dragon impact/flap damage modification, decimals and negative values allowed
|
||||
damage_modify: 5.0
|
||||
|
||||
# Ender dragon attack with potion effect
|
||||
# the format is the same as effect_cloud.potion
|
||||
potion_effect:
|
||||
- 'wither 10 1'
|
||||
- 'hunger 60 1'
|
||||
- 'weakness 30 2'
|
||||
|
||||
# the effect give to player when this ender dragon attacks player with body or limb
|
||||
# format: (<type>: seconds)
|
||||
extra_effect:
|
||||
fire: 0
|
||||
# "freeze" can only be used in server greater than or equal to version 1.17
|
||||
freeze: 0
|
||||
|
||||
|
||||
# Ender dragon attacks and sucks blood, formula: final value = actual damage * rate
|
||||
# (automatically calculated as a percentage) + base_amount
|
||||
suck_blood:
|
||||
|
||||
# Whether or not to enable (true or false)
|
||||
enable: true
|
||||
|
||||
# Blood sucking rate in percent (Don't add %)
|
||||
rate: 20
|
||||
|
||||
# Basic life-sucking value, decimals allowed
|
||||
base_amount: 2
|
||||
|
||||
# Only triggers when attacking the player (true or false)
|
||||
only_player: true
|
||||
|
||||
# Boss bar settings
|
||||
bossbar:
|
||||
#Available options: BLUE,GREEN,RED,PINK,PURPLE,WHITE,YELLOW
|
||||
color: green
|
||||
|
||||
# Boss bar style
|
||||
# Available options are: SOLID (Whole Bar), SEGMENTED_6 (6 Segments), SEGMENTED_10 (10 segments),
|
||||
# SEGMENTED_12 (12 Segments), SEGMENTED_20 (20 Segments)
|
||||
style: 'SEGMENTED_12'
|
||||
|
||||
#The effect cloud produced after the ender dragon fireball hits
|
||||
effect_cloud:
|
||||
|
||||
# Initial radius, decimals allowed
|
||||
original_radius: 5
|
||||
|
||||
# Expansion speed (unit: grid/second) decimals allowed
|
||||
expand_speed: 0.1
|
||||
|
||||
# Linger time (in seconds), integers only
|
||||
duration: 30
|
||||
|
||||
# Dragon's breath particle effects color.
|
||||
# Uses RGB color format (Ex: the code for yellow is '255:255:0')
|
||||
# Set to "none" for vanilla particle color (purple dragon's breath)
|
||||
color: none
|
||||
|
||||
# Add Potion Effects
|
||||
#
|
||||
# Format (separated by spaces):
|
||||
# potion effect (see list), duration (in seconds), potion level (int between 1 and 256)
|
||||
# Note: Potion level is an integer between 1 and 256 and will be set to that exact potion
|
||||
# level which differs from how it works in the effect command (as an amplifier)
|
||||
# Available effects: ABSORPTION (damage absorption), BAD_OMEN (bad omen), BLINDNESS (blindness),
|
||||
# CONDUIT_POWER (surge energy), CONFUSION (nausea), DAMAGE_RESISTANCE (resistance increase),
|
||||
# DARKNESS (darkness), DOLPHINS_GRACE (dolphin's grace), FAST_DIGGING (haste),
|
||||
# FIRE_RESISTANCE (fire resistance), GLOWING (glowing), HARM (instant damage), HEAL (instant heal),
|
||||
# HEALTH_BOOST (health boost), HERO_OF_THE_VILLAGE (hero of the village), HUNGER (hunger),
|
||||
# INCREASE_DAMAGE (strength), INVISIBILITY (invisibility), JUMP (jump boost), LEVITATION (levitation),
|
||||
# LUCK (luck), NIGHT_VISION (night vision), POISON (poison), REGENERATION (health regeneration),
|
||||
# SATURATION (restores hunger), SLOW (slowness), SLOW_DIGGING (mining fatigue),
|
||||
# SLOW_FALLING (slow falling), SPEED (speed boost), UNLUCK (bad luck), WATER_BREATHING (water breathing),
|
||||
# WEAKNESS (weakness), WITHER (wither)
|
||||
potion:
|
||||
- 'harm 60 2'
|
||||
- 'BLINDNESS 10 1'
|
||||
|
||||
|
||||
# Brackets indicate that they are not enabled ( Ex: spawn_cmd: [] )
|
||||
|
||||
# The command(s) to execute when this type of dragon is spawned
|
||||
spawn_cmd:
|
||||
- ''
|
||||
- ''
|
||||
- ''
|
||||
|
||||
# The command(s) to execute when this type of dragon dies (unless killed with command).
|
||||
# You can use placeholder %player% to represent the final dragon slayer, if not found
|
||||
# the command in that line will not be excecuted
|
||||
death_cmd:
|
||||
- ''
|
||||
- ''
|
||||
- ''
|
||||
|
||||
# Message broadcast to the whole server when this type of dragon is spawned
|
||||
spawn_broadcast_msg:
|
||||
- '§aEnder dragon number %times% has been spawned.'
|
||||
- '§6This dragon exudes a mysterious atmosphere...'
|
||||
|
||||
# Message broadcast to the whole server when this type of dragon is killed
|
||||
death_broadcast_msg:
|
||||
- '§bEnder dragon number %times% has been killed by %player%'
|
||||
- 'Rewards has been distributed! {damage_statistics}'
|
||||
- ''
|
||||
|
||||
# Message sent to the final killer of the Ender Dragon
|
||||
msg_to_killer:
|
||||
- '§6Congratulations, this dragon drops dragon eggs and a lot of experience!'
|
||||
- ''
|
||||
- ''
|
||||
|
||||
reward_dist:
|
||||
# enable: [all,drop,killer,pack,rank,termwise]
|
||||
# all: Give to all participants in dragon slaying.
|
||||
# drop: Dropped item, players can grab it casually.
|
||||
# killer: Only give to the final killer.
|
||||
# pack: Pack all items that trigger drop and distribute them to players weighted based on their damage percentage.
|
||||
# rank: Strictly based on player damage ranking, give the top few players with the highest damage.
|
||||
# termwise: Assign the items that trigger the drop ONE BY ONE to the player based on the weighted proportion of damage.
|
||||
type: rank
|
||||
drop:
|
||||
# Whether the dropped item glows.
|
||||
# Refer to the previous 'glow_color' for configuration method
|
||||
glow: green
|
||||
pack:
|
||||
# the number of player(s) can be selected at most
|
||||
max_num: 1
|
||||
rank:
|
||||
# Top few can receive rewards
|
||||
max_num: 1
|
||||
Reference in New Issue
Block a user