3.7 add prestige-based requirements
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2018-2020 Okx
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2018-2020 Okx
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
@@ -1,92 +1,92 @@
|
||||
# this is used for letting you know that you need to update/change your config file
|
||||
version: 6
|
||||
|
||||
# the locale to use for messages
|
||||
# all messages can be customised but this allows you to
|
||||
# choose messages that are already translated
|
||||
# locales can be found in the locale/ folder
|
||||
locale: en
|
||||
|
||||
# interval (in minutes) to check to autorankup players
|
||||
# ranking up manually wil always be enabled
|
||||
# set to 0 to disable
|
||||
autorankup-interval: 0
|
||||
|
||||
# whether /ranks and /prestiges should be enabled (true) or disabled (false)
|
||||
# /rankup3 reload will not do anything if this is changed,
|
||||
# you will have to restart your server.
|
||||
ranks: true
|
||||
# you can alternatively negate the permission rankup.prestiges
|
||||
# this will also make the command not autocomplete in 1.13
|
||||
prestiges: true
|
||||
|
||||
# whether or not /prestige and /prestiges should be enabled.
|
||||
# when a player reaches the top rank, they can do /prestige to return to the first rank,
|
||||
# but you will be able to grant them an additional "prestige" group or additional items.
|
||||
#
|
||||
# if you do not want this command to autocomplete, make sure
|
||||
# you negate the permission rankup.prestige with your permissions plugin.
|
||||
# if enabled, a prestiges.yml file will be generated with some example prestiges
|
||||
# You must restart your server when you change this for it to work!
|
||||
prestige: false
|
||||
|
||||
# if true, players with the permission rankup.notify will receive notifications when they join
|
||||
# to update if the server is on an older version of Rankup.
|
||||
notify-update: true
|
||||
|
||||
# how people should confirm ranking up
|
||||
# options are: gui, text or none
|
||||
confirmation-type: 'gui'
|
||||
|
||||
# how long, in seconds, people have to wait between a successful /rankup or /prestige
|
||||
# set to 0 to disable.
|
||||
cooldown: 1
|
||||
|
||||
# if enabled, players can run /maxrankup to rankup as many times as possible,
|
||||
# before they fail the requirements for the next rank.
|
||||
# the permission rankup.maxrankup is used for this command, but it is usually given by default.
|
||||
# note that /maxrankup, if enabled, has no confirmation.
|
||||
max-rankup:
|
||||
# You must restart your server if you enable or disable /maxrankup!
|
||||
enabled: false
|
||||
# whether to send a message for each rankup a player does
|
||||
# if set to true, the chat may be spammed for each rankup a player goes through with /maxrankup
|
||||
# if set to false, only the last rankup will be shown (if a player starts on rank A, then does
|
||||
# /maxrankup and ranks up to B and then C, it will just say "player has ranked up to C")
|
||||
individual-messages: true
|
||||
|
||||
# options when using the text rankup confirmation
|
||||
text:
|
||||
# the time in seconds for a player to
|
||||
# confirm by typing /rankup again
|
||||
timeout: 10
|
||||
|
||||
# placeholders:
|
||||
# https://github.com/okx-code/Rankup3/wiki/PAPI-Placeholders
|
||||
placeholders:
|
||||
# format for money. for more information, see
|
||||
# https://docs.oracle.com/javase/8/docs/api/java/text/DecimalFormat.html
|
||||
money-format: "#,##0.##"
|
||||
percent-format: "0.##"
|
||||
# the format used for requirements
|
||||
simple-format: "#.##"
|
||||
# used for current_rank and next_rank placeholders when a player is not in anything in rankups.yml
|
||||
not-in-ladder: "None"
|
||||
# used in the current_prestige placeholders when a player hasn't prestiged yet
|
||||
no-prestige: "None"
|
||||
# used in the next_rank and next_prestige placeholders when a player is at the highest rank or prestige
|
||||
highest-rank: "None"
|
||||
|
||||
# what to shorten money by.
|
||||
# ie 1000 -> 1k
|
||||
# set to an empty list to disable
|
||||
# for each entry here, it counts as increasing by a factor of 1,000
|
||||
# the first represents thousands (1,000) then millions (1,000,000) then billions (1,000,000,000) etc.
|
||||
shorten:
|
||||
- 'k'
|
||||
- 'M'
|
||||
- 'B'
|
||||
- 'T'
|
||||
- 'Q'
|
||||
- 'Qu'
|
||||
# this is used for letting you know that you need to update/change your config file
|
||||
version: 6
|
||||
|
||||
# the locale to use for messages
|
||||
# all messages can be customised but this allows you to
|
||||
# choose messages that are already translated
|
||||
# locales can be found in the locale/ folder
|
||||
locale: en
|
||||
|
||||
# interval (in minutes) to check to autorankup players
|
||||
# ranking up manually wil always be enabled
|
||||
# set to 0 to disable
|
||||
autorankup-interval: 0
|
||||
|
||||
# whether /ranks and /prestiges should be enabled (true) or disabled (false)
|
||||
# /rankup3 reload will not do anything if this is changed,
|
||||
# you will have to restart your server.
|
||||
ranks: true
|
||||
# you can alternatively negate the permission rankup.prestiges
|
||||
# this will also make the command not autocomplete in 1.13
|
||||
prestiges: true
|
||||
|
||||
# whether or not /prestige and /prestiges should be enabled.
|
||||
# when a player reaches the top rank, they can do /prestige to return to the first rank,
|
||||
# but you will be able to grant them an additional "prestige" group or additional items.
|
||||
#
|
||||
# if you do not want this command to autocomplete, make sure
|
||||
# you negate the permission rankup.prestige with your permissions plugin.
|
||||
# if enabled, a prestiges.yml file will be generated with some example prestiges
|
||||
# You must restart your server when you change this for it to work!
|
||||
prestige: false
|
||||
|
||||
# if true, players with the permission rankup.notify will receive notifications when they join
|
||||
# to update if the server is on an older version of Rankup.
|
||||
notify-update: true
|
||||
|
||||
# how people should confirm ranking up
|
||||
# options are: gui, text or none
|
||||
confirmation-type: 'gui'
|
||||
|
||||
# how long, in seconds, people have to wait between a successful /rankup or /prestige
|
||||
# set to 0 to disable.
|
||||
cooldown: 1
|
||||
|
||||
# if enabled, players can run /maxrankup to rankup as many times as possible,
|
||||
# before they fail the requirements for the next rank.
|
||||
# the permission rankup.maxrankup is used for this command, but it is usually given by default.
|
||||
# note that /maxrankup, if enabled, has no confirmation.
|
||||
max-rankup:
|
||||
# You must restart your server if you enable or disable /maxrankup!
|
||||
enabled: false
|
||||
# whether to send a message for each rankup a player does
|
||||
# if set to true, the chat may be spammed for each rankup a player goes through with /maxrankup
|
||||
# if set to false, only the last rankup will be shown (if a player starts on rank A, then does
|
||||
# /maxrankup and ranks up to B and then C, it will just say "player has ranked up to C")
|
||||
individual-messages: true
|
||||
|
||||
# options when using the text rankup confirmation
|
||||
text:
|
||||
# the time in seconds for a player to
|
||||
# confirm by typing /rankup again
|
||||
timeout: 10
|
||||
|
||||
# placeholders:
|
||||
# https://github.com/okx-code/Rankup3/wiki/PAPI-Placeholders
|
||||
placeholders:
|
||||
# format for money. for more information, see
|
||||
# https://docs.oracle.com/javase/8/docs/api/java/text/DecimalFormat.html
|
||||
money-format: "#,##0.##"
|
||||
percent-format: "0.##"
|
||||
# the format used for requirements
|
||||
simple-format: "#.##"
|
||||
# used for current_rank and next_rank placeholders when a player is not in anything in rankups.yml
|
||||
not-in-ladder: "None"
|
||||
# used in the current_prestige placeholders when a player hasn't prestiged yet
|
||||
no-prestige: "None"
|
||||
# used in the next_rank and next_prestige placeholders when a player is at the highest rank or prestige
|
||||
highest-rank: "None"
|
||||
|
||||
# what to shorten money by.
|
||||
# ie 1000 -> 1k
|
||||
# set to an empty list to disable
|
||||
# for each entry here, it counts as increasing by a factor of 1,000
|
||||
# the first represents thousands (1,000) then millions (1,000,000) then billions (1,000,000,000) etc.
|
||||
shorten:
|
||||
- 'k'
|
||||
- 'M'
|
||||
- 'B'
|
||||
- 'T'
|
||||
- 'Q'
|
||||
- 'Qu'
|
||||
- 'S'
|
||||
+102
-102
@@ -1,103 +1,103 @@
|
||||
# the messages in this section can be customised for each rankup in rankups.yml.
|
||||
rankup:
|
||||
requirements-not-met: "&cYou need {MONEY} money to rankup."
|
||||
no-rankup: "&eYou are at the highest rank."
|
||||
# set to an empty string, ie: success-public: ""
|
||||
# to hide that message.
|
||||
success-public: "&a{PLAYER} &ehas ranked up to: &d{RANK}"
|
||||
success-private: "&aYou have ranked up to: &d{RANK}"
|
||||
# used for the text confirmation
|
||||
confirmation: |-
|
||||
&eAre you sure you want to rankup to &a{RANK}&e?
|
||||
&eType &c/rankup &eagain to confirm.
|
||||
# used for the GUI confirmation
|
||||
title: "Rankup to {RANK}"
|
||||
|
||||
must-prestige: "&cYou must prestige to /rankup further!"
|
||||
|
||||
gui:
|
||||
title: "Rankup to {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&lConfirm'
|
||||
# lore is optional
|
||||
lore: '&6Rankup to &b{RANK}'
|
||||
cancel:
|
||||
material: REDSTONE_BLOCK
|
||||
index: 5-8
|
||||
name: '&c&lCancel'
|
||||
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: "&cYou must wait {SECONDS_LEFT} more second to rankup again."
|
||||
plural: "&cYou must wait {SECONDS_LEFT} more seconds to rankup again."
|
||||
# prestige messages can also be customised
|
||||
prestige:
|
||||
requirements-not-met: "&cYou need {MONEY} money to prestige."
|
||||
no-prestige: "&eYou are at the highest prestige."
|
||||
|
||||
success-public: "&a{PLAYER} &ehas prestiged to: &d{RANK}"
|
||||
success-private: "&aYou have prestiged to: &d{RANK}"
|
||||
|
||||
confirmation: |-
|
||||
&eAre you sure you want to prestige to &a{RANK}&e?
|
||||
&eType &c/prestige &eagain to confirm.
|
||||
|
||||
gui:
|
||||
title: "Prestige to {RANK}"
|
||||
rankup:
|
||||
material: GOLD_BLOCK
|
||||
index: 0-3
|
||||
name: '&a&lConfirm'
|
||||
lore: '&6Prestige to &b{RANK}'
|
||||
cancel:
|
||||
material: REDSTONE_BLOCK
|
||||
index: 5-8
|
||||
name: '&c&lCancel'
|
||||
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: "&cYou must wait {SECONDS_LEFT} second to prestige again."
|
||||
plural: "&cYou must wait {SECONDS_LEFT} more seconds to prestige again."
|
||||
|
||||
not-high-enough: "&cYou cannot prestige at your rank!"
|
||||
not-in-ladder: "&cSorry, but we could not find any rankups for the group(s) you are in. Use /ranks to list the rankups."
|
||||
# the messages in this section can be customised for each rankup in rankups.yml.
|
||||
rankup:
|
||||
requirements-not-met: "&cYou need {MONEY} money to rankup."
|
||||
no-rankup: "&eYou are at the highest rank."
|
||||
# set to an empty string, ie: success-public: ""
|
||||
# to hide that message.
|
||||
success-public: "&a{PLAYER} &ehas ranked up to: &d{RANK}"
|
||||
success-private: "&aYou have ranked up to: &d{RANK}"
|
||||
# used for the text confirmation
|
||||
confirmation: |-
|
||||
&eAre you sure you want to rankup to &a{RANK}&e?
|
||||
&eType &c/rankup &eagain to confirm.
|
||||
# used for the GUI confirmation
|
||||
title: "Rankup to {RANK}"
|
||||
|
||||
must-prestige: "&cYou must prestige to /rankup further!"
|
||||
|
||||
gui:
|
||||
title: "Rankup to {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&lConfirm'
|
||||
# lore is optional
|
||||
lore: '&6Rankup to &b{RANK}'
|
||||
cancel:
|
||||
material: REDSTONE_BLOCK
|
||||
index: 5-8
|
||||
name: '&c&lCancel'
|
||||
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: "&cYou must wait {SECONDS_LEFT} more second to rankup again."
|
||||
plural: "&cYou must wait {SECONDS_LEFT} more seconds to rankup again."
|
||||
# prestige messages can also be customised
|
||||
prestige:
|
||||
requirements-not-met: "&cYou need {MONEY} money to prestige."
|
||||
no-prestige: "&eYou are at the highest prestige."
|
||||
|
||||
success-public: "&a{PLAYER} &ehas prestiged to: &d{RANK}"
|
||||
success-private: "&aYou have prestiged to: &d{RANK}"
|
||||
|
||||
confirmation: |-
|
||||
&eAre you sure you want to prestige to &a{RANK}&e?
|
||||
&eType &c/prestige &eagain to confirm.
|
||||
|
||||
gui:
|
||||
title: "Prestige to {RANK}"
|
||||
rankup:
|
||||
material: GOLD_BLOCK
|
||||
index: 0-3
|
||||
name: '&a&lConfirm'
|
||||
lore: '&6Prestige to &b{RANK}'
|
||||
cancel:
|
||||
material: REDSTONE_BLOCK
|
||||
index: 5-8
|
||||
name: '&c&lCancel'
|
||||
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: "&cYou must wait {SECONDS_LEFT} second to prestige again."
|
||||
plural: "&cYou must wait {SECONDS_LEFT} more seconds to prestige again."
|
||||
|
||||
not-high-enough: "&cYou cannot prestige at your rank!"
|
||||
not-in-ladder: "&cSorry, but we could not find any rankups for the group(s) you are in. Use /ranks to list the rankups."
|
||||
invalid-rankup: "&cInvalid rankup defined in config, please check console."
|
||||
+106
-106
@@ -1,107 +1,107 @@
|
||||
# As mensagens nessa sessão podem ser customizadas para cada rankup em rankups.yml.
|
||||
rankup:
|
||||
requirements-not-met: "&cVocê {MONEY} para poder dar subir de rank."
|
||||
no-rankup: "&eVocê já está no maior rank."
|
||||
# coloque como uma String vazia, ex: success-public: ""
|
||||
# para ocultar a mensagem.
|
||||
success-public: "&a{PLAYER} &eacaba de subir para: &d{RANK}"
|
||||
success-private: "&aVocê subiu para: &d{RANK}"
|
||||
# Utilizado para a confirmação via mensagem.
|
||||
confirmation: |-
|
||||
&eVocê tem certeza que deseja subir para &a{RANK}&e?
|
||||
&eDigite &c/rankup &enovamente para confirmar.
|
||||
|
||||
must-prestige: "&cVocê deve subir de prestígio para dar /rankup a frente!"
|
||||
|
||||
gui:
|
||||
rows: 1
|
||||
title: "Rankup to {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&lConfirm'
|
||||
# lore is optional
|
||||
lore: '&6Rankup to &b{RANK}'
|
||||
cancel:
|
||||
material: REDSTONE_BLOCK
|
||||
index: 5-8
|
||||
name: '&c&lCancel'
|
||||
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
|
||||
|
||||
# Você pode (e deveria) substituir isto em rankups.yml
|
||||
# para mostrar os requerimentos específicos para cada rank.
|
||||
# contudo, se você está apenas usando dinheiro ou não precisa mudar as mensagens por rank, você pode usar qualquer combinação de:
|
||||
# {MONEY} {MONEY_NEEDED} {PERCENT_DONE <requirement>} {PERCENT_LEFT <requirement>} {AMOUNT <requirement>} {AMOUNT_NEEDED <requirement>}
|
||||
# {MONEY} e {MONEY_NEEDED} são diferentes de {AMOUNT money} e {AMOUNT_NEEDED money} pois eles usam diferentes formatos.
|
||||
# here is an example of showing the requirements for just money:
|
||||
# Segue um exemplo de como mostrar um requerimento para apenas dinheiro.
|
||||
#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}"
|
||||
# Uma string vázia desativa o cabeçalho/rodapé
|
||||
header: ""
|
||||
footer: ""
|
||||
# sent when a player tries to rankup when they are on cooldown.
|
||||
# Enviado quando um jogador tenta dar rankup enquanto ele está em um cooldown (tempo de espera entre comandos, freeze).
|
||||
cooldown:
|
||||
singular: "&cVocê precisa esperar {SECONDS_LEFT} segundo para dar rankup novamente."
|
||||
plural: "&cVocê precisa {SECONDS_LEFT} segundos para dar rankup novamente."
|
||||
# prestige messages can also be customised
|
||||
# Mensagens de prestígio também podem ser customizadas
|
||||
prestige:
|
||||
requirements-not-met: "&cVocê precisa {MONEY} para dar prestigiar."
|
||||
no-prestige: "&eVocê está no maior prestígio."
|
||||
|
||||
success-public: "&a{PLAYER} &esubiu de prestígio para: &d{RANK}"
|
||||
success-private: "&aVocê subiu de prestígio para: &d{RANK}"
|
||||
|
||||
confirmation: |-
|
||||
&eVocê tem certeza que deseja subir de prestígio para &a{RANK}&e?
|
||||
&eDigite &c/prestige &enovamente para confimar.
|
||||
title: "Subiu de prestígio para {RANK}"
|
||||
|
||||
gui:
|
||||
rows: 1
|
||||
title: "Prestige to {RANK}"
|
||||
rankup:
|
||||
material: GOLD_BLOCK
|
||||
index: 0-3
|
||||
name: '&a&lConfirm'
|
||||
lore: '&6Prestige to &b{RANK}'
|
||||
cancel:
|
||||
material: REDSTONE_BLOCK
|
||||
index: 5-8
|
||||
name: '&c&lCancel'
|
||||
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: "&cVocê deve esperar {SECONDS_LEFT} segundo para subir de prestígio novamente."
|
||||
plural: "&cVocê deve esperar {SECONDS_LEFT} segundos para subir de prestígio novamente."
|
||||
|
||||
not-high-enough: "&cVocê não pode subir de prestígio nesse rank!"
|
||||
not-in-ladder: "&cDesculpa, não conseguimos achar nenhum rank para você subir."
|
||||
# As mensagens nessa sessão podem ser customizadas para cada rankup em rankups.yml.
|
||||
rankup:
|
||||
requirements-not-met: "&cVocê {MONEY} para poder dar subir de rank."
|
||||
no-rankup: "&eVocê já está no maior rank."
|
||||
# coloque como uma String vazia, ex: success-public: ""
|
||||
# para ocultar a mensagem.
|
||||
success-public: "&a{PLAYER} &eacaba de subir para: &d{RANK}"
|
||||
success-private: "&aVocê subiu para: &d{RANK}"
|
||||
# Utilizado para a confirmação via mensagem.
|
||||
confirmation: |-
|
||||
&eVocê tem certeza que deseja subir para &a{RANK}&e?
|
||||
&eDigite &c/rankup &enovamente para confirmar.
|
||||
|
||||
must-prestige: "&cVocê deve subir de prestígio para dar /rankup a frente!"
|
||||
|
||||
gui:
|
||||
rows: 1
|
||||
title: "Rankup to {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&lConfirm'
|
||||
# lore is optional
|
||||
lore: '&6Rankup to &b{RANK}'
|
||||
cancel:
|
||||
material: REDSTONE_BLOCK
|
||||
index: 5-8
|
||||
name: '&c&lCancel'
|
||||
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
|
||||
|
||||
# Você pode (e deveria) substituir isto em rankups.yml
|
||||
# para mostrar os requerimentos específicos para cada rank.
|
||||
# contudo, se você está apenas usando dinheiro ou não precisa mudar as mensagens por rank, você pode usar qualquer combinação de:
|
||||
# {MONEY} {MONEY_NEEDED} {PERCENT_DONE <requirement>} {PERCENT_LEFT <requirement>} {AMOUNT <requirement>} {AMOUNT_NEEDED <requirement>}
|
||||
# {MONEY} e {MONEY_NEEDED} são diferentes de {AMOUNT money} e {AMOUNT_NEEDED money} pois eles usam diferentes formatos.
|
||||
# here is an example of showing the requirements for just money:
|
||||
# Segue um exemplo de como mostrar um requerimento para apenas dinheiro.
|
||||
#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}"
|
||||
# Uma string vázia desativa o cabeçalho/rodapé
|
||||
header: ""
|
||||
footer: ""
|
||||
# sent when a player tries to rankup when they are on cooldown.
|
||||
# Enviado quando um jogador tenta dar rankup enquanto ele está em um cooldown (tempo de espera entre comandos, freeze).
|
||||
cooldown:
|
||||
singular: "&cVocê precisa esperar {SECONDS_LEFT} segundo para dar rankup novamente."
|
||||
plural: "&cVocê precisa {SECONDS_LEFT} segundos para dar rankup novamente."
|
||||
# prestige messages can also be customised
|
||||
# Mensagens de prestígio também podem ser customizadas
|
||||
prestige:
|
||||
requirements-not-met: "&cVocê precisa {MONEY} para dar prestigiar."
|
||||
no-prestige: "&eVocê está no maior prestígio."
|
||||
|
||||
success-public: "&a{PLAYER} &esubiu de prestígio para: &d{RANK}"
|
||||
success-private: "&aVocê subiu de prestígio para: &d{RANK}"
|
||||
|
||||
confirmation: |-
|
||||
&eVocê tem certeza que deseja subir de prestígio para &a{RANK}&e?
|
||||
&eDigite &c/prestige &enovamente para confimar.
|
||||
title: "Subiu de prestígio para {RANK}"
|
||||
|
||||
gui:
|
||||
rows: 1
|
||||
title: "Prestige to {RANK}"
|
||||
rankup:
|
||||
material: GOLD_BLOCK
|
||||
index: 0-3
|
||||
name: '&a&lConfirm'
|
||||
lore: '&6Prestige to &b{RANK}'
|
||||
cancel:
|
||||
material: REDSTONE_BLOCK
|
||||
index: 5-8
|
||||
name: '&c&lCancel'
|
||||
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: "&cVocê deve esperar {SECONDS_LEFT} segundo para subir de prestígio novamente."
|
||||
plural: "&cVocê deve esperar {SECONDS_LEFT} segundos para subir de prestígio novamente."
|
||||
|
||||
not-high-enough: "&cVocê não pode subir de prestígio nesse rank!"
|
||||
not-in-ladder: "&cDesculpa, não conseguimos achar nenhum rank para você subir."
|
||||
invalid-rankup: "Rankup inválido definido na config, por favor confira o console."
|
||||
+104
-104
@@ -1,104 +1,104 @@
|
||||
# Сообщения в этой секции могут быть изменены для каждого повышения уровня в rankups.yml
|
||||
rankup:
|
||||
requirements-not-met: "&cВам нужно ещё {MONEY} денег для повышения уровня."
|
||||
no-rankup: "&eУ Вас уже самый высокий ранг."
|
||||
# Оставьте это поле пустым, чтобы скрыть сообщение (success-public: '')
|
||||
success-public: "&eРанг игрока &a{PLAYER} &eбыл повышен до: &d{RANK}"
|
||||
success-private: "&aВаш ранг повысился до: &d{RANK}"
|
||||
# Используется как текст подтверждения
|
||||
confirmation: |-
|
||||
&eВы уверены, что хотите ранг до &a{RANK}&e?
|
||||
&eВведите &c/rankup &eещё раз, чтобы подтвердить.
|
||||
|
||||
gui:
|
||||
rows: 1
|
||||
title: "Повысить до {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&lConfirm'
|
||||
# lore is optional
|
||||
lore: '&6Rankup to &b{RANK}'
|
||||
cancel:
|
||||
material: REDSTONE_BLOCK
|
||||
index: 5-8
|
||||
name: '&c&lCancel'
|
||||
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
|
||||
|
||||
must-prestige: "&cВам нужно будет больше престижа для /rankup в будущем!"
|
||||
|
||||
# Вы можете (вам стоит ;D) переписать это в rankups.yml, чтобы показать специфичные требования для каждого ранга.
|
||||
# Тем не менее, если Вы просто используете деньги или не нуждаетесь в смене сообщений для кажого ранга - Вы
|
||||
# можете использовать комбинации из: {MONEY} {MONEY_NEEDED} {PERCENT_DONE <требование>} {PERCENT_LEFT <требование>}
|
||||
# {AMOUNT <требование>} {AMOUNT_NEDDED <требование>}. "{MONEY}" и "{MONEY_NEEDED}" отличаются от
|
||||
# {AMOUNT сумма} {AMOUNT_NEDDED сумма} тем, что они используют разный формат.
|
||||
# Вот пример показа требований только для денег
|
||||
# P.S. \xbb - "»" в Unicode.
|
||||
#list:
|
||||
# complete: "&7{OLD_RANK} &8\xbb &7{RANK} &eза &7${MONEY}"
|
||||
# current: "&c{OLD_RANK} &e\xbb &c{RANK} &eза &a${MONEY} &e{PERCENT_DONE money}%"
|
||||
# incomplete: "&r{OLD_RANK} &e\xbb &r{RANK} &eза &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}"
|
||||
# Пустая строка выключает заголовок/нижнюю часть
|
||||
header: ''
|
||||
footer: ''
|
||||
# Отправляется игроку, который попытался повысить уровень, когда ещё не прошёл кулдаун (откат/перезарядка)
|
||||
cooldown:
|
||||
singular: "&cПожалуйста, подождите {SECONDS_LEFT} сек., чтобы повысить ранг снова."
|
||||
plural: "&cПожалуйста, подождите {SECONDS_LEFT} сек., чтобы повысить ранг снова."
|
||||
# Сообщения престижа тоже могут быть изменены
|
||||
prestige:
|
||||
requirements-not-met: "&cВам нужно {MONEY} денг для повышения престижа."
|
||||
no-prestige: "&eУ Вас уже самый высокий уровень престижа."
|
||||
|
||||
success-public: "Престиж игрока &a{PLAYER} &eповышен в: &d{RANK}"
|
||||
success-private: "&aВаш престиж повышен в: &d{RANK}"
|
||||
|
||||
confirmation: |-
|
||||
&eВы уверены, что хотите престиж в &a{RANK}&e?
|
||||
&eВведите &c/prestige &eснова для подтверждения.
|
||||
title: "Повысить престиж в {RANK}"
|
||||
|
||||
gui:
|
||||
rows: 1
|
||||
title: "Prestige to {RANK}"
|
||||
rankup:
|
||||
material: GOLD_BLOCK
|
||||
index: 0-3
|
||||
name: '&a&lConfirm'
|
||||
lore: '&6Prestige to &b{RANK}'
|
||||
cancel:
|
||||
material: REDSTONE_BLOCK
|
||||
index: 5-8
|
||||
name: '&c&lCancel'
|
||||
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: "&cПожалуйста, подождите {SECONDS_LEFT} сек., чтобы повысить ранг снова."
|
||||
plural: "&cПожалуйста, подождите {SECONDS_LEFT} сек., чтобы повысить ранг снова."
|
||||
|
||||
not-high-enough: "&cВы не можете поднять уровень престижа в этом ранге"
|
||||
not-in-ladder: "&cПростите, но мне не можем найти какие-нибудь повышения для Вашей группы."
|
||||
invalid-rankup: "В конфигурации определён неверное повышение, пожалуйста, проверьте консоль."
|
||||
# Сообщения в этой секции могут быть изменены для каждого повышения уровня в rankups.yml
|
||||
rankup:
|
||||
requirements-not-met: "&cВам нужно ещё {MONEY} денег для повышения уровня."
|
||||
no-rankup: "&eУ Вас уже самый высокий ранг."
|
||||
# Оставьте это поле пустым, чтобы скрыть сообщение (success-public: '')
|
||||
success-public: "&eРанг игрока &a{PLAYER} &eбыл повышен до: &d{RANK}"
|
||||
success-private: "&aВаш ранг повысился до: &d{RANK}"
|
||||
# Используется как текст подтверждения
|
||||
confirmation: |-
|
||||
&eВы уверены, что хотите ранг до &a{RANK}&e?
|
||||
&eВведите &c/rankup &eещё раз, чтобы подтвердить.
|
||||
|
||||
gui:
|
||||
rows: 1
|
||||
title: "Повысить до {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&lConfirm'
|
||||
# lore is optional
|
||||
lore: '&6Rankup to &b{RANK}'
|
||||
cancel:
|
||||
material: REDSTONE_BLOCK
|
||||
index: 5-8
|
||||
name: '&c&lCancel'
|
||||
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
|
||||
|
||||
must-prestige: "&cВам нужно будет больше престижа для /rankup в будущем!"
|
||||
|
||||
# Вы можете (вам стоит ;D) переписать это в rankups.yml, чтобы показать специфичные требования для каждого ранга.
|
||||
# Тем не менее, если Вы просто используете деньги или не нуждаетесь в смене сообщений для кажого ранга - Вы
|
||||
# можете использовать комбинации из: {MONEY} {MONEY_NEEDED} {PERCENT_DONE <требование>} {PERCENT_LEFT <требование>}
|
||||
# {AMOUNT <требование>} {AMOUNT_NEDDED <требование>}. "{MONEY}" и "{MONEY_NEEDED}" отличаются от
|
||||
# {AMOUNT сумма} {AMOUNT_NEDDED сумма} тем, что они используют разный формат.
|
||||
# Вот пример показа требований только для денег
|
||||
# P.S. \xbb - "»" в Unicode.
|
||||
#list:
|
||||
# complete: "&7{OLD_RANK} &8\xbb &7{RANK} &eза &7${MONEY}"
|
||||
# current: "&c{OLD_RANK} &e\xbb &c{RANK} &eза &a${MONEY} &e{PERCENT_DONE money}%"
|
||||
# incomplete: "&r{OLD_RANK} &e\xbb &r{RANK} &eза &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}"
|
||||
# Пустая строка выключает заголовок/нижнюю часть
|
||||
header: ''
|
||||
footer: ''
|
||||
# Отправляется игроку, который попытался повысить уровень, когда ещё не прошёл кулдаун (откат/перезарядка)
|
||||
cooldown:
|
||||
singular: "&cПожалуйста, подождите {SECONDS_LEFT} сек., чтобы повысить ранг снова."
|
||||
plural: "&cПожалуйста, подождите {SECONDS_LEFT} сек., чтобы повысить ранг снова."
|
||||
# Сообщения престижа тоже могут быть изменены
|
||||
prestige:
|
||||
requirements-not-met: "&cВам нужно {MONEY} денг для повышения престижа."
|
||||
no-prestige: "&eУ Вас уже самый высокий уровень престижа."
|
||||
|
||||
success-public: "Престиж игрока &a{PLAYER} &eповышен в: &d{RANK}"
|
||||
success-private: "&aВаш престиж повышен в: &d{RANK}"
|
||||
|
||||
confirmation: |-
|
||||
&eВы уверены, что хотите престиж в &a{RANK}&e?
|
||||
&eВведите &c/prestige &eснова для подтверждения.
|
||||
title: "Повысить престиж в {RANK}"
|
||||
|
||||
gui:
|
||||
rows: 1
|
||||
title: "Prestige to {RANK}"
|
||||
rankup:
|
||||
material: GOLD_BLOCK
|
||||
index: 0-3
|
||||
name: '&a&lConfirm'
|
||||
lore: '&6Prestige to &b{RANK}'
|
||||
cancel:
|
||||
material: REDSTONE_BLOCK
|
||||
index: 5-8
|
||||
name: '&c&lCancel'
|
||||
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: "&cПожалуйста, подождите {SECONDS_LEFT} сек., чтобы повысить ранг снова."
|
||||
plural: "&cПожалуйста, подождите {SECONDS_LEFT} сек., чтобы повысить ранг снова."
|
||||
|
||||
not-high-enough: "&cВы не можете поднять уровень престижа в этом ранге"
|
||||
not-in-ladder: "&cПростите, но мне не можем найти какие-нибудь повышения для Вашей группы."
|
||||
invalid-rankup: "В конфигурации определён неверное повышение, пожалуйста, проверьте консоль."
|
||||
|
||||
@@ -1,64 +1,64 @@
|
||||
# the messages in this section can be customised for each rankup in rankups.yml.
|
||||
rankup:
|
||||
requirements-not-met: "&c 你还需要 {MONEY} 才能够升级。"
|
||||
no-rankup: "&e你已经处在最高的等级了。"
|
||||
# set to an empty string, ie: success-public: ""
|
||||
# to hide that message.
|
||||
success-public: "&a玩家 {PLAYER} &e升级到: &d{RANK}"
|
||||
success-private: "&a你已经升级到: &d{RANK}"
|
||||
# used for the text confirmation
|
||||
confirmation: |-
|
||||
&e你确定要升级到 &a{RANK}&e?
|
||||
&e再次输入 &c/rankup &e来确定。
|
||||
# used for the GUI confirmation
|
||||
title: "升级到 {RANK}"
|
||||
|
||||
must-prestige: "&cYou must prestige to /rankup further!"
|
||||
|
||||
# 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: "&c你必须等候 {SECONDS_LEFT} 才能够再次升级!"
|
||||
plural: "&c你必须等候 {SECONDS_LEFT} 才能够再次升级!"
|
||||
# prestige messages can also be customised
|
||||
prestige:
|
||||
requirements-not-met: "&cYou need {MONEY} money to prestige."
|
||||
no-prestige: "&eYou are at the highest prestige."
|
||||
|
||||
success-public: "&a{PLAYER} &ehas prestiged to: &d{RANK}"
|
||||
success-private: "&aYou have prestiged to: &d{RANK}"
|
||||
|
||||
confirmation: |-
|
||||
&eAre you sure you want to prestige to &a{RANK}&e?
|
||||
&eType &c/prestige &eagain to confirm.
|
||||
title: "Prestige to {RANK}"
|
||||
|
||||
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: "&cYou must wait {SECONDS_LEFT} second to prestige again."
|
||||
plural: "&cYou must wait {SECONDS_LEFT} more seconds to prestige again."
|
||||
|
||||
not-high-enough: "&cYou cannot prestige at your rank!"
|
||||
not-in-ladder: "&cSorry, but we could not find any rankups for the group(s) you are in. 使用 /ranks 指令去查看所有等级的列表。"
|
||||
# the messages in this section can be customised for each rankup in rankups.yml.
|
||||
rankup:
|
||||
requirements-not-met: "&c 你还需要 {MONEY} 才能够升级。"
|
||||
no-rankup: "&e你已经处在最高的等级了。"
|
||||
# set to an empty string, ie: success-public: ""
|
||||
# to hide that message.
|
||||
success-public: "&a玩家 {PLAYER} &e升级到: &d{RANK}"
|
||||
success-private: "&a你已经升级到: &d{RANK}"
|
||||
# used for the text confirmation
|
||||
confirmation: |-
|
||||
&e你确定要升级到 &a{RANK}&e?
|
||||
&e再次输入 &c/rankup &e来确定。
|
||||
# used for the GUI confirmation
|
||||
title: "升级到 {RANK}"
|
||||
|
||||
must-prestige: "&cYou must prestige to /rankup further!"
|
||||
|
||||
# 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: "&c你必须等候 {SECONDS_LEFT} 才能够再次升级!"
|
||||
plural: "&c你必须等候 {SECONDS_LEFT} 才能够再次升级!"
|
||||
# prestige messages can also be customised
|
||||
prestige:
|
||||
requirements-not-met: "&cYou need {MONEY} money to prestige."
|
||||
no-prestige: "&eYou are at the highest prestige."
|
||||
|
||||
success-public: "&a{PLAYER} &ehas prestiged to: &d{RANK}"
|
||||
success-private: "&aYou have prestiged to: &d{RANK}"
|
||||
|
||||
confirmation: |-
|
||||
&eAre you sure you want to prestige to &a{RANK}&e?
|
||||
&eType &c/prestige &eagain to confirm.
|
||||
title: "Prestige to {RANK}"
|
||||
|
||||
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: "&cYou must wait {SECONDS_LEFT} second to prestige again."
|
||||
plural: "&cYou must wait {SECONDS_LEFT} more seconds to prestige again."
|
||||
|
||||
not-high-enough: "&cYou cannot prestige at your rank!"
|
||||
not-in-ladder: "&cSorry, but we could not find any rankups for the group(s) you are in. 使用 /ranks 指令去查看所有等级的列表。"
|
||||
invalid-rankup: "&c配置中定义的等级无效,请联系管理员检查后台。"
|
||||
@@ -1,65 +1,65 @@
|
||||
name: Rankup
|
||||
version: ${version}
|
||||
main: sh.okx.rankup.RankupPlugin
|
||||
author: Okx
|
||||
depend: [Vault]
|
||||
softdepend: [PlaceholderAPI, mcMMO, AdvancedAchievements, Towny]
|
||||
api-version: 1.13
|
||||
|
||||
commands:
|
||||
rankup:
|
||||
permission: rankup.rankup
|
||||
description: Rankup.
|
||||
rankup3:
|
||||
permission: rankup3.info
|
||||
description: View Rankup version and perform some administrative commands.
|
||||
# support the old command
|
||||
aliases: [pru]
|
||||
ranks:
|
||||
permission: rankup.ranks
|
||||
description: List all the ranks.
|
||||
prestige:
|
||||
permission: rankup.prestige
|
||||
description: Prestige.
|
||||
prestiges:
|
||||
permission: rankup.prestiges
|
||||
description: List all the prestiges.
|
||||
maxrankup:
|
||||
permission: rankup.maxrankup
|
||||
description: Rankup as much as possible.
|
||||
permissions:
|
||||
rankup.*:
|
||||
children:
|
||||
rankup.info: true
|
||||
rankup.rankup: true
|
||||
rankup.admin: true
|
||||
rankup.ranks: true
|
||||
rankup.prestige: true
|
||||
rankup.prestiges: true
|
||||
rankup.auto: true
|
||||
rankup.maxrankup: true
|
||||
rankup.admin:
|
||||
children:
|
||||
# if a player can see if the plugin needs updating when they run /pru
|
||||
rankup.checkversion: true
|
||||
# if a player can run /pru reload
|
||||
rankup.reload: true
|
||||
# if a player can force rankup or prestige someone
|
||||
rankup.force: true
|
||||
# if a player receives notifications to update rankup when they log in.
|
||||
rankup.notify: true
|
||||
default: op
|
||||
rankup.info:
|
||||
default: true
|
||||
rankup.rankup:
|
||||
default: true
|
||||
rankup.ranks:
|
||||
default: true
|
||||
rankup.prestige:
|
||||
default: true
|
||||
rankup.prestiges:
|
||||
default: true
|
||||
rankup.auto:
|
||||
default: true
|
||||
rankup.maxrankup:
|
||||
name: Rankup
|
||||
version: ${version}
|
||||
main: sh.okx.rankup.RankupPlugin
|
||||
author: Okx
|
||||
depend: [Vault]
|
||||
softdepend: [PlaceholderAPI, mcMMO, AdvancedAchievements, Towny]
|
||||
api-version: 1.13
|
||||
|
||||
commands:
|
||||
rankup:
|
||||
permission: rankup.rankup
|
||||
description: Rankup.
|
||||
rankup3:
|
||||
permission: rankup3.info
|
||||
description: View Rankup version and perform some administrative commands.
|
||||
# support the old command
|
||||
aliases: [pru]
|
||||
ranks:
|
||||
permission: rankup.ranks
|
||||
description: List all the ranks.
|
||||
prestige:
|
||||
permission: rankup.prestige
|
||||
description: Prestige.
|
||||
prestiges:
|
||||
permission: rankup.prestiges
|
||||
description: List all the prestiges.
|
||||
maxrankup:
|
||||
permission: rankup.maxrankup
|
||||
description: Rankup as much as possible.
|
||||
permissions:
|
||||
rankup.*:
|
||||
children:
|
||||
rankup.info: true
|
||||
rankup.rankup: true
|
||||
rankup.admin: true
|
||||
rankup.ranks: true
|
||||
rankup.prestige: true
|
||||
rankup.prestiges: true
|
||||
rankup.auto: true
|
||||
rankup.maxrankup: true
|
||||
rankup.admin:
|
||||
children:
|
||||
# if a player can see if the plugin needs updating when they run /pru
|
||||
rankup.checkversion: true
|
||||
# if a player can run /pru reload
|
||||
rankup.reload: true
|
||||
# if a player can force rankup or prestige someone
|
||||
rankup.force: true
|
||||
# if a player receives notifications to update rankup when they log in.
|
||||
rankup.notify: true
|
||||
default: op
|
||||
rankup.info:
|
||||
default: true
|
||||
rankup.rankup:
|
||||
default: true
|
||||
rankup.ranks:
|
||||
default: true
|
||||
rankup.prestige:
|
||||
default: true
|
||||
rankup.prestiges:
|
||||
default: true
|
||||
rankup.auto:
|
||||
default: true
|
||||
rankup.maxrankup:
|
||||
default: true
|
||||
@@ -1,19 +1,19 @@
|
||||
|
||||
first:
|
||||
# the rank people must be to use this prestige
|
||||
from: 'D'
|
||||
# the rank to change it to
|
||||
to: 'A'
|
||||
next: 'P1'
|
||||
# see rankups.yml for more information on requirements, commands, and messages
|
||||
requirements:
|
||||
- 'money 10000'
|
||||
P1example:
|
||||
from: 'D'
|
||||
to: 'A'
|
||||
# the rank added to indicate this prestige
|
||||
rank: 'P1'
|
||||
next: 'P2'
|
||||
requirements:
|
||||
- 'money 20000'
|
||||
|
||||
first:
|
||||
# the rank people must be to use this prestige
|
||||
from: 'D'
|
||||
# the rank to change it to
|
||||
to: 'A'
|
||||
next: 'P1'
|
||||
# see rankups.yml for more information on requirements, commands, and messages
|
||||
requirements:
|
||||
- 'money 10000'
|
||||
P1example:
|
||||
from: 'D'
|
||||
to: 'A'
|
||||
# the rank added to indicate this prestige
|
||||
rank: 'P1'
|
||||
next: 'P2'
|
||||
requirements:
|
||||
- 'money 20000'
|
||||
- 'xp-level 5'
|
||||
@@ -1,44 +1,44 @@
|
||||
#
|
||||
# If you are adding your own ranks, make sure to delete the example ranks!
|
||||
# Need help setting the plugin up?
|
||||
# Read an example: https://github.com/okx-code/Rankup3/wiki/Configuration-Example
|
||||
# Join the discord server for live support: https://discord.gg/maB4382 (buyers only)
|
||||
#
|
||||
|
||||
# this name doesn't matter
|
||||
Aexample:
|
||||
# the name of the group
|
||||
# players have to be in this rank to rankup
|
||||
rank: 'A'
|
||||
# the name of the rank a player can rankup to
|
||||
next: 'B'
|
||||
# List of requirements to go to the next rank
|
||||
# This example will charge 1000 money to rankup from A to B.
|
||||
# https://github.com/okx-code/Rankup3/wiki/Requirements
|
||||
# custom requirements can also be added by other plugins.
|
||||
requirements:
|
||||
- 'money 1000'
|
||||
# the console will run these commands when a player ranks up
|
||||
# nb: groups are automatically changed with vault
|
||||
#commands:
|
||||
# this will run when a player ranks up from A to B.
|
||||
#- 'say {PLAYER} well done for ranking up from {OLD_RANK} to {RANK}!'
|
||||
Bexample:
|
||||
rank: 'B'
|
||||
next: 'C'
|
||||
requirements:
|
||||
- 'money 2500'
|
||||
Cexample:
|
||||
rank: 'C'
|
||||
next: 'D'
|
||||
requirements:
|
||||
- 'money 5000'
|
||||
- 'xp-level 2'
|
||||
# you can have a custom messages for each rank
|
||||
# the paths of these messages are the same as in the messages for your locale
|
||||
rankup:
|
||||
requirements-not-met: '&cYou need 5000 money and 2 levels of XP to rankup to D.'
|
||||
list:
|
||||
complete: "&7{OLD_RANK} &8\xbb &7{RANK} &e(5000 money, 2 XP levels)"
|
||||
current: "&c{OLD_RANK} &e\xbb &c{RANK} &e(5000 money, 2 XP levels)"
|
||||
#
|
||||
# If you are adding your own ranks, make sure to delete the example ranks!
|
||||
# Need help setting the plugin up?
|
||||
# Read an example: https://github.com/okx-code/Rankup3/wiki/Configuration-Example
|
||||
# Join the discord server for live support: https://discord.gg/maB4382 (buyers only)
|
||||
#
|
||||
|
||||
# this name doesn't matter
|
||||
Aexample:
|
||||
# the name of the group
|
||||
# players have to be in this rank to rankup
|
||||
rank: 'A'
|
||||
# the name of the rank a player can rankup to
|
||||
next: 'B'
|
||||
# List of requirements to go to the next rank
|
||||
# This example will charge 1000 money to rankup from A to B.
|
||||
# https://github.com/okx-code/Rankup3/wiki/Requirements
|
||||
# custom requirements can also be added by other plugins.
|
||||
requirements:
|
||||
- 'money 1000'
|
||||
# the console will run these commands when a player ranks up
|
||||
# nb: groups are automatically changed with vault
|
||||
#commands:
|
||||
# this will run when a player ranks up from A to B.
|
||||
#- 'say {PLAYER} well done for ranking up from {OLD_RANK} to {RANK}!'
|
||||
Bexample:
|
||||
rank: 'B'
|
||||
next: 'C'
|
||||
requirements:
|
||||
- 'money 2500'
|
||||
Cexample:
|
||||
rank: 'C'
|
||||
next: 'D'
|
||||
requirements:
|
||||
- 'money 5000'
|
||||
- 'xp-level 2'
|
||||
# you can have a custom messages for each rank
|
||||
# the paths of these messages are the same as in the messages for your locale
|
||||
rankup:
|
||||
requirements-not-met: '&cYou need 5000 money and 2 levels of XP to rankup to D.'
|
||||
list:
|
||||
complete: "&7{OLD_RANK} &8\xbb &7{RANK} &e(5000 money, 2 XP levels)"
|
||||
current: "&c{OLD_RANK} &e\xbb &c{RANK} &e(5000 money, 2 XP levels)"
|
||||
incomplete: "&r{OLD_RANK} &e\xbb &r{RANK} &e(5000 money, 2 XP levels)"
|
||||
Reference in New Issue
Block a user