Add ranksgui to new locales

This commit is contained in:
okx-code
2020-11-24 23:32:13 +00:00
parent 5e7d218de4
commit 935a3fc135
2 changed files with 138 additions and 103 deletions
+120 -103
View File
@@ -1,104 +1,121 @@
# the messages in this section can be customised for each rankup in rankups.yml.
rankup:
requirements-not-met: "&cNo satisfaces los requisitos para seguir al siguiente rango."
no-rankup: "&eEstas en el último rango."
# set to an empty string, ie: success-public: ""
# to hide that message.
success-public: "&a{PLAYER} &eha subido de rango a: &d{RANK}"
success-private: ""
# used for the text confirmation
confirmation: |-
&eEstas seguro de que quires subir de rango a &a{RANK}&e?
&eEscribe /rankup para confirmar.
# used for the GUI confirmation
title: "Subir de rango a {RANK}"
must-prestige: "&cTienes que prestigiar para seguir subiendo de rango!"
gui:
rows: 1
title: "Subir de rango a {RANK}"
rankup:
material: EMERALD_BLOCK
# index can be separated by spaces to show in multiple groups
# for example: 0-3 9-12 18-21
# you can also just use a single number instead of a range.
index: 0-3
name: '&a&lConfirmar'
# lore is optional
lore: '&6Subir de rango a {RANK}'
cancel:
material: REDSTONE_BLOCK
index: 5-8
name: '&c&lCancelar'
fill:
name: ' '
# if you are using a 1.8-1.12 and you want to change this
# you can use MATERIAL:data, for example STAINED_GLASS_PANE:8
# this works for both the rankup and cancel blocks as well
material: BLACK_STAINED_GLASS_PANE
# you can (and probably should) you override these in rankups.yml
# to show the specific requirements for each rank.
# however if you are just using money or don't need to change the message per rank, you can use any combination of:
# {MONEY} {MONEY_NEEDED} {PERCENT_DONE <requirement>} {PERCENT_LEFT <requirement>} {AMOUNT <requirement>} {AMOUNT_NEEDED <requirement>}
# {MONEY} and {MONEY_NEEDED} are different from {AMOUNT money} and {AMOUNT_NEEDED money} in that they use a different format.
# here is an example of showing the requirements for just money:
#list:
# complete: "&7{OLD_RANK} &8\xbb &7{RANK} &efor &7${MONEY}"
# current: "&c{OLD_RANK} &e\xbb &c{RANK} &efor &a${MONEY} &e{PERCENT_DONE money}%"
# incomplete: "&r{OLD_RANK} &e\xbb &r{RANK} &efor &a${MONEY}"
list:
complete: "&7{OLD_RANK} &8\xbb &7{RANK}"
current: "&c{OLD_RANK} &e\xbb &c{RANK}"
incomplete: "&r{OLD_RANK} &e\xbb &r{RANK}"
# an empty string disables the header/footer
header: ""
footer: ""
# sent when a player tries to rankup when they are on cooldown
cooldown:
singular: "&cTienes que esperar {SECONDS_LEFT} segundo más para subir de rango otra vez."
plural: "&cTienes que esperar {SECONDS_LEFT} segundos más para subir de rango otra vez."
# prestige messages can also be customised
prestige:
requirements-not-met: "&cNecesitas {MONEY} más plata para prestigiar."
no-prestige: "&eYa estás en el prestigio más alto."
success-public: "&a{PLAYER} &eha prestigiado a: &d{RANK}"
success-private: ""
confirmation: |-
&eEstás seguro de que quieres prestigiar a &a{RANK}&e?
&eEscribe &c/prestige &otra vez para confirmar.
gui:
title: "Prestigiar a {RANK}"
rankup:
material: GOLD_BLOCK
index: 0-3
name: '&a&lConfirmar'
lore: '&6Prestigiar a &b{RANK}'
cancel:
material: REDSTONE_BLOCK
index: 5-8
name: '&c&lCancelar'
fill:
name: ' '
# if you are using a 1.8-1.12 and you want to change this
# you can use MATERIAL:data, for example STAINED_GLASS_PANE:8
# this works for both the rankup and cancel blocks as well
material: BLACK_STAINED_GLASS_PANE
list:
complete: "&7{OLD_RANK} &8\xbb &7{RANK}"
current: "&c{OLD_RANK} &e\xbb &c{RANK}"
incomplete: "&r{OLD_RANK} &e\xbb &r{RANK}"
header: ""
footer: ""
cooldown:
singular: "&cTienes que esperar {SECONDS_LEFT} segundo más para prestigiar otra vez."
plural: "&cTienes que esperar {SECONDS_LEFT} segundos más para prestigiar otra vez."
not-high-enough: "&cNo puedes prestigiar a tu rango!"
not-in-ladder: "&cPerdón, pero no hemos podido encontrar rangos en los grupos que perteneces. Usa /ranks para ver los rangos."
# the messages in this section can be customised for each rankup in rankups.yml.
rankup:
requirements-not-met: "&cNo satisfaces los requisitos para seguir al siguiente rango."
no-rankup: "&eEstas en el último rango."
# set to an empty string, ie: success-public: ""
# to hide that message.
success-public: "&a{PLAYER} &eha subido de rango a: &d{RANK}"
success-private: ""
# used for the text confirmation
confirmation: |-
&eEstas seguro de que quires subir de rango a &a{RANK}&e?
&eEscribe /rankup para confirmar.
# used for the GUI confirmation
title: "Subir de rango a {RANK}"
must-prestige: "&cTienes que prestigiar para seguir subiendo de rango!"
gui:
rows: 1
title: "Subir de rango a {RANK}"
rankup:
material: EMERALD_BLOCK
# index can be separated by spaces to show in multiple groups
# for example: 0-3 9-12 18-21
# you can also just use a single number instead of a range.
index: 0-3
name: '&a&lConfirmar'
# lore is optional
lore: '&6Subir de rango a {RANK}'
cancel:
material: REDSTONE_BLOCK
index: 5-8
name: '&c&lCancelar'
fill:
name: ' '
# if you are using a 1.8-1.12 and you want to change this
# you can use MATERIAL:data, for example STAINED_GLASS_PANE:8
# this works for both the rankup and cancel blocks as well
material: BLACK_STAINED_GLASS_PANE
ranksgui:
title: "Ranks"
rows: 3
offset: 10
width: 7
complete:
material: GREEN_STAINED_GLASS_PANE
name: "&aRank &7{RANK} &a(completed)"
current:
material: ORANGE_STAINED_GLASS_PANE
name: "&dRankup to &7{RANK}"
incomplete:
material: RED_STAINED_GLASS_PANE
name: "&cRank &7{RANK} &c(requires rankup)"
fill:
material: BLACK_STAINED_GLASS_PANE
name: ' '
# you can (and probably should) you override these in rankups.yml
# to show the specific requirements for each rank.
# however if you are just using money or don't need to change the message per rank, you can use any combination of:
# {MONEY} {MONEY_NEEDED} {PERCENT_DONE <requirement>} {PERCENT_LEFT <requirement>} {AMOUNT <requirement>} {AMOUNT_NEEDED <requirement>}
# {MONEY} and {MONEY_NEEDED} are different from {AMOUNT money} and {AMOUNT_NEEDED money} in that they use a different format.
# here is an example of showing the requirements for just money:
#list:
# complete: "&7{OLD_RANK} &8\xbb &7{RANK} &efor &7${MONEY}"
# current: "&c{OLD_RANK} &e\xbb &c{RANK} &efor &a${MONEY} &e{PERCENT_DONE money}%"
# incomplete: "&r{OLD_RANK} &e\xbb &r{RANK} &efor &a${MONEY}"
list:
complete: "&7{OLD_RANK} &8\xbb &7{RANK}"
current: "&c{OLD_RANK} &e\xbb &c{RANK}"
incomplete: "&r{OLD_RANK} &e\xbb &r{RANK}"
# an empty string disables the header/footer
header: ""
footer: ""
# sent when a player tries to rankup when they are on cooldown
cooldown:
singular: "&cTienes que esperar {SECONDS_LEFT} segundo más para subir de rango otra vez."
plural: "&cTienes que esperar {SECONDS_LEFT} segundos más para subir de rango otra vez."
# prestige messages can also be customised
prestige:
requirements-not-met: "&cNecesitas {MONEY} más plata para prestigiar."
no-prestige: "&eYa estás en el prestigio más alto."
success-public: "&a{PLAYER} &eha prestigiado a: &d{RANK}"
success-private: ""
confirmation: |-
&eEstás seguro de que quieres prestigiar a &a{RANK}&e?
&eEscribe &c/prestige &otra vez para confirmar.
gui:
title: "Prestigiar a {RANK}"
rankup:
material: GOLD_BLOCK
index: 0-3
name: '&a&lConfirmar'
lore: '&6Prestigiar a &b{RANK}'
cancel:
material: REDSTONE_BLOCK
index: 5-8
name: '&c&lCancelar'
fill:
name: ' '
# if you are using a 1.8-1.12 and you want to change this
# you can use MATERIAL:data, for example STAINED_GLASS_PANE:8
# this works for both the rankup and cancel blocks as well
material: BLACK_STAINED_GLASS_PANE
list:
complete: "&7{OLD_RANK} &8\xbb &7{RANK}"
current: "&c{OLD_RANK} &e\xbb &c{RANK}"
incomplete: "&r{OLD_RANK} &e\xbb &r{RANK}"
header: ""
footer: ""
cooldown:
singular: "&cTienes que esperar {SECONDS_LEFT} segundo más para prestigiar otra vez."
plural: "&cTienes que esperar {SECONDS_LEFT} segundos más para prestigiar otra vez."
not-high-enough: "&cNo puedes prestigiar a tu rango!"
not-in-ladder: "&cPerdón, pero no hemos podido encontrar rangos en los grupos que perteneces. Usa /ranks para ver los rangos."
invalid-rankup: "&cInvalid rankup defined in config, please check console. &cRango invalido definido en la configuración, verifica que todo esta correcto y chequea la consola."
+18
View File
@@ -36,6 +36,24 @@ rankup:
# funziona per i bloccchi rankup e cancel
material: BLACK_STAINED_GLASS_PANE
ranksgui:
title: "Ranks"
rows: 3
offset: 10
width: 7
complete:
material: GREEN_STAINED_GLASS_PANE
name: "&aRank &7{RANK} &a(completed)"
current:
material: ORANGE_STAINED_GLASS_PANE
name: "&dRankup to &7{RANK}"
incomplete:
material: RED_STAINED_GLASS_PANE
name: "&cRank &7{RANK} &c(requires rankup)"
fill:
material: BLACK_STAINED_GLASS_PANE
name: ' '
# potresti e dovresti configurare questi in rankup.yml
# per visualizzare i requisiti di ogni rank
# ma se stai usando solo i soldi e non ti serve modificare il mesaggio puoi usapre questi