AutoJumpAndRun icon

AutoJumpAndRun -----

An automated Jump and Run for your lobby.



What is AutoJumpAndRun?
AutoJumpAndRun is an automated and fully customizable Jump and Run for your lobby which spawns a random Jump and Run for each player. When a player (default config) steps on a wooden pressure plate with a gold block under it, he gets teleported on a block from where he starts the Jump and Run. With each jump a new block gets spawned and the old block gets despawned. When the player falls, his Jump and Run disappears.

[​IMG]

What can I configurate?
This are the things you can change inside the config files:
Code (YAML):
#AutoJumpAndRun by Tailo Version 3.0
#
#IN ORDER TO APPLY THE CHANGES YOU HAVE TO RELOAD THE SERVER OR TYPE '/ajar reload'
#
#The material of the block a player should move in to start the AutoJumpAndRun. Set to 'null' for every block.
#A list of the material-names can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html (Be aware that you can only use materials that are existing in your used server version)
start_block
: OAK_PRESSURE_PLATE
#
#The Material of the block a player should move on to start the AutoJumpAndRun (The block under 'startblock'). Set to 'null' for every block.
start_block_below
: GOLD_BLOCK
#
#If you set 'startblock' AND 'startblockbelow' to 'null' a AutoJumpAndRun can only be started using the command.
#
#The materials of the block a player should jump from.
#At the beginning of a new AutoJumpAndRun a random id of the list below will be picked for the player and the assigned material will be used. The same id will also be used for the assigned 'toblocks' material.
#It is important that the list starts with '0' and no number is missing inbetween!
from_blocks
:
  0
: WHITE_TERRACOTTA
  1
: ORANGE_TERRACOTTA
  2
: MAGENTA_TERRACOTTA
  3
: LIGHT_BLUE_TERRACOTTA
  4
: YELLOW_TERRACOTTA
  5
: LIME_TERRACOTTA
  6
: PINK_TERRACOTTA
  7
: GRAY_TERRACOTTA
  8
: LIGHT_GRAY_TERRACOTTA
  9
: CYAN_TERRACOTTA
  10
: PURPLE_TERRACOTTA
  11
: BLUE_TERRACOTTA
  12
: BROWN_TERRACOTTA
  13
: GREEN_TERRACOTTA
  14
: RED_TERRACOTTA
  15
: BLACK_TERRACOTTA
#
#The materials of the block a player should jump to.
to_blocks
:
  0
: WHITE_WOOL
  1
: ORANGE_WOOL
  2
: MAGENTA_WOOL
  3
: LIGHT_BLUE_WOOL
  4
: YELLOW_WOOL
  5
: LIME_WOOL
  6
: PINK_WOOL
  7
: GRAY_WOOL
  8
: LIGHT_GRAY_WOOL
  9
: CYAN_WOOL
  10
: PURPLE_WOOL
  11
: BLUE_WOOL
  12
: BROWN_WOOL
  13
: GREEN_WOOL
  14
: RED_WOOL
  15
: BLACK_WOOL
#
#The radius around the block from 'startblock' in x and z direction a player will be randomly teleported to when starting the AutoJumpAndRun.
start_radius
: 5
#
#The minimum added height to the block from 'startblock' a player should be randomly teleported to when starting the AutoJumpAndRun.
min_start_height
: 5
#
#The maximum added height to the block from 'startblock' a player should be randomly teleported to when starting the AutoJumpAndRun
max_start_height
: 10
#
#The minimum distance from the block the player stands on to the block the player should jump on when the block is on the same height.
min_distance_normal
: 2
#
#The maximum distance from the block the player stands on to the block the player should jump on when the block is on the same height.
max_distance_normal
: 4
#
#The minimum distance from the block the player stands on to the block the player should jump on when the block is one block higher than the block he jumps from.
min_distance_y_up
: 2
#
#The maximum distance from the block the player stands on to the block the player should jump on when the block is one block higher than the block he jumps from.
max_distance_y_up
: 3
#
#The chance in percentage that the block a player should jump on is one block higher than the block he jumps from.
chance_y_up
: 25
#
#The maximal distance a player is allowed to be underneath the block he has to jump to without removing his AutoJumpAndRun.
remove_distance
: 1
#
#Maximal height the AutoJumpAndRun can go.
max_height
: 256
#
#The sound that will be played when a new block is spawning. Set to 'null' to disable this sound.
#You can find all sounds here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html (Be aware that you can only use sounds that are existing in your used server version)
spawn_sound
: ENTITY_CHICKEN_EGG
#
#The sound that will be played when a player failed a jump and the AutoJumpAndRun gets removed.Set to 'null' to disable this sound.
fall_sound
: BLOCK_ANVIL_LAND
#
#A countdown for the player to jump on the next block. Set to '-1' to disable.
countdown
: 5
#
#The mode to show the countdown. ACTION_BAR - Show a bar in the actionbar, XP_BAR - Show the countdown in the xp-bar
countdown_mode
: ACTION_BAR
#
#The color of the bar for the elapsed time when shown in the actionbar
#All color and formatting codes can be found here: http://minecraft.gamepedia.com/Formatting_codes
elapsed_time_color
: '&c&l'
#
#The color of the actionbar for the remaining time.
left_time_color
: '&a&l'
#
#If the player falls should he be teleportet to the spawn set with '/ajar setspawn'?
use_spawn
: false
#
#Should the amount of successful jumps be shown in the xp-bar?
xpbar_count
: true
#
#Use a colormenu for changing the blocks of the AutoJumpAndRun while jumping?
colormenu
: true
#
#The slot for the colormenu.
colormenu_slot
: 5
#
#The name of the colormenu.
colormenu_name
: '&9&lChoose color'
#
#The sound that will be played when the player picked a color from the colormenu. Set to 'null' to disable this sound.
color_pick_sound
: ENTITY_PLAYER_LEVELUP
#
#The worlds in which the AutoJumpAndRun should be enabled. This will be ignored for the command.
worlds
:
- 'world'
#
#The prefix of the plugin.
prefix
: '&7 [&eAutoJumpAndRun&7 ] '
#
#The message if you have no permission for a action.
no_permission
: '&cNo permission!'
#
#Clear the inventory during the AutoJumpAndRun and give back the items afterwards. Can be ignored with the 'autojumpandrun.ignore.clearinventory' permission.
clear_inventory
: true
#
#Disable fly during the AutoJumpAndRun. Can be ignored with the 'autojumpandrun.ignore.disablefly' permission.
disable_fly
: true
#
#Disable placing and breaking of blocks during the AutoJumpAndRun. Can be ignored with the 'autojumpandrun.ignore.disablebuild' permission.
disable_build
: true
#
#Disable item dropping during the AutoJumpAndRun. Can be ignored with the 'autojumpandrun.ignore.disabledrops' permission.
disable_drops
: true
#
#Commands that should be disabled during the AutoJumpAndRun. Write empty '' to disable, write '*' for all commands. Can be ignored with the 'autojumpandrun.ignore.disabledcommands' permission.
disabled_commands
:
- 'gamemode'
- 'fly'
#
#The message that will be shown if a command is blocked. Can be disabled when set to 'null'.
disabled_commands_message
: '&cThis command is disabled while being in a Jump and Run!'
Code (YAML):
#If you use PlaceholderAPI, you can use it's placeholders for the commands and messages.
#
#Placeholders, that are also avaliable without PlaceholderAPI:
# %player% - Will be replaced with the player's name
# %prefix% - Will be replaced with the prefix from the config.yml
#
#Enables the following configuration for rewards.
enabled
: false
rewards
:
  #The following reward is activated when a player fails a jump and falls
  fall
:
    reward
:
      #List of commands that will be executed when the player falls. Just write empty '' to disable commands.
      commands
:
       - ''      
      #List of messages that will be shown when the player falls. Just write empty '' to disable messages.
      messages
:
       - ' %prefix% &7You failed :('
  #Number of successfull jumps to activate the reward.
  10
:
    #Allows the reward to be activated only at the first time.
    one_time
: true
    #If disabled, the commands will be executed directly. If enabled, the commands will be executed when the player falls
    execute_commands_on_fall
: false
    #If disabled, the messages will be send directly. If enabled, the messages will be send when the player falls
    execute_messages_on_fall
: false
    reward
:
      #List of commands that will be executed when the reward is activated. Just write empty '' to disable commands.
      commands
:
       - 'give %player% minecraft:diamond 5'
      #List of messages that will be shown when the reward is activated. Just write empty '' to disable messages.
      messages
:
       - ' %prefix% &dHere is your reward for reaching 10 blocks for the first time'
  #You can add as many rewards as you want with the mentioned scheme underneath.
  25
:
    one_time
: false
    execute_commands_on_fall
: true
    execute_messages_on_fall
: true
    reward
:
      commands
:
       - 'give %player% minecraft:diamond 5'
      messages
:
       - ' %prefix% &dHere is your reward for reaching 25 blocks'
Code (YAML):
#Use MySQL to save the statistics? Otherwise the stats will be saved to 'stats.db' inside the AutoJumpAndRun folder.
use_mysql
: false
#
#Connection details for MySQL. Only required if 'use_mysql' is activated.
host
: localhost
port
: 3306
database
: database
username
: user
password
: password
#
#The name of the table inside the MySQL-database. Only required if 'use_mysql' is activated.
table_name
: ajar_stats
#
#
#For the following '/ajar stats'-commands you can use these placeholders: (If you use PlaceholderAPI, you can use it's placeholders too.)
# %prefix%   - Will be replaced with the prefix from the config.yml
# %player%   - Will be replaced with the player's name
# %rank%     - Will be replaced with the player's rank
# %record%   - Will be replaced with the player's record
# %attempts% - Will be replaced with the player's number of attempts
# %uuid%     - Will be replaced with the player's uuid
#
#The message that will be sent when a player types '/ajar stats'.
own_statistic
:
- ' %prefix% &7Your stats:'
- '&7➜ Rank
: &d%rank%'
- '&7➜ Record
: &d%record%'
- '&7➜ Attempts
: &d%attempts%'
#
#The message that will be sent when a player types '/ajar stats [player]'.
other_statistic
:
- ' %prefix% &7Stats from &e%player%:'
- '&7➜ Rank
: &d%rank%'
- '&7➜ Record
: &d%record%'
- '&7➜ Attempts
: &d%attempts%'
#
#The message that will be sent when a player types '/ajar stats #[rank]'.
rank_statistic
:
- ' %prefix% &7Stats from &e%player%:'
- '&7➜ Rank
: &d%rank%'
- '&7➜ Record
: &d%record%'
- '&7➜ Attempts
: &d%attempts%'
#
#
#The message that will be sent when there is no statistic existing for a player.
player_no_statistic
: '&cThis player didn''t tried the Jump And Run yet.'
#
#The message that will be sent when the player typed an unvalid rank.
unvalid_rank
: '&cThis rank does not exist!'
#
#This message shows the usage for the '/ajar stats' command.
usage_stats_own
: '&7/ajar stats &e- Show your own stats'
#
#This message shows the usage for the '/ajar stats [player]' command.
usage_stats_other
: '&7/ajar stats [player ] &e- Show the stats for a specific player'
#
#This message shows the usage for the '/ajar stats #[rank]' command.
usage_stats_rank
: '&7/ajar stats #[rank] &e- Show the stats for a specific rank'

Commands
/ajar setspawn - Set the spawnlocation ( autojumpandrun.setspawn)
/ajar reload - Reloads the config ( autojumpandrun.reload)
/ajar join/start- Start a AutoJumpAndRun from your current position ( autojumpandrun.start)

The permission ' autojumpandrun.*' and OP allows you to perform all commands.

Installation
1. Download the AutoJumpAndRun.jar
2. Put it in your 'plugins' folder
3. Restart or reload the server ('/reload')
4. Done!

Questions / Bugs / Proposals

If you have any questions, issues or proposals feel free to send me a private message on spigot.
Resource Information
Author:
----------
Total Downloads: 989
First Release: Mar 28, 2017
Last Update: Mar 28, 2025
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings