LocationAPI
You can choose 2 LocationTypes:
GLOBAL_LOCATION
or
PLAYER_LOCATION
Global Location
Example: If you want to set an spawn, you should use "GLOBAL_LOCATION"
Code to save a global location:
LocationAPI.saveLocation(LocationType.GLOBAL_LOCATION, player, "ExampleLocationName");
Code to teleport to a global location:
LocationAPI.teleportLocation(LocationType.GLOBAL_LOCATION, player, "ExampleLocationName", "§7Example §aMessage");
Player Location
Example: If you want to set an home, you should use " PLAYER_LOCATION"
Code to save a player location:
LocationAPI.saveLocation(LocationType.PLAYER_LOCATION, player, "ExamplePlayerLocationName");
Code to teleport to a player location:
LocationAPI.teleportLocation(LocationType.PLAYER_LOCATION, player, "ExamplePlayerLocationName", "§7Example §aMessage");
Please post bugs and any suggestions into "Discussion"!
Enjoy the plugin :D
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