Dynamic Void Fall [1.8.X & 1.9-1.10] 3

Void to spawn teleportation, Supports multi world, 3 Teleport modes, Join Teleport, Commands + API

  1. DynamicJk
    Contributors:
    Victhetiger
    [​IMG]
    Author: DynamicJk
    Tested By: Victhetiger

    [​IMG]
    [​IMG]

    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.

    [​IMG]

    [​IMG]

    - 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.

    [​IMG]

    [​IMG]

    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)

    Code (Text):

    #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'
     
    Code (Text):
    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'
     

    [​IMG]

    [​IMG]
    /void setspawn
    /void reload
    / spawn - Permission can be changed and command can be disabled in config.yml

    [​IMG]

    [​IMG]

    Coming soon

    [​IMG]

    [​IMG]

    Please note that this API was only added for learning purposes.

    Code (Text):
    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.");

          }

    }

     

    Code (Text):

    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 messages


     

    Code (Text):
    Todo-Log for Snapshot 2.0.5
    - Message updates
    - Adding titles
    - Code clean up
    Copyright © DynamicJk 2015 All rights reserved.
    REVIEW SECTION IS ONLY FOR REVIEWS, NO BUG REPORTS OR ERRORS
    Elijah likes this.

Recent Reviews

  1. Jaykob
    Jaykob
    1/5,
    Version: 3
    I CANT Change the config, everytime i restart the server its back to Default..... WOW
  2. AdrenalineNerd
    AdrenalineNerd
    5/5,
    Version: 3
    It is very intuitive and easily customizable! Great Job! It allowed me to slow my use of barriers and other blocks and just let players have some fun in the hub! It even allowed me to set up a parkour without any fears!
  3. Daetor
    Daetor
    5/5,
    Version: 2.0.4.1
    Hey John, this is Jose :) This is actually great, been looking for something like this! Thanks man, bby
  4. Josh988
    Josh988
    5/5,
    Version: 2.0.4.1
    Very nice plugin! Did exactly what i needed it to do, stopped players from dying when they fall off the hub :P
  5. xDizasterCYx
    xDizasterCYx
    5/5,
    Version: 2.0.1
    Useful for Hubs :) :D
    1. DynamicJk
      Author's Response
      Thanks :)