Sueta

LocationAPI [1.8-1.16.5]

1.2

An API for Developers to manage Locations.

·Plugin

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

LocationAPI.setLocationRound(player, "Location_1");

Set Location with Rounded Coordinates (in 0.5 steps) with a Location

LocationAPI.setLocationRound(location, "Location_1");

Set Location with a Player

LocationAPI.setLocation(player, "Location_1");

Set Location with a Location

LocationAPI.setLocation(location, "Location_1");

Teleport Player to Location

LocationAPI.teleportLocation(player, "Location_1");

Return Location

LocationAPI.getLocation("Location_1");

Return Location

LocationAPI.getLocation("Location_1");

Check if Location exists

LocationAPI.LocationExist("Location_1")

Delete Location

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

Similar projects

Plugin →