mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
build: Release 6.4.0
This commit is contained in:
parent
7c290e6bd0
commit
ac71046feb
@ -451,7 +451,7 @@ public class ExpireManager {
|
|||||||
plot.getPlotModificationManager().deletePlot(null, whenDone);
|
plot.getPlotModificationManager().deletePlot(null, whenDone);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "6.4.0")
|
||||||
public long getAge(UUID uuid) {
|
public long getAge(UUID uuid) {
|
||||||
return getAge(uuid, false);
|
return getAge(uuid, false);
|
||||||
}
|
}
|
||||||
@ -462,7 +462,7 @@ public class ExpireManager {
|
|||||||
* @param uuid the uuid of the owner to check against
|
* @param uuid the uuid of the owner to check against
|
||||||
* @param shouldDeleteUnknownOwner {@code true} if an unknown player should be counted as never online
|
* @param shouldDeleteUnknownOwner {@code true} if an unknown player should be counted as never online
|
||||||
* @return the millis since the player was last online, or {@link Long#MAX_VALUE} if player was never online
|
* @return the millis since the player was last online, or {@link Long#MAX_VALUE} if player was never online
|
||||||
* @since TODO
|
* @since 6.4.0
|
||||||
*/
|
*/
|
||||||
public long getAge(UUID uuid, final boolean shouldDeleteUnknownOwner) {
|
public long getAge(UUID uuid, final boolean shouldDeleteUnknownOwner) {
|
||||||
if (PlotSquared.platform().playerManager().getPlayerIfExists(uuid) != null) {
|
if (PlotSquared.platform().playerManager().getPlayerIfExists(uuid) != null) {
|
||||||
|
@ -160,7 +160,7 @@ public class ExpiryTask {
|
|||||||
/**
|
/**
|
||||||
* Returns {@code true} if this task respects unknown owners
|
* Returns {@code true} if this task respects unknown owners
|
||||||
* @return {@code true} if unknown owners should be counted as never online
|
* @return {@code true} if unknown owners should be counted as never online
|
||||||
* @since TODO
|
* @since 6.4.0
|
||||||
*/
|
*/
|
||||||
public boolean shouldDeleteForUnknownOwner() {
|
public boolean shouldDeleteForUnknownOwner() {
|
||||||
return settings.DELETE_IF_OWNER_IS_UNKNOWN;
|
return settings.DELETE_IF_OWNER_IS_UNKNOWN;
|
||||||
|
@ -166,7 +166,7 @@ public abstract class PlayerManager<P extends PlotPlayer<? extends T>, T> {
|
|||||||
* @return The player's name, None, Everyone or Unknown
|
* @return The player's name, None, Everyone or Unknown
|
||||||
* @deprecated Use {@link #resolveName(UUID)}
|
* @deprecated Use {@link #resolveName(UUID)}
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "6.4.0")
|
||||||
public static @NonNull String getName(final @Nullable UUID owner) {
|
public static @NonNull String getName(final @Nullable UUID owner) {
|
||||||
return getName(owner, true);
|
return getName(owner, true);
|
||||||
}
|
}
|
||||||
@ -179,7 +179,7 @@ public abstract class PlayerManager<P extends PlotPlayer<? extends T>, T> {
|
|||||||
* @return The player's name, None, Everyone or Unknown
|
* @return The player's name, None, Everyone or Unknown
|
||||||
* @deprecated Use {@link #resolveName(UUID, boolean)}
|
* @deprecated Use {@link #resolveName(UUID, boolean)}
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "6.4.0")
|
||||||
public static @NonNull String getName(final @Nullable UUID owner, final boolean blocking) {
|
public static @NonNull String getName(final @Nullable UUID owner, final boolean blocking) {
|
||||||
if (owner == null) {
|
if (owner == null) {
|
||||||
TranslatableCaption.of("info.none");
|
TranslatableCaption.of("info.none");
|
||||||
@ -217,7 +217,7 @@ public abstract class PlayerManager<P extends PlotPlayer<? extends T>, T> {
|
|||||||
* @param owner The UUID of the owner
|
* @param owner The UUID of the owner
|
||||||
* @return A caption containing either the name, {@code None}, {@code Everyone} or {@code Unknown}
|
* @return A caption containing either the name, {@code None}, {@code Everyone} or {@code Unknown}
|
||||||
* @see #resolveName(UUID, boolean)
|
* @see #resolveName(UUID, boolean)
|
||||||
* @since TODO
|
* @since 6.4.0
|
||||||
*/
|
*/
|
||||||
public static @NonNull Caption resolveName(final @Nullable UUID owner) {
|
public static @NonNull Caption resolveName(final @Nullable UUID owner) {
|
||||||
return resolveName(owner, true);
|
return resolveName(owner, true);
|
||||||
@ -229,7 +229,7 @@ public abstract class PlayerManager<P extends PlotPlayer<? extends T>, T> {
|
|||||||
* @param owner The UUID of the owner
|
* @param owner The UUID of the owner
|
||||||
* @param blocking If the operation should block the current thread for {@link Settings.UUID#BLOCKING_TIMEOUT} milliseconds
|
* @param blocking If the operation should block the current thread for {@link Settings.UUID#BLOCKING_TIMEOUT} milliseconds
|
||||||
* @return A caption containing either the name, {@code None}, {@code Everyone} or {@code Unknown}
|
* @return A caption containing either the name, {@code None}, {@code Everyone} or {@code Unknown}
|
||||||
* @since TODO
|
* @since 6.4.0
|
||||||
*/
|
*/
|
||||||
public static @NonNull Caption resolveName(final @Nullable UUID owner, final boolean blocking) {
|
public static @NonNull Caption resolveName(final @Nullable UUID owner, final boolean blocking) {
|
||||||
if (owner == null) {
|
if (owner == null) {
|
||||||
|
@ -328,7 +328,7 @@ public class StringMan {
|
|||||||
/**
|
/**
|
||||||
* @param message an input string
|
* @param message an input string
|
||||||
* @return a list of strings
|
* @return a list of strings
|
||||||
* @since TODO
|
* @since 6.4.0
|
||||||
*
|
*
|
||||||
* <table border="1">
|
* <table border="1">
|
||||||
* <caption>Converts multiple quoted and single strings into a list of strings</caption>
|
* <caption>Converts multiple quoted and single strings into a list of strings</caption>
|
||||||
|
@ -18,7 +18,7 @@ plugins {
|
|||||||
idea
|
idea
|
||||||
}
|
}
|
||||||
|
|
||||||
version = "6.3.1-SNAPSHOT"
|
version = "6.4.0"
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
group = "com.plotsquared"
|
group = "com.plotsquared"
|
||||||
|
Loading…
Reference in New Issue
Block a user