mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 06:28:49 +00:00
Database design, start callback-based implementation planning
This commit is contained in:
1 parent
0446db39c5
commit
8e7d5e74a0
17 files changed
+672
-92
No files matched your search
@@ -1,7 +1,9 @@
|
||||
package net.william278.huskhomes.player;
|
||||
|
||||
import de.themoep.minedown.MineDown;
|
||||
import net.william278.huskhomes.position.Location;
|
||||
import net.william278.huskhomes.position.Position;
|
||||
import net.william278.huskhomes.teleport.TeleportResult;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.UUID;
|
||||
@@ -48,6 +50,13 @@ public interface Player {
|
||||
*/
|
||||
void sendMessage(@NotNull MineDown mineDown);
|
||||
|
||||
/**
|
||||
* Teleport a player to the specified {@link Location}
|
||||
*
|
||||
* @param location the {@link Location} to teleport the player to
|
||||
*/
|
||||
CompletableFuture<TeleportResult> teleport(Location location);
|
||||
|
||||
/**
|
||||
* Returns the maximum number of homes this player can set
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user