Dragons ❱ Dragons & Dragon Escape Minigames
Leaked and Cracked by Xylo#6969


Popular Dragons & Dragon Escape Minigames

2021-03-24-01-03-21.png



OrqU9nr.png

  • 2 Dragons minigames in 1 plugin, you can have both running.
  • Multi-Arena and BungeeCord support.
  • Achievements.
  • SQLite and MySQL support.
  • Leaderboard.
  • Extremely configurable.
    • Signs, Scoreboard, messages, options and more.
  • Save and restore player inventory, levels and more.
  • Reward System.
  • Kits
  • Very easy to setup.
tZsJMgY.jpg

Bugs
If you have any issues, report via discussion or private message. Do not use the rating area to report bugs or request features. Please go to discussion.

Dependencies
Dragons can run all systems by himself, however, you can install Vault to work with global economy and HolographicDisplays to work with Leaderboards.

PlaceholderAPI support
The following placeholders are available, they are self explanatory:

%dragons_dragonescape_wins%
%dragons_dragonescape_gamesplayed%
%dragons_dragonescape_losses%
%dragons_wins%
%dragons_gamesplayed%
%dragons_losses%


She6p1t.png


Arena setup (Dragons)
Required permission: dragons.setup
First of all set global spawn using /dr setgspawn
  1. Create your arena - /dr create <name> Dragons.
  2. Add player spawn - /dr addSpawn <name>
  3. Set Sky - /dr setSky <name>
  4. Add dragon spawn - /dr addDragon <name>
    1. DO NOT add a dragon spawn BELOW the SKY!
  5. Set min players - /dr setMinPlayers <name> <amount>
  6. Set max players - /dr setMaxPlayers <name> <amount>
  7. Finish setup and create game - /dr finish <name>



Sign format:
  1. [Dragons]
  2. join
  3. ArenaName
2021-03-24-01-03-00.png






Arena setup (Dragon Escape)
Required permission: dragons.setup
First of all set global spawn using /dr setgspawn
  1. Create your arena - /dr create <name> DragonEscape
  2. Add player spawn - /dr addSpawn <name>
  3. Add dragon spawn - /dr setDragonSpawn <name>
  4. Add dragon waypoint - /dr addWaypoint <name>
    1. Important! Waypoint are locations for the Dragon to fly to, check the video tutorial!
  5. Set Sky - /dr setSky <name>
    1. Optional for this gamemode, but recommended.
  6. Set min players - /dr setMinPlayers <name> <amount>
  7. Set max players - /dr setMaxPlayers <name> <amount>
  8. Finish setup and create game - /dr finish <name>




Sign format:
  1. [DragonEscape]
  2. join
  3. ArenaName


2021-03-30-01-40-16.png


NiPwpwB.png


Command: dragons
Aliases: drag, dr
  • /dr join <arena> - no permission.
  • /dr leave - no permission.
  • /dr stats - no permission.
Manager commands

  • /dr setgspawn - dragons.admin
  • /dr start <arena> - dragons.moderator/dragons.admin
  • /dr stop <arena> - dragons.moderator/dragonsadmin
  • /dr reload - dragons.admin
    • SAVES all config files.
Others:
  • /dr coins set/add/remve <player> <amount>
    • Permission: dragons.admin
    • Updates player balance, command will not work with Vault support enabled.

w7gBd5k.jpg


Kits
You can add kits, add potions to kits and more.

kits.png


  • Cooldown: Cooldown of the main kit item, the leap axe; 1000 = 1s;
  • Type: Where this kit will work
    • DRAGONESCAPE for Dragon Escape.
    • DRAGONS for Dragons.
    • BOTH for both.
  • Max-Uses
    • Max-uses of the leap axe.
Leap axe cannot be remove as a kit item.

To add potion effect to the kit, add a custom line named potion-effects, for example:
Code (Text):
...
type: "BOTH"
potion-effects:
- 'SPEED : 1000 : 1'
permission: ""
...

EFFECT : DURATION IN SECONDS : LEVEL
Potion Effect List here!


Achievements
You can have how many achievements you want.

a.png



Holographic Leaderboards
lb.png

Placeholder: {dragons_wins_position}
  • e.g: {dragons_wins_1} for the player with most Dragons wins.
Placeholder: {de_wins_position}
  • e.g: {de_wins_1} for the player with most DragonEscape wins.
Example of HolographicDisplays database.yml
Screenshot-1.png


Note that the Placeholder value of the Hologram can be changed at language.yml in Wins-Format.
Screenshot-2.png




Extra permissions

  • dragons.joinfull - Allows you to join in full games.
  • dragons.kits.all - Access to all kits.
Common problems
FPS Instability (1.15+)

This is a minecraft-side problem, I can't do much about it.

Disabling fireworks, explosions and falling blocks in config should help.

Sounds List
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html

Potion Effect Types
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html

Material list
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html

API
Code (Text):
import com.floodeer.dragons.Dragons;
import com.floodeer.dragons.DragonsAPI;
import com.floodeer.dragons.api.DragonTargetEvent;
import com.floodeer.dragons.api.GameEndEvent;
import com.floodeer.dragons.api.GameStartEvent;
import com.floodeer.dragons.api.PlayerAxeUseEvent;
import com.floodeer.dragons.game.GamePlayer;
import com.floodeer.dragons.game.GameType;
import com.floodeer.dragons.game.IGame;
import com.floodeer.dragons.game.dragons.DragonSctructure;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;

import java.util.UUID;

public class APIShowCase {

private final DragonsAPI api;

public APIShowCase() {
api = Dragons.getAPI();
}


//API Methods
public GamePlayer getPlayerData(Player bukkitPlayer);

public GamePlayer getPlayerData(UUID uuid);

public GamePlayer getPlayerData(String name);

public Game getGame(String name);

public Game getGame(GamePlayer fromPlayer);

public void saveData(Player... players);

public void updateLeaderboard(boolean receiveAfter);

//Game Events

@EventHandler
public void onGameStart(GameStartEvent event) {
IGame game = event.getGame();
if(event.getType() == GameType.DRAGONS) {
game.getPlayers().forEach(player -> player.getP().sendMessage("You are playing Dragons!"));
}
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
IGame game = event.getGame();
if(event.getType() == GameType.DRAGON_ESCAPE) {
GamePlayer winner = event.getWinner(); // event.getPositions().get(0), depending on your settings.yml
Player second = event.getPositions().get(1);
Player third = event.getPositions().get(2);
}
}

@EventHandler
public void onPlayerUseKit(PlayerAxeUseEvent event) {
if(event.getKit().getName().equalsIgnoreCase("NoShift") && event.getPlayer().isSneaking())
event.setCancelled(true);
}

@EventHandler
public void onDragonTarget(DragonTargetEvent event) {
if(event.getType() == DragonSctructure.TargetType.PLAYER) {
event.getTarget().sendMessage("Be careful!");
}
}
}
Files and Screenshots
2021-03-24-00-59-14.png

2021-03-30-01-40-16.png

2021-03-24-01-03-00.png

2021-03-24-01-00-01.png

2021-03-24-00-59-49.png

2021-04-22-00-13-22.png


UTF-8 support for all files.

Code (Text):

Name: Jungle
GameMode: DragonEscape
Map:
MinPlayers: 6
MaxPlayers: 16
Sign:
world: world
x: -42.0
y: 14.0
z: -162.0
isSignSet: true
Locations:
LOBBY:
world: Jungle
x: 84.26799554417639
y: 120.0
z: 40.50190751808889
pitch: 0.08600964
yaw: 66.523926
player-spawns:
- '{"world":"Jungle","x":7.489832717715597,"y":55.0,"z":6.085813520288813,"pitch":2.668272,"yaw":-1.9910556}'
- '{"world":"Jungle","x":4.643508293064777,"y":55.0,"z":6.424022754223054,"pitch":2.668272,"yaw":-1.9910556}'
- '{"world":"Jungle","x":3.1466997298962482,"y":55.0,"z":9.10849463136831,"pitch":2.668272,"yaw":-1.9910556}'
- '{"world":"Jungle","x":6.8352282812087415,"y":55.0,"z":11.318404087569151,"pitch":2.668272,"yaw":-1.9910556}'
- '{"world":"Jungle","x":10.91290716559956,"y":55.0,"z":11.255796319344599,"pitch":2.668272,"yaw":-1.9910556}'
- '{"world":"Jungle","x":14.11670391014089,"y":55.0,"z":10.93273754259852,"pitch":2.668272,"yaw":-1.9910556}'
DRAGON_SPAWN:
world: Jungle
x: 7.114245670303945
y: 57.15459809869719
z: -24.886777647048568
pitch: 8.177026
yaw: -0.69974065
waypoints:
- '{"world":"Jungle","x":9.983605204019833,"y":56.41480873525568,"z":15.261004472700012,"pitch":9.984588,"yaw":4.0343695}'
- '{"world":"Jungle","x":5.4268454577624485,"y":57.90631731040234,"z":37.9431885960062,"pitch":18.161627,"yaw":64.200294}'
- '{"world":"Jungle","x":-14.619521409991806,"y":58.64610667384385,"z":37.999411790632486,"pitch":8.349183,"yaw":89.67838}'
- '{"world":"Jungle","x":-34.34155045683803,"y":62.37474364723093,"z":37.09218952200751,"pitch":6.6277037,"yaw":77.97226}'
- '{"world":"Jungle","x":-53.73859717845133,"y":65.3617153612614,"z":52.05505871493212,"pitch":4.38978,"yaw":47.41589}'
- '{"world":"Jungle","x":-71.91997346257044,"y":65.3617153612614,"z":68.44101976583354,"pitch":4.6480007,"yaw":19.613869}'
- '{"world":"Jungle","x":-75.79281622644147,"y":67.96567885004376,"z":85.8693820933607,"pitch":7.918812,"yaw":-6.4665775}'
- '{"world":"Jungle","x":-73.61880073830015,"y":71.69243992751575,"z":101.79407942672206,"pitch":10.501026,"yaw":-40.293724}'
- '{"world":"Jungle","x":-65.53676660330004,"y":69.45184960441517,"z":109.99420575923622,"pitch":16.78443,"yaw":-51.311264}'
- '{"world":"Jungle","x":-42.295906209554666,"y":69.45184960441517,"z":116.1965308995149,"pitch":5.93911,"yaw":-82.55623}'
- '{"world":"Jungle","x":-15.450554968775737,"y":75.44157089716718,"z":119.05074278435984,"pitch":0.43037018,"yaw":-85.9992}'
- '{"world":"Jungle","x":3.1512534315531866,"y":79.92130297135077,"z":120.22873728915037,"pitch":-0.25822237,"yaw":-91.33583}'
- '{"world":"Jungle","x":15.246673919027934,"y":85.51875364380412,"z":120.80750872922776,"pitch":-2.1518543,"yaw":-110.01376}'
- '{"world":"Jungle","x":24.057098822511968,"y":91.49766406627846,"z":99.0617033783937,"pitch":-1.205041,"yaw":-201.76906}'
- '{"world":"Jungle","x":20.376702764399212,"y":97.48638489597938,"z":79.00622801419965,"pitch":13.255391,"yaw":-177.75423}'
SKY:
world: Jungle
x: 20.376702764399212
y: 110.22464798331559
z: 78.91207345920614
pitch: 61.457
yaw: -221.56621



Code (Text):

Messages:
Prefix: '&9[Dragons] '
Join: '&7%player% &ejoined the game. (&7%players%&e/&7%maxplayers%&e)'
Left: '&7%player% &eleft the game. (&7%players%&e/&7%maxplayers%&e)'
Chat-Format: '&7%playername%: &r%message%'
Chat:
Spectator-Format: '&7[SPECTATOR] &7%displayname%: &f%message%'
Restoring-Period: '&cThis game is restarting, please wait...'
Already-Started: '&cThis game already started!'
Already-InGame: '&cAlready playing!'
Game-Not-Found: '&cNo game found, you are now on the Queue to play.'
No-Permission: '&cNo permission!'
Game-Is-Full: '&cThis game is full!'
Starting: '&eThe game starts in &b%time% &eseconds.'
No-Winner: '&bNo winner!'
Empty-Value: '&bNo one'
Command-Failed: '&cYou cannot use commands while playing dragons!'
Countdown-Cancelled: '&cNot enough players to start the game, countdown &lCANCELLED.'
Game-Cancelled: '&cThe game was cancelled by an Administrator.'
Skill-Recharded: '&eYour &c%ability% ability &eis ready to use!'
Recharged: '&cYou''ve reached the limit of this item!'
Recharging: '&cWait %time% to use this ability.'
Enough-Money: '&cYou don''t have enough money to buy this!'
Successful-Purchase: '&aYou successfully purchased &9%item%&a.'
Successful-Selected: '&aYou selected &9%item%&a.'
Kit-Disabled: '&cThis kit is disabled on this gamemode!'
Player-Eliminated: '&7%player% &ewas eliminated! %alive% player(s) left.'
Eliminated: '&cEliminated! &7You''re now on spectator mode.'
Grace-Period-Seconds: '&eThe Grace-Period ends in &b%time% &eseconds!'
Grace-Period-Second: '&eThe Grace-Period ends in &b%time% &esecond!'
Achievement:
- '&7&m---------------&7[&6&lACHIEVEMENT&7]&m---------------'
- ' '
- '%name% - %description%'
- ' '
- '&7&m----------------------------------'
Dragons:
Game-Start:
- '&7&m---------------&7[&6&lDRAGONS&7]&m---------------'
- ' '
- '&7Survive!'
- ' '
- '&7&m----------------------------------'
Game-End:
- '&7&m---------------&7[&c&lDRAGON ESCAPE&7]&m---------------'
- ' '
- '&7Winner: %winner%'
- ' '
- '&7&m----------------------------------'
Dragon-Name: '&c&lDragon'
DragonEscape-Name: '&4&lDragon'
DragonEscape:
Game-Start:
- '&7&m---------------&7[&6&lDRAGONS&7]&m---------------'
- ' '
- '&7Run!'
- ' '
- '&7&m----------------------------------'
Game-End:
- '&7&m---------------&7[&c&lDRAGON ESCAPE&7]&m---------------'
- ' '
- '&7Winner: %winner%'
- ' '
- '&7&m----------------------------------'
Player-Stats:
- '&7&m---------------&7[&c&lDragons&7]&m---------------'
- ' '
- '&8Dragon Escape Wins: &b%dragonEscape_wins%'
- '&8Dragon Escape Games: &b%dragonEscape_gamesPlayed%'
- ' '
- '&8Dragons Wins: &b%dragons_wins%'
- '&8Dragons Games: &b%dragons_gamesPlayed%'
- ' '
- '&8Balance: &b%balance%'
- ' '
- '&7&m----------------------------------'
TimeUnits:
Milliseconds: Milliseconds
Seconds: Seconds
Minutes: Milliseconds
Hours: Hours
Days: Days
Permanent: Permanent
Titles:
Titles:
Player-Eliminated: '&b%player%'
Join: '&eYou are playing on map:'
Left: '&eYou left the game'
Title:
Starting: '&eGame starts in:'
Subtitles:
Join: '&b%mapname%'
Starting: '&eGame starts in:'
Player-Eliminated: '&7was eliminated!'
Sign:
Line:
1-Dragons: '&7[&cDragons&7]'
Dragon-Escape: '&7[&cDragon Escape&7]'
'2': '%state%'
'3': '%mapname%'
'4': '%players%/%maxplayers%'
State:
Waiting: '&aWAITING'
Starting: '&6STARTING'
InGame: '&cIN GAME'
Ending: '&4ENDING'
Restoring: '&8RESTORING'
Motd:
State:
Waiting: '&aWAITING'
Starting: '&6STARTING'
InGame: '&cIN GAME'
Ending: '&4ENDING'
Dragons-Scoreboard:
Title: '&e&lDRAGONS'
DragonEscape-Scoreboard:
Title: '&e&lDRAGON ESCAPE'
Leaderboard:
No-Data: '&7Waiting...'
Loading-Data: '&7Loading...'
Wins-Format: '&e%position%. &b%player% &7- &e%wins% &7wins'
Menus:
Spectator-Name: '&7Alive Players'
Scoreboard:
Lobby-Format:
- ' '
- 'Mode: &a%gamemode%'
- ' '
- 'Map: &a%mapname%'
- 'Players: &b%players%/%maxplayers%'
- 'Needed: &b%minplayers%'
- ' '
- 'State: %capitalize_state%'
- ' '
- yourserver.com
Dragons-Scoreboard-Format:
- ' '
- 'Time Left: &a%time_left%'
- ' '
- 'Players: &b%players%'
- 'Specs: &b%specs%'
- ' '
- 'Dragons: &b%dragons%'
- ' '
- yourserver.com



Code (Text):

Locations:
spawn: ''
Storage:
Type: SQLite
MySQL:
Host: localhost
Port: '3306'
User: root
Password: ''
Database: test
Update-Interval: '5'
Leaderboard:
Data-Limit: '10'
Options:
Save-Inventory: 'true'
Disable-Spectator: 'false'
Spectator-GameMode: 'false'
Bungee:

Latest updates

  1. 1.3.6

    Java 16 & 1.17 support Added Java 16 & version 1.17 support.
  2. N/A

    N/A
  3. QoL changes

    Added placeholder for 2 and 3 places in Dragons ending message. %place_2% and %place_3% Code...

Latest reviews

Thank you my friend! <3
Update plz<3
Nice plugin, but it needs more placeholders for things like the currency so it can be incorporated into the holograms as well. Also needs dedicated kit commands so npcs can be used among other options.
Nice work

Similar resources

LeDraginiaLobby // DRAGONS // AWESOME // HOW TO TRAIN YOUR DRAGON // SEE PICTURES IN DESCRIPTION InactiveResource
1.00 star(s) 1 ratings
Downloads
98
Updated
BLOSSOM PVP SKYBLOCK SPAWN - CHERRY BLOSSOM TREE / SPRING / DRAGONS / FANTASY / JAPAN// Dekomori
Large skyblock spawn with cherry blossom trees and dragons! Room for crates and a shop area.
0.00 star(s) 0 ratings
Downloads
290
Updated
Dragons MiniGame C
0.00 star(s) 0 ratings
Downloads
30
Updated
BlackSpigot General Chat
Rules Help Users
    L @ l kjhgfedrwsqa: fuck u
    Top