Skip to content

Commit 4e30374

Browse files
author
flurbudurbur
committed
A more enjoyable en.yml.
1 parent f04e6d0 commit 4e30374

1 file changed

Lines changed: 46 additions & 36 deletions

File tree

  • src/main/resources/locale

src/main/resources/locale/en.yml

Lines changed: 46 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,49 @@
1-
# the messages in this section can be customised for each rankup in rankups.yml.
1+
# The messages in this section can be customised for each rankup in rankups.yml.
22
rankup:
33
requirements-not-met: "&cYou need {{rank.requirement('money').total | money}} money to rankup."
4-
no-rankup: "&eYou are at the highest rank."
5-
# set to an empty string, ie: success-public: ""
4+
5+
# Set to an empty string, ie: success-public: ""
66
# to hide that message.
77
success-public: "&a{{player}} &ehas ranked up to: &d{{next.rank}}"
88
success-private: "&aYou have ranked up to: &d{{next.rank}}"
9+
10+
must-prestige: "&cYou must prestige to /rankup further!"
11+
no-rankup: "&eYou are at the highest rank."
12+
913
# used for the text confirmation
1014
confirmation: |-
1115
&eAre you sure you want to rankup to &a{{next.rank}}&e?
1216
&eType &c/rankup &eagain to confirm.
13-
must-prestige: "&cYou must prestige to /rankup further!"
1417
1518
gui:
1619
rows: 1
1720
title: "Rankup to {{next.rank}}"
1821
rankup:
19-
material: EMERALD_BLOCK
20-
# index can be separated by spaces to show in multiple groups
21-
# for example: 0-3 9-12 18-21
22-
# you can also just use a single number instead of a range.
22+
23+
# ===[ IMPORTANT PRE-FLATTENING INFO ]===
24+
# If you are using a 1.8-1.12 and you want to change this
25+
# you can use MATERIAL:data, for example STAINED_GLASS_PANE:8
26+
# this works for both the rankup, cancel and fill blocks as well.
27+
28+
material: GREEN_STAINED_GLASS_PANE
29+
30+
# Index can be separated by spaces to show in multiple groups.
31+
# -> For example: 0-3 9-12 18-21
32+
# But the "rows" must have enough space.
33+
# You can also just use a single number instead of a range.
34+
2335
index: 0-3
24-
name: '&a&lConfirm'
25-
# lore is optional
26-
lore: '&6Rankup to &b{{next.rank}}'
36+
name: "&a&lConfirm"
37+
38+
# Lore is optional
39+
lore: "&6Rankup to &b{{next.rank}}"
2740
cancel:
28-
material: REDSTONE_BLOCK
41+
material: RED_STAINED_GLASS_PANE
2942
index: 5-8
30-
name: '&c&lCancel'
43+
name: "&c&lCancel"
44+
lore: "&4Stay at &c{{rank.rank}}"
3145
fill:
3246
name: ' '
33-
# if you are using a 1.8-1.12 and you want to change this
34-
# you can use MATERIAL:data, for example STAINED_GLASS_PANE:8
35-
# this works for both the rankup and cancel blocks as well
3647
material: BLACK_STAINED_GLASS_PANE
3748

3849
ranksgui:
@@ -42,39 +53,34 @@ rankup:
4253
width: 7
4354
complete:
4455
material: GREEN_STAINED_GLASS_PANE
45-
name: "&aRank &7{{next.rank}} &a(completed)"
56+
name: "&aRank &7{{next.rank}}"
57+
# Lore is optional.
58+
lore: "&aCompleted"
4659
current:
4760
material: ORANGE_STAINED_GLASS_PANE
4861
name: "&dRankup to &7{{next.rank}}"
62+
lore: "&cClick me to /rankup!"
4963
incomplete:
5064
material: RED_STAINED_GLASS_PANE
51-
name: "&cRank &7{{next.rank}} &c(requires rankup)"
65+
name: "&cRank &7{{next.rank}}"
66+
lore: "&cRequires rankup"
5267
fill:
5368
material: BLACK_STAINED_GLASS_PANE
5469
name: ' '
5570

56-
57-
# you can (and probably should) you override these in rankups.yml
58-
# to show the specific requirements for each rank.
59-
# however if you are just using money or don't need to change the message per rank, you can use any combination of:
60-
# {{rank.requirement('money').total | simple}} {MONEY_NEEDED} {PERCENT_DONE <requirement>} {PERCENT_LEFT <requirement>} {AMOUNT <requirement>} {AMOUNT_NEEDED <requirement>}
61-
# {{rank.requirement('money').total | simple}} and {MONEY_NEEDED} are different from {AMOUNT money} and {AMOUNT_NEEDED money} in that they use a different format.
62-
# here is an example of showing the requirements for just money:
63-
#list:
64-
# complete: "&7{{rank.rank}} &8\xbb &7{{next.rank}} &efor &7${{rank.requirement('money').total | simple}}"
65-
# current: "&c{{rank.rank}} &e\xbb &c{{next.rank}} &efor &a${{rank.requirement('money').total | simple}} &e{PERCENT_DONE money}%"
66-
# incomplete: "&r{{rank.rank}} &e\xbb &r{{next.rank}} &efor &a${{rank.requirement('money').total | simple}}"
6771
list:
6872
complete: "&7{{rank.rank}} &8\xbb &7{{next.rank}}"
6973
current: "&c{{rank.rank}} &e\xbb &c{{next.rank}}"
7074
incomplete: "&r{{rank.rank}} &e\xbb &r{{next.rank}}"
71-
# an empty string disables the header/footer
75+
# An empty string disables the header/footer.
7276
header: ""
7377
footer: ""
74-
# sent when a player tries to rankup when they are on cooldown
78+
79+
# Sent when a player tries to rankup when they are on cooldown
7580
cooldown:
7681
singular: "&cYou must wait {{seconds_left}} more second to rankup again."
7782
plural: "&cYou must wait {{seconds_left}} more seconds to rankup again."
83+
7884
# prestige messages can also be customised
7985
prestige:
8086
requirements-not-met: "&cYou need {{rank.requirement('money').total | money}} money to prestige."
@@ -89,20 +95,23 @@ prestige:
8995
9096
gui:
9197
title: "Prestige to {{next.rank}}"
98+
99+
# ===[ IMPORTANT PRE-FLATTENING INFO ]===
100+
# If you are using a 1.8-1.12 and you want to change this
101+
# you can use MATERIAL:data, for example STAINED_GLASS_PANE:8
102+
# this works for both the rankup, cancel and fill blocks as well.
103+
92104
rankup:
93-
material: GOLD_BLOCK
105+
material: BLUE_STAINED_GLASS_PANE
94106
index: 0-3
95107
name: '&a&lConfirm'
96108
lore: '&6Prestige to &b{{next.rank}}'
97109
cancel:
98-
material: REDSTONE_BLOCK
110+
material: RED_STAINED_GLASS_PANE
99111
index: 5-8
100112
name: '&c&lCancel'
101113
fill:
102114
name: ' '
103-
# if you are using a 1.8-1.12 and you want to change this
104-
# you can use MATERIAL:data, for example STAINED_GLASS_PANE:8
105-
# this works for both the rankup and cancel blocks as well
106115
material: BLACK_STAINED_GLASS_PANE
107116

108117
list:
@@ -115,5 +124,6 @@ prestige:
115124
singular: "&cYou must wait {{seconds_left}} second to prestige again."
116125
plural: "&cYou must wait {{seconds_left}} more seconds to prestige again."
117126

127+
# Other strings
118128
not-high-enough: "&cYou cannot prestige at your rank!"
119129
not-in-ladder: "&cSorry, but we could not find any rankups for the group(s) you are in. Use /ranks to list the rankups."

0 commit comments

Comments
 (0)