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