Skip to content

Commit 9a3bee7

Browse files
authored
v1.5.0 merge
v1.5.0
2 parents bcf66cc + 6eeb1c8 commit 9a3bee7

19 files changed

+432
-299
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
hs_err_pid*
2424

2525
.metadata
26+
.vscode/
2627
bin/
2728
tmp/
2829
*.tmp
@@ -82,3 +83,4 @@ local.properties
8283
# Uncomment this line if you wish to ignore the project description file.
8384
# Typically, this file would be tracked if it contains build/dependency configurations:
8485
#.project
86+
.settings/org.eclipse.jdt.core.prefs

.project

Lines changed: 0 additions & 17 deletions
This file was deleted.

.settings/org.eclipse.jdt.core.prefs

Lines changed: 0 additions & 12 deletions
This file was deleted.

README.md

Lines changed: 67 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ EnderDragonTweaks improves the defeating of the Ender Dragon, especially in mult
66

77
### Features
88

9+
- Change Dragon health and damage to players
10+
- Enhance the Dragon by customising its health and the damage it outputs, providing a greater (or lesser) challenge for players
911
- Shared XP drop
10-
- The same number of experience points is given to every player in the End when the Dragon is defeated
12+
- Share experience levels/points equally between players or reward only the Dragon killer when the Dragon is defeated
1113
- Decorative XP orbs
1214
- XP orbs with no value are spawned above every player in the End to add excitement to the defeat
1315
- Respawn Dragon Egg
@@ -22,6 +24,10 @@ EnderDragonTweaks improves the defeating of the Ender Dragon, especially in mult
2224
- Set a cooldown between the defeat of the Dragon and when it can next be respawned
2325
- Dragon statistics
2426
- Various statistics about the Dragon (like its deaths and killers) are tracked and can be used in configured messages
27+
- Respawn Dragon command
28+
- Respawn the Dragon manually using the command `/respawndragon` (permission: `enderdragontweaks.respawndragon`)
29+
- Heed the respawn cooldown (i.e. don't respawn if the cooldown is active) using `/respawndragon heedCooldown`
30+
- Override the cooldown (i.e. respawn even if the cooldown is active) using `/respawndragon overrideCooldown`
2531

2632

2733
### Config
@@ -35,12 +41,13 @@ EnderDragonTweaks improves the defeating of the Ender Dragon, especially in mult
3541
# CONFIGURATION FILE
3642
# ❗ IMPORTANT INFO: ❗
3743
# - All text supports using the ampersand (&) symbol for colours and formats
38-
# (https://minecraft.fandom.com/wiki/Formatting_codes#Color_codes)
44+
# (https://minecraft.wiki/w/Formatting_codes#Color_codes)
3945
# - Placeholders can be included in strings and are replaced by the plugin
4046
# - Every string that has placeholders has a comment above explaining them
4147
# - You can use any statistic from statistics.yml as a placeholder, e.g. <stat-dragonDeathCount>
4248
# - Every string requires quotes ("example string") unless the default does not have them
4349
# - 20 ticks = 1 second
50+
# - If you need to update your config, use https://evs-dev.github.io/edt-config-updater
4451
# - This plugin uses bStats. To opt out of its anonymous stats collection,
4552
# find the bStats folder in your plugins folder and set enabled to false in its config
4653
# (https://bstats.org/plugin/bukkit/EnderDragonTweaks/12284)
@@ -52,6 +59,10 @@ version: 0
5259
# DEFAULT: true
5360
enabled: true
5461

62+
# Should the plugin check for updates and report to the console?
63+
# DEFAULT: true
64+
check-for-updates: true
65+
5566
# The delay in ticks between the death of the Dragon and when this plugin triggers
5667
# DEFAULT: 80
5768
delay: 80
@@ -64,21 +75,58 @@ max-player-distance-from-end-centre: 128
6475
# | Features |
6576
# |------------------------|
6677

78+
dragon-enhancements:
79+
enabled: false
80+
81+
health:
82+
# The amount of health points a newly-spawned Dragon has
83+
# DEFAULT: 200
84+
amount: 200
85+
86+
# The way the health amount should be determined
87+
# fixed: The health is always set to the amount specified (mode-value is ignored)
88+
# random: The health is randomly chosen between mode-value and the given amount
89+
# progressive: The health amount increases by mode-value every time a new Dragon is spawned
90+
# Statistics must be enabled for progressive mode to work
91+
# DEFAULT: fixed
92+
mode: fixed
93+
mode-value: 0
94+
95+
damage:
96+
# The multiplier for the damage the Dragon's normal attacks deal to players
97+
# DEFAULT: 1.0
98+
hit-multiplier: 1.0
99+
100+
# The multiplier for the damage the Dragon's breath deals to players
101+
# DEFAULT: 1.0
102+
breath-multiplier: 1.0
103+
67104
xp-drop:
68105
enabled: true
69106

70-
# The way xp-per-player should be interpreted.
107+
# The amount of XP to give each Dragon fight participant upon Dragon death
108+
# DEFAULT: 68
109+
amount: 68
110+
111+
# The way the XP amount should be interpreted
71112
# levels: The value is given in levels (e.g. 68 will add 68 to the XP number displayed to the player)
72113
# This is useful to add a consistent number of points
73114
# points: The value is given in points, which changes based on the player's current XP
74115
# i.e. 12000 points will not always equal 68 levels
75116
# DEFAULT: levels
76-
mode: levels
77-
78-
# The amount of XP to give each Dragon fight participant upon Dragon death
79-
# This is interpreted differently depending on xp-mode
80-
# DEFAULT: 68
81-
xp-per-player: 68
117+
interpretation: levels
118+
119+
# The way the XP amount should be distributed
120+
# equal: Each player gets the full amount
121+
# e.g. when amount is 68, 68 is given to each player in the End upon Dragon death
122+
# split: The value is divided by the number of Dragon fight participants, and each player gets the result
123+
# e.g. when amount is 68, 34 is given to each player if there are 2 players in the End upon Dragon death
124+
# killer-bias: The Dragon killer gets double the full amount, while the others just get the full amount
125+
# e.g. when amount is 68, 136 is given to the killer and 68 is given to every other player in the End upon Dragon death
126+
# killer-only: Only the Dragon killer gets XP
127+
# e.g. when amount is 68, 68 is given to the killer and no-one else gets XP
128+
# DEFAULT: equal
129+
distribution: equal
82130

83131
decoration-orbs:
84132
enabled: true
@@ -178,21 +226,21 @@ dragon-respawn-cooldown:
178226

179227
# The message broadcasted when the Dragon respawn cooldown begins (if there is one)
180228
# PLACEHOLDERS:
181-
# <time-remaining>: number of seconds before the cooldown ends
182-
# DEFAULT: "The <time-remaining>-second Dragon respawn cooldown has started!"
183-
enter-announcement: "The <time-remaining>-second Dragon respawn cooldown has started!"
229+
# <time-remaining>: amount of time left in the cooldown in hh:mm:ss format
230+
# DEFAULT: "The Dragon respawn cooldown has started! <time-remaining> is left."
231+
enter-announcement: "The Dragon respawn cooldown has started! <time-remaining> is left."
184232

185233
# The message broadcasted when the Dragon respawn cooldown ends
186234
# PLACEHOLDERS:
187-
# <cooldown-length>: number of seconds the cooldown lasts; dragon-respawn-cooldown / 20
188-
# DEFAULT: "The <cooldown-length>-second Dragon respawn cooldown has ended!"
189-
leave-announcement: "The <cooldown-length>-second Dragon respawn cooldown has ended!"
235+
# <cooldown-length>: total length of the cooldown in hh:mm:ss format; dragon-respawn-cooldown / 20
236+
# DEFAULT: "The <cooldown-length> Dragon respawn cooldown has ended!"
237+
leave-announcement: "The <cooldown-length> Dragon respawn cooldown has ended!"
190238

191239
# The message sent to a player who tries to place an End Crystal to respawn the Dragon when the cooldown is active
192240
# PLACEHOLDERS:
193-
# <time-remaining>: number of seconds before the cooldown ends
194-
# DEFAULT: "The Ender Dragon cannot be respawned at the moment because it's in cooldown. Cooldown time left: &r<time-remaining> seconds"
195-
warning: "&cThe Ender Dragon cannot be respawned at the moment because it's in cooldown. Cooldown time left: &r<time-remaining> seconds"
241+
# <time-remaining>: amount of time left in the cooldown in hh:mm:ss format
242+
# DEFAULT: "&cThe Ender Dragon cannot be respawned at the moment because it's in cooldown. &r<time-remaining> &cis left."
243+
warning: "&cThe Ender Dragon cannot be respawned at the moment because it's in cooldown. &r<time-remaining> &cis left."
196244

197245
statistics:
198246
enabled: true
@@ -204,5 +252,5 @@ statistics:
204252
205253
1. Download the latest EnderDragonTweaks-x.x.x.jar
206254
2. Place in into your server plugins folder
207-
- If updating EnderDragonTweaks, you might need to rename or delete your current config to generate a new and updated version. You will have to copy your configured values over
255+
- If updating EnderDragonTweaks, you probably need to update your config.yml using https://evs-dev.github.io/edt-config-updater
208256
3. (Re)start your server!

bin/config.yml

Lines changed: 0 additions & 167 deletions
This file was deleted.

bin/plugin.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)