-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathLocaleMessage.java
More file actions
40 lines (35 loc) · 1.95 KB
/
LocaleMessage.java
File metadata and controls
40 lines (35 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package simplexity.simpleback.config;
public enum LocaleMessage {
TELEPORT_PLEASE_WAIT("message.teleport-delay", "<green>Teleporting! Please wait <value> seconds!</green>"),
TELEPORT_SUCCESSFUL("message.teleport-successful", "<green>Successfully teleported to <x-loc>, <y-loc>, <z-loc> in <world>!"),
TELEPORT_CANCELLED("message.teleport-cancelled", "<red>Teleport Cancelled</red>"),
INSERT_X_LOC("insert.x-location", "<yellow><value>x</yellow>"),
INSERT_Y_LOC("insert.y-location", "<yellow><value>y</yellow>"),
INSERT_Z_LOC("insert.z-location", "<yellow><value>z</yellow>"),
INSERT_WORLD("insert.world", "<yellow><value></yellow>"),
INSERT_HOUR("insert.hour", "<yellow><hour>H </yellow>"),
INSERT_MINUTE("insert.minute", "<yellow><minute>m </yellow>"),
INSERT_SECOND("insert.second", "<yellow><second>s</yellow>"),
ERROR_MUST_BE_PLAYER("error.must-be-player", "<red>Sorry, you must be a player to run this command!</red>"),
ERROR_MUST_PROVIDE_PLAYER("error.must-provide-player", "<red>You must provide a valid player for this command!</red>"),
ERROR_PLAYER_INVALID("error.player-invalid", "<red>Player not found</red>"),
ERROR_NO_BACK_LOCATIONS("error.no-back-locations", "<gray>No back locations found!</gray>"),
ERROR_COOLDOWN("error.command-cooldown", "<gray>Sorry, that command is on cooldown for: [<hour><minute><second>]!</gray>"),
ERROR_BLACKLISTED_WORLD("error.blacklisted-world", "<red>Sorry, the world you are trying to return to is blacklisted!</red>"),
PLUGIN_RELOADED("plugin.reloaded", "<gold>SimpleBack plugin reloaded</gold>");
private final String path;
private String message;
LocaleMessage(String path, String message) {
this.path = path;
this.message = message;
}
public String getPath() {
return path;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
}