Minecraft Leaks

SpeedRun 5.1 leaks

Submitted by 4Died9_Hi, , Thread ID: 52297

Thread Closed
21-10-2017, 04:15 PM
#1
Content locked
This content has been locked. Please login or register in order to unlock it.

SpeedRun is a race with parkour, leave behind all the checkpoints and win the game!



[Image: 7f5a19b3086d0657fa58f22a9ffaf7e64f4a32ad...0xvqzp.jpg]
  • Multi-Arena or bungee support.

  • Achievements.

  • Win fireworks & effects.

  • Checkpoint effects.

  • MySQL, Flatfile or SQLite support.

  • Most game messages are configurable.

  • Custom and configurable signs.

  • Save and restore player inventory, levels and more.

  • Custom non-flickering scoreboard.

  • API with Game events.

  • Custom items.

  • Visibility system.

  • Made for Java 8 and MC 1.8, 1.9, 1.10, 1.11 and 1.12.

  • .NBS Game sounds! Play with custom different musics per map!

  • 1 Winner, 3 positions, 2 and 3 positions will receive half of win coins.

  • Win & checkpoints rewards.

  • MCJukeboxsupport! Play a real music with MCJukebox.

  • Leaderboards (for MySQL and SQLite).
[Image: 21c999da338770d7060010e31a36f5ec8e85abe7...HG1qIZ.jpg]
Bugs
I can't fix problems if I don't find them! 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
You need to installWorldEditto add checkpoints, you also can install vault and enable the vault support.

NBS Music
You can play customNote Block Studiosongs! You can edit the song of the arena using/sr edit <arena> music <name>or edit in arena file.




[Image: 924c0185992fa18f220f96583627316c49e07485...0kWWos.jpg]

Arena setup
Required permission:sr.admin
First of all set global spawn using/sr setgspawn
  1. Create your arena -/sr create <name>.

  2. Set arena waiting lobby -/sr setlobby <name>

  3. Add spawn -/sr setspawn <name>

  4. Set min players -/sr setMinPlayers <name> <amount>

  5. Set max players -/sr setMaxPlayers <name> <amount>

  6. Select the checkpoint area with WorldEdit -/sr addCheckpoint <name>

  7. Put the block on your hand -/sr addblock <name>

  8. Finish the arena with -/sr finish <name>
The last checkpoint will be the win point(if player got all of the map checkpoints)

Sign format:
  1. [SpeedRun]

  2. join

  3. ArenaName
Leaderboard Sign
  1. [SpeedRun]

  2. leaderboard

  3. <type> - types:Checkpoints & Wins

  4. <position>
[Image: 5e4d5abe9186f3c79811e85631fcc3c9d8a035e9...PNL2Xo.jpg]
  • /sr join <arena> -sr.player

  • /sr leave -no permission.

  • /sr stats -sr.player
Manager commands
  • /sr setgspawn -sr.admin

  • /sr start <arena> -sr.moderator/sr.admin

  • /sr stop <arena> -sr.moderator/sr.admin

  • /sr config set/update <path> <value> -sr.commands.config/sr.admin
Others:
  • /sr coins set/add/remve <player> <amount> - sr.command.coins/sr.admin

  • /sr updatedata <player> -sr.command.update/sr.admin

  • /sr leaderboard [update/values] <type> - Types: Wins, Checkpoints.
Spoiler:More about the commands

[Image: bd69d1b957502efca21be60d12d557c070538266...TtoySL.jpg]
Extra permissions
  • splegg.joinfull- Allows you to join in full games.
Additional
MCJukebox:

Showcase & Setup


Common problems
Code (Text):
[SpeedRun] Task #44 for SpeedRun v3.1 generated an exception
java.lang.IllegalArgumentException: No enum constant [SOUND]
at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_111]
at org.bukkit.Sound.valueOf(Sound.java:1) ~[patched_1.10.2.jar:git-Paper-914]
at com.floodeer.speedrun.game.Game$1.run(Game.java:135) ~[?:?]

How to fix:
If you are using 1.9, 1.10 or 1.11 you have to change the sounds atsettings.yml

Code (Text):
Sounds:
Checkpoint: ENTITY_PLAYER_LEVELUP:0.2 #For 1.9, 1.10 and 1.11


ParticleEffects
SpoilerTonguearticleEffects (1.9 or above)
SpoilerTonguearticleEffects 1.8

API

Code (Text):
import java.util.UUID;

import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;

import com.floodeer.speedrun.Main;
import com.floodeer.speedrun.game.Game;
import com.floodeer.speedrun.game.GameCheckPoint;
import com.floodeer.speedrun.game.GamePlayer;

public class SpeedRunAPI {

/**
* Get player data from BukkitPlayer.
*
* @param bukkitPlayer - Player
* @return GamePlayer - The player data storage.
*/
public static GamePlayer getPlayerData(Player bukkitPlayer) {
return Main.getPM().getPlayer(bukkitPlayer.getUniqueId());
}

/**
* Get player data from UUID.
*
* @param uuid - Player UUID
* @return GamePlayer - The player data storage.
*/
public static GamePlayer getPlayerDataFromUUID(UUID uuid) {
return Main.getPM().getPlayer(uuid);
}

/**
* Get player data from name
*
* @param name - Player name
* @return GamePlayer - The player data storage.
*/
public static GamePlayer getPlayerDataName(String name) {
return Main.getPM().getPlayer(name);
}

/**
* Game from name.
*
* @param name - The map name.
* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

File and Screenshots
Spoiler:Screenshots

Spoiler:{arena}.yml

SpoilerTonguelayer data file

Spoiler:achievements.yml

Spoiler:settings.yml

RE: SpeedRun 5.1 leaks

This post was last modified: 07-11-2017, 06:18 PM by info65
#2
* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

* @return The Game - null if the game is invalid.
*/
public static Game getGame(String name) {
return Main.getGM().getGameFromName(name);
}

@EventHandler
public void onGameStart(GameStartEvent event) {
event.getGame().sendGameMessage("Game started!");
}

@EventHandler
public void onGameEnd(GameEndEvent event) {
GamePlayer p = event.getPlayerFromPosition(1);
event.getPlayerFromPosition(2).getP().sendMessage(p.getName() + " is better than you!");
}

@EventHandler
public void onAchievement(PlayerAchievementEvent event) {
event.getPlayer().sendMessage("New achievement: " + event.getType().toString());
}

@EventHandler
public void onCheckpoint(PlayerCheckPointEvent event) {
GameCheckPoint checkpoint = event.getCheckpoint();
event.getPlayer().teleport(checkpoint.getSafeLocation());
}
}

RE: SpeedRun 5.1 leaks

#3
super plugin !!!! Thanks you!!!! Very nice!!!! Amazing!!!! Cuute!!!!

RE: SpeedRun 5.1 leaks

#4
Update please, 5.2 was release nov, 21



Improvements

Updated all depedencies.
Fixed several bugs with storage.
Fixed internal performance issues.
Fixed spectator chat placeholders.
Changed some things when plugin is starting.

Users browsing this thread: 1 Guest(s)