Skip to content

Jail attempts to jail players that have never joined the server #82

@hitechwizard

Description

@hitechwizard

Using the /jail command, I seem to jail people like sign, etc. Before attempting to jail a player, jail should verify that the player has been on the server before.

The easiest way to check this is to use the Bukkit.OfflinePlayer.getLastPlayed(), which will return -1 if the player hasn't been on the server.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions