SQLite tweaks
- Tweaks to SQLite to avoid locking when data from two databases (map records and player data) are updating at the same time.
New options, Fixes & Changes
- Added Options.Kits.Only-Show-Available-Kits, only shows kits that the player has the permission
- Added Options.Kits.Use-As-Display makes so the shop does nothing when you click on a item
- If the player does not have the kit (permission) he will get the item at Menus.Shop.Locked-Item, you can change the lore with the %price% placeholder.
- In achievements.yml you can just add a lore string list to add multiple lore lines:
dragons_wins:
'1':
enabled: true
display-name: '&8&lThe Survivor'
description: '&7First Dragons win.'
commands:
- dragons coins add %player% 100
lore:
- '&7Line 1'
- '&7Line 2'
- Fixed missing color placeholders in achievements.yml.
- Fixed Hex support for achievements.yml.
- Added the following commands:
- /dragons open trails
- /dragons open kits <mode>
- /dragons unlockKit <kit> <player>
- Requires dragons.unlockKit permission.
- Few tweaks to command suggestion in tab completion.
26.1 support
- Added 26.1.x support and changed the version checker for future updates.
- Fixed 1.8.x inventory closing issues.
- Fixed 1.21+ not applying world game rules correctly.
Explosion fixes, changes
- Partially reverted some explosion changes made before to make them stronger.
- Added a new option:
- Options.Game.Dragons-Explosions.Force-Block-Removal
- Makes it so the EnderDragons from Dragon's mode work the same way as they do in Dragon Escape, ignoring any plugin that can block entity damage.
- You can modify the radius at
Options.Game.Dragons-Explosions.Size, 3.5 is as similar as Vanilla
- Fixed incorrect axe usages count in Dragons action bar.
- Axe usages now only shows for alive players, action bar is removed after they die.
Bugfixes
- Fixed Dragons kit always being default.
- Fixed Dragons mode not showing leap usages in Dragons mode.
- Fixed skill cooldown not resetting after leaving a game.
Kit bugfix
Attempt to fix Dragons kit always being the default items for any kit.
Bugfixes & New Option
- Fixed a bug where if the player has any game inventory open, any future inventory action would not work until the player rejoins the server.
- Added a minor delay to save player inventory to avoid conflict with other plugins.
- Added the option Kits.Warper.Always-Teleport-In-Front.
New Options
- Added Options.Disable-Inventory-Saving
- Use this option if you are using any multiworld inventory plugins.
- Action Bar now shows ability usages.
- Can be changed at Messages.Skill-Usages-Action-Bar
- Fixed a bug where Dragons was controlling explosions outside of the game.
1.21.11
- Added support for 1.21.11.
- As always, the plugin will already work on newer versions, this update just adds the new sounds, materials and stuff.
Important Update
- Fixed the dragon would sometimes target a invalid location in Dragon's mode.
- Small change to event priorities.
- Dragon's blocking break system recoded.
- Before, Dragons would have to convert BlockData to Byte (Legacy) using the version mapper, this would sometimes cause huge spikes of lag (<15 TPS) because it's a very resource intensive process. This is now fixed, non-legacy versions everything will just use BlockData.
- If you are on 1.13+ update ASAP.
Trails changes
- Removed Messages.Trails.Price-Lore-Addon.
- Added locked-lore and purchase-lore line for trails.yml. Example below.
- locked-lore is displayed when the player doesn't have the permission to buy the trail
- purchase-lore is displayed when the player has permission.
- Both has the %price% placeholder.
- Added Messages.Trails.Selected-Lore-Addon.
- Line added for when the player has the Item selected.
- Leave it empty to disable.
- Also updated the trails.yml to use LuckPerms by default, giving you an example of how permissions works.
- /dragons reload command now also reloads trails.yml
Example of reworked trails.yml:
'1':
name: '&cRedstone'
permission: dragons.unlock.redstone
buyPermission: dragons.use.redstone
particles: REDSTONE
menuItem: 'REDSTONE_BLOCK : 1'
helmet: 'AIR : 0'
lore:
- '&eDisplays redstone particles in-game!'
- '&eGives you a cosmetic redstone block helmet!'
locked-lore:
- '&eDisplays redstone particles in-game!'
- '&eGives you a cosmetic redstone block helmet!'
- ' '
- '&cYou do not have permission to use this hat!'
purchase-lore:
- '&eDisplays redstone particles in-game!'
- '&eGives you a cosmetic redstone block helmet!'
- ' '
- '&7Price: &b%price%'
buyCommands:
- lp user %player% permission set dragons.unlock.redstone
price: 18000
slot: 11
rotateParticles: false
Preventive bugfix
This is not really a problem, but a lot of users seems to have this issue, so I'm patching it. If you are running the plugin without any issues don't worry about anything in this update.
- Player kit is now always set to the default value from config at Options.Default-Dragon-Escape-Kit/Options.Default-Dragons-Kit.
- If the default kit is not set/is invalid, the next step is to get a random kit from the kit list.
- AND THEN after that, the selected player kit, if valid, is loaded.
- Values from a non-present in player data is not sent to the database, please set the correct default value in options.yml.
What changes?
Previously, if you changed the kit value in the kit file, players would still able to have the old kit reference selected, causing errors because you probably didn't change the default kit in config also.
Now we have a preventive method to always get a kit from the loaded kit list.
Kit item name hotfix
This is a reupload of the last update:
- Fixed renaming Leap's axe would break the kit.
Kit hotfix
- Fixed renaming Leap's axe would break the kit.
1.21.9
- Added support for 1.21.9.
- As always, the plugin will already work on newer versions, this update just adds the new sounds, materials and stuff.
- Fixed hex color codes not working for Scoreboard titles.
New placeholder
- Added %dragons_coins% PAPI Placeholder.
Message change & New Option
- You can now change the "Price" lore of the Trails shops.
- It was the same as the Shop setting, It is now located at Messages.Trails.Price-Lore-Addon.
- If empty, the price line will be ignored and no new line will be added.
- Added a new option: Options.Game.Force-Remove-Dragons
- Some plugins can cause issues with Dragon's entities, setting this to true will remove any Dragon from the game world, regardless if it was spawned by this plugin.
- Fixed hex color support for item lore.
Scoreboard changes
1.17+ servers can now disable numbers (the red score) from the Scoreboard.
- Option at Options.Scoreboard-Hide-Numbers, true by default, disabled in non-supported versions.
- Requires Paper, but any of its forks should work as well. Auto disabled when not supported.
- If Options.Use-New-Dragon-Escape-Scoreboard is set to false, you might want to disable this new option, but you should be using the new Scoreboard (true by default).
Win Area Improvements
- Added two new options:
- Options.Game.Dragon-Escape-Win-Area-Offset
- Defines the max distance between the player and the end of the game.
- Example: If set to 2.5, the player will win the game when he is 2.5 blocks close to the center of the last waypoint/win area.
- Options.Game.Dragon-Escape-Win-Area-Offset-Index
- Same as above, but uses a different offset calculation based on the previous to last checkpoint.
- Win Area, if set, will now take priority over the waypoint distance calculation to define a winner.