You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
First one is doing this but making it controllable via the config that way
if someone wanted that feature enabled it could be. Then if it is enabled
they have to type the confirm command to really jail someone who has never
been on before.
Second is command matching/suggestions. If you only provide one argument
then it suggests commands if it didn't find any.
On Jun 7, 2015 9:55 PM, "hitechwizard" notifications@github.com wrote:
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.
—
Reply to this email directly or view it on GitHub #82.
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.
The text was updated successfully, but these errors were encountered: