2024-04-21 21:26:16 +02:00
|
|
|
package net.knarcraft.placeholdersigns.config;
|
|
|
|
|
|
|
|
import net.knarcraft.knarlib.formatting.TranslatableMessage;
|
|
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Translatable plugin messages
|
|
|
|
*/
|
|
|
|
public enum PlaceholderSignMessage implements TranslatableMessage {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The message to display when waiting for a sign selection (edit)
|
|
|
|
*/
|
|
|
|
SUCCESS_CLICK_SIGN_TO_EDIT,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The message to display when waiting for a sign selection (view)
|
|
|
|
*/
|
|
|
|
SUCCESS_CLICK_SIGN_TO_VIEW,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The message displayed when a player tries to edit a waxed sign without the necessary permission
|
|
|
|
*/
|
|
|
|
ERROR_WAXED_NO_PERMISSION,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The message displayed when a sign line has been successfully changed
|
|
|
|
*/
|
|
|
|
SUCCESS_SIGN_CHANGED,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The format used when printing current sign lines
|
|
|
|
*/
|
|
|
|
SUCCESS_SIGN_CONTENTS,
|
|
|
|
|
|
|
|
/**
|
2024-04-22 02:26:08 +02:00
|
|
|
* The string displayed when a sign property is confirmed
|
2024-04-21 21:26:16 +02:00
|
|
|
*/
|
2024-04-22 02:26:08 +02:00
|
|
|
SIGN_PROPERTY_CONFIRM,
|
2024-04-21 21:26:16 +02:00
|
|
|
|
|
|
|
/**
|
2024-04-22 02:26:08 +02:00
|
|
|
* The string displayed when a sign property is denied
|
2024-04-21 21:26:16 +02:00
|
|
|
*/
|
2024-04-22 02:26:08 +02:00
|
|
|
SIGN_PROPERTY_DENY,
|
2024-04-21 21:26:16 +02:00
|
|
|
;
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public @NotNull TranslatableMessage[] getAllMessages() {
|
|
|
|
return PlaceholderSignMessage.values();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|