Dynamic Void Fall [1.8.X & 1.9-1.10]
3Void to spawn teleportation, Supports multi world, 3 Teleport modes, Join Teleport, Commands + API
Author: DynamicJk
Tested By: Victhetiger

This plugin will teleport players when they fall into the void, it can also be set to teleport players to spawn on join. The spawn can be set to only work in one world, or work in multiple worlds. There is also a command that teleports you to spawn, that can be disabled. But if you like to use the command it lets you set a time before teleportation in the config(This does have a you may not move option), It also has a bypass permission that can be changed to anything you would like. Everything in this plugin can be changed inside the config file. But if that’s not enough there is also an API that will allow you to open more to the plugin.


- Multi world (Can be disabled from other worlds)
- Join teleportation
- /spawn command (disposable)
- /spawn wait timer (Can be changed)
- Particles
- Y can be changed
- messages can be changed along with permissions
- Integrated API
- Can have 1 universal spawn
- Can have per world void spawn teleports
- Supports Multiverse Core and many more!
- Messages can be added with API, No messages are played when a player falls into the void, but if you wish you could add the feature in, however messages are played when using the commands.


Specials Tags:
%time% - Converts the ticks into seconds.
%player% - Returns the players name.
%new_line% - Gives you a new line to add next to in the messages.
All of these allows you to display them in the messages by simply adding %time%, %new_line% or %player% in the message (Look at example config for more details)
Config.yml
#Set the time a player will be teleported when a player types /spawn
#Ticks 20 ticks = 1 second
Time: 60
#This permission allows for players to not wait the amount of time above
permission: 'atomps.vip'
#Disable the command /spawn if you do not need it
use-command: true
#Enable teleport to spawn on join
Join-Teleport: false
#Enable a particle played when a player joins
Join-Particle: true
#Enable and edit the void fall settings
Void-Fall:
#Enable teleport on hit void
Enabled: true
#Change the Y coordinate they will be teleported at
Y-Cord: 10
#Only function on one world
one-world: false
#Each world can have their own void to spawnpoint
multi-world: true
#1 Universal Spawnpoint for all worlds
all-to-one-world: false
Message:
Teleporting: '&cTeleporting you to spawn in %time%'
alreadyTeleporting: '&aAlready Teleporting you to spawn in %time%...'
teleportCancelled: '&4Your Teleportation has been cancelled'Example Config
Time: 40
permission: 'dev.tp'
use-command: true
Join-Teleport: false
Join-Particle: true
Void-Fall:
Enabled: true
Y-Cord: 5
one-world: true
multi-world: false
all-to-one-world: false
Message:
Teleporting: '&7> &3Teleporting you to spawn in &f%time% seconds &4%new_line% Do not move or teleportation will be cancelled.'
alreadyTeleporting: '&7> &3%player%, &cyou are already Teleporting you to spawn in %time% seconds...'
teleportCancelled: '&7> &4Your Teleportation has been cancelled'
/void setspawn
/void reload
/ spawn - Permission can be changed and command can be disabled in config.yml


Coming soon


Please note that this API was only added for learning purposes.
Examples
Examples:
VoidFallAPI api = new VoidFallAPI();
Methods available in that class
api.getSpawnLocation(); - Gives you the spawnpoint for the void teleportation
api.getVoidYCord(); - Gives you the Y coordinate for being teleported
Events:
@EventHandler
public void onTeleport(PlayerTeleportOnVoidEvent e) {
Player p = e.getPlayer();
p.sendMessage("You have been teleported to spawn");
//p.teleport(e.getSpawnLocation()); Example
}
@EventHandler
public void voidHit(PlayerHitVoidEvent e){
Player p = e.getPlayer();
p.sendMessage("You have fallen");
//p.teleport(e.getSpawnLocation()); Example
}
Please note that these are just examples, They do not show everything that you could do.
EXAMPLE USING DYNAMICPARKOUR V2 API
@EventHandler
public void onTeleport(PlayerTeleportOnVoidEvent e){
DynamicParkourAPI api = new DynamicParkourAPI();
Player p = e.getPlayer();
if(api.playerIsinGame(p)){
api.sendtoCheckpoint(p);
p.sendMessage(ChatColor.RED + "Teleporting back to your last checkpoint.");
}
}Change-Log
Change-Log for Snapshot 2.0.4
- Message updates
- Name change
- New config
- Multi world support (Multiverse core, any other world manager plugin)
- One universal spawn support
- Per world void spawn
Change-Log for 2.0.3
- Message updates
- API Integration
Change-Log for 2.0.2
- Re-colorization of messagesTodo-Log
Todo-Log for Snapshot 2.0.5
- Message updates
- Adding titles
- Code clean up
REQUIRES JAVA 8
Click to download previous versions
Copyright © DynamicJk 2015 All rights reserved.
REVIEW SECTION IS ONLY FOR REVIEWS, NO BUG REPORTS OR ERRORS
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta