package de.zargornet.registerp.utils.databasequeries;

import org.bukkit.Location;

import java.util.UUID;

/**
 * Interface for database queries
 */
public interface IDatabaseQueries {
    void addAccount(UUID uuid, String password);

    void setPassword(UUID uuid, String newPassword);

    void remAccount(UUID uuid);

    String getPassword(UUID uuid);

    Location getLastPosition(UUID uuid);

    void setLastPosition(UUID uuid, Location loc);
}
