Skip to content

A spigot based jumpandrun minigame. It's almost like the gamemode 'JumpLeague' on the gommehd.net server but with a few changes.

License

Notifications You must be signed in to change notification settings

VoxCrafterLP/JumpRace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JumpRace

build GitHub release (latest by date) GitHub GitHub milestone MV version bStats Servers

This is a spigot based Jump 'n' Run minigame. It's almost like the gamemode 'JumpLeague' on the GommeHD.net server but with a few changes. The plugin contains its own building system, which can be used to build your own modules.

Important! It is highly recommended using this plugin in a cloud-system based environment like CloudNET.

Features

  • Module randomizer
  • Module building system
  • Quick editor
  • API
  • Holograms
  • Particle system
  • Small head database
  • Multiple maps
  • Fully customizable
  • Multiple languages

Installation

This plugin only requires a properly set up Spigot server, but it's recommended to use the latest build of version 1.8.8. You can learn how to use the latest build here.

  1. Download the latest JAR file from the releases tab.
  2. Move the JAR file into your plugins folder.
  3. Restart your server.
  4. Check the console to ensure that the plugin is working properly.
  5. Locate and open the config file in plugins/JumpRace/config.yml.
  6. Configure the plugin to your needs.
  7. Have fun!

Updating

To update the plugin, please make sure that you follow these steps:

  1. Download the latest JAR file from the releases tab and put it into the plugins folder.
  2. Delete the old plugin JAR file.
  3. Delete the languages folder in the plugins/JumpRace/ folder.
  4. Make a backup of you current config.yml file.
  5. Delete the config.yml file from the plugins/JumpRace/ folder.
  6. Start the server.
  7. Update your config.yml file with the settings from your backup file.
  8. Have fun!

API

Maven dependency

<dependency>
  <groupId>com.voxcrafterlp</groupId>
  <artifactId>JumpRace</artifactId>
  <version>1.2.2-RELEASE</version>
  <scope>provided</scope>
</dependency>
<repository>
  <id>voxcrafter-repo</id>
  <url>https://repo.voxcrafter.dev/repository/maven-releases/</url>
</repository>

Events

Available events:

  • ModuleFailEvent
  • PlayerCompleteModuleEvent
  • PlayerReachGoalEvent
  • TeamWinEvent

Example

public class Example implements Listener {

    private static final HashMap<Player, Integer> fails = new HashMap<>();

    @EventHandler
    public void onFail(ModuleFailEvent event) {
        final Player player = event.getPlayer();

        if(fails.containsKey(player))
            fails.replace(player, fails.get(player) + 1);
        else
            fails.put(player, 1);
    }

    @EventHandler
    public void onReach(PlayerReachGoalEvent event) {
        final Player player = event.getPlayer();

        if(fails.containsKey(player)) {
            player.sendMessage("§fYou failed §c" + fails.get(player) + " times.");
        } else
            player.getInventory().setHelmet(new ItemStack(Material.DIAMOND_HELMET));
    }

}

Languages

At the moment these languages are available:

- en_US (American English) (default)
- de_DE (German)
- de_CH (Swiss German)

If you want to add your own language file, you can copy an existing translation file from the plugins/JumpRace/languages folder and translate it. Important! You have to encode the translation file in ISO-8859-1. To enable the translation, you have to change the language file in the config.

Contributors

Bugreports and features

If you found a bug or you want to request a feature, feel free to create an issue.

License

This project is licensed under the GNU GPL v3 and may be used accordingly. Further information can be found here.

About

A spigot based jumpandrun minigame. It's almost like the gamemode 'JumpLeague' on the gommehd.net server but with a few changes.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages