/
LangInterface_EN.java
178 lines (174 loc) · 5.33 KB
/
LangInterface_EN.java
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
package couk.Adamki11s.Languages;
public class LangInterface_EN {
public String getString(String s){
return parseString(s);
}
private String parseString(String s){
if(s.equalsIgnoreCase("Hello")){
return "Hello";
}
if(s.equalsIgnoreCase("[Warzone] By Adamki11s of the MineDev team.")){
return "[Warzone] By Adamki11s of the MineDev team.";
}
if(s.equalsIgnoreCase("version")){
return "version";
}
if(s.equalsIgnoreCase("enabled successfully")){
return "enabled successfully";
}
if(s.equalsIgnoreCase("Warzone disabled successfully")){
return "Warzone disabled successfully";
}
if(s.equalsIgnoreCase("Statistics reset for player : ")){
return "Statistics reset for player : ";
}
if(s.equalsIgnoreCase("This player does not exist in the warzone database!")){
return "This player does not exist in the warzone database!";
}
if(s.equalsIgnoreCase("You must provide the block id!")){
return "You must provide the block id!";
}
if(s.equalsIgnoreCase("You do not have permission to disable Warzone!")){
return "You do not have permission to disable Warzone!";
}
if(s.equalsIgnoreCase("Search cancelled successfully.")){
return "Search cancelled successfully.";
}
if(s.equalsIgnoreCase("You are not searching for a game!")){
return "You are not searching for a game!";
}
if(s.equalsIgnoreCase("Returned to previous location.")){
return "Returned to previous location.";
}
if(s.equalsIgnoreCase("No return location exists!")){
return "No return location exists!";
}
if(s.equalsIgnoreCase("has no statistics to display.")){
return "has no statistics to display.";
}
if(s.equalsIgnoreCase("You have no statistics to display!")){
return "You have no statistics to display!";
}
if(s.equalsIgnoreCase("You do not have permissions to do this!")){
return "You do not have permissions to do this!";
}
if(s.equalsIgnoreCase("Invalid Sword Type")){
return "Invalid Sword Type";
}
if(s.equalsIgnoreCase("You must be level")){
return "You must be level";
}
if(s.equalsIgnoreCase("or above to do this")){
return "or above to do this";
}
if(s.equalsIgnoreCase("Sword preference changed to")){
return "Sword preference changed to";
}
if(s.equalsIgnoreCase("Invalid Material Type!")){
return "Invalid Material Type!";
}
if(s.equalsIgnoreCase("Armour type changed to")){
return "Armour type changed to";
}
if(s.equalsIgnoreCase("sucessfully!")){
return "sucessfully!";
}
if(s.equalsIgnoreCase("to wield this armour!")){
return "to wield this armour!";
}
if(s.equalsIgnoreCase("Error : Armour type can only be")){
return "Error : Armour type can only be";
}
if(s.equalsIgnoreCase("Chill in the lobby while we find a match for you.")){
return "Chill in the lobby while we find a match for you.";
}
if(s.equalsIgnoreCase("Searching for players...")){
return "Searching for players...";
}
if(s.equalsIgnoreCase("You are already searching!")){
return "You are already searching!";
}
if(s.equalsIgnoreCase("Do &e/warzone stop search &redto cancel")){
return "Do &e/warzone stop search &redto cancel";
}
if(s.equalsIgnoreCase("No players found, request timed out.")){
return "No players found, request timed out.";
}
if(s.equalsIgnoreCase("Timeout in")){
return "Timeout in";
}
if(s.equalsIgnoreCase("match found with")){
return "match found with";
}
if(s.equalsIgnoreCase("Selecting random map...")){
return "Selecting random map...";
}
if(s.equalsIgnoreCase("All maps are occupied! Please wait.")){
return "All maps are occupied! Please wait.";
}
if(s.equalsIgnoreCase("Map Chosen")){
return "Map Chosen";
}
if(s.equalsIgnoreCase("Loading map...")){
return "Loading map...";
}
if(s.equalsIgnoreCase("Map Loaded")){
return "Map Loaded";
}
if(s.equalsIgnoreCase("Let battle commence!")){
return "Let battle commence!";
}
if(s.equalsIgnoreCase("The warzone world is not editable!")){
return "The warzone world is not editable!";
}
if(s.equalsIgnoreCase("You quit unexpectedly!")){
return "You quit unexpectedly!";
}
if(s.equalsIgnoreCase("Inventory was restored successfully.")){
return "Inventory was restored successfully.";
}
if(s.equalsIgnoreCase("You quit during a game! Returned to initial location.")){
return "You quit during a game! Returned to initial location.";
}
if(s.equalsIgnoreCase("Time Left")){//Shows on sign. make sure message is not too long
return "Time Left";
}
if(s.equalsIgnoreCase("You struckdown")){
return "You struckdown";
}
if(s.equalsIgnoreCase("You got struckdown by")){
return "You got struckdown by";
}
if(s.equalsIgnoreCase("You shot")){
return "You shot";
}
if(s.equalsIgnoreCase("You got shot by")){
return "You got shot by";
}
if(s.equalsIgnoreCase("Quit the game!")){
return "Quit the game!";
}
if(s.equalsIgnoreCase("remaining.")){
return "remaining.";
}
if(s.equalsIgnoreCase("The match was a draw!")){
return "The match was a draw!";
}
if(s.equalsIgnoreCase("You gained")){
return "You gained";
}
if(s.equalsIgnoreCase("Game over!")){
return "Game over!";
}
if(s.equalsIgnoreCase("was victorious!")){
return "was victorious!";
}
if(s.equalsIgnoreCase("won with")){
return "won with";
}
if(s.equalsIgnoreCase("kills.")){
return "kills.";
}
return "";
}
}