LocationAPI [1.8-1.16.5] 1.2

An API for Developers to manage Locations.

  1. Minegt
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Contributors:
    Minegt
    Information:
    This API creates a File where all Locations are saved.

    How to use:
    After you downloaded the LocationAPI import it into your project.
    Add the API as a dependency in your plugin.yml!
    To see how that works:
    Plugin.yml | SpigotMC - High Performance Minecraft

    API:


    Set Location with Rounded Coordinates (in 0.5 steps) with a Player
    Code (Text):
    LocationAPI.setLocationRound(player, "Location_1");
    Set Location with Rounded Coordinates (in 0.5 steps) with a Location
    Code (Text):
    LocationAPI.setLocationRound(location, "Location_1");
    Set Location with a Player
    Code (Text):
    LocationAPI.setLocation(player, "Location_1");
    Set Location with a Location
    Code (Text):
    LocationAPI.setLocation(location, "Location_1");
    Teleport Player to Location
    Code (Text):
    LocationAPI.teleportLocation(player, "Location_1");
    Return Location
    Code (Text):
    LocationAPI.getLocation("Location_1");
    Return Location
    Code (Text):
    LocationAPI.getLocation("Location_1");
    Check if Location exists
    Code (Text):
    LocationAPI.LocationExist("Location_1")
    Delete Location
    Code (Text):
    LocationAPI.deleteLocation("Location_1");

    Note:
    By downloading and using this API you agree to
    - NOT PUBLISHING THIS API on any other platform without permission
    - NOT DECOMPLING OR DEOBFUSCATING THIS API

    Image-Credits:
    Icons made by https://www.flaticon.com/authors/those-icons

Recent Updates

  1. Version 1.2

Recent Reviews

  1. ImIllusion
    ImIllusion
    4/5,
    Version: 1.0
    Lot of code is repeated,

    Use File.separator instead of // for better compatibility between operating systems.

    API-version on plugin.yml just removes support for older versions.
    1. Minegt
      Author's Response
      Thanks!
      I updated my plugin!