Starting simplification
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# this is used for letting you know that you need to update/change your config file
|
||||
version: 3
|
||||
|
||||
# the ISO-639-1 locale to use for messages
|
||||
# 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
|
||||
@@ -29,8 +29,7 @@ prestige: true
|
||||
# options are: gui, text or none
|
||||
confirmation-type: 'gui'
|
||||
|
||||
# how long in seconds people have to wait between a /rankup and a /prestige
|
||||
# only successful rankups and prestiges start the cooldown.
|
||||
# how long, in seconds, people have to wait between a successful /rankup or a /prestige
|
||||
# set to 0 to disable.
|
||||
cooldown: 1
|
||||
|
||||
@@ -38,8 +37,8 @@ gui:
|
||||
rows: 1
|
||||
rankup:
|
||||
material: EMERALD_BLOCK
|
||||
# index can be separated by spaces to show in multiple ways
|
||||
# ie, 0-3 9-12 18-21
|
||||
# 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'
|
||||
@@ -56,6 +55,7 @@ gui:
|
||||
# this works for both the rankup and cancel blocks as well
|
||||
material: BLACK_STAINED_GLASS_PANE
|
||||
|
||||
# options when using the text rankup confirmation
|
||||
text:
|
||||
# the time in seconds for a player to
|
||||
# confirm by typing /rankup again
|
||||
@@ -72,8 +72,6 @@ placeholders:
|
||||
not-in-ladder: "None"
|
||||
# used in next_rank placeholders when there is no rankup
|
||||
highest-rank: "None"
|
||||
# used in /prestiges as the {OLD_RANK} placeholder for the first prestige rank
|
||||
first-prestige-rank: 'D'
|
||||
|
||||
# what to shorten money by.
|
||||
# ie 1000 -> 1k
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: Rankup
|
||||
version: 3.4.2-beta.1
|
||||
version: 3.4.2
|
||||
main: sh.okx.rankup.Rankup
|
||||
author: Okx
|
||||
depend: [Vault]
|
||||
|
||||
@@ -3,21 +3,19 @@ first:
|
||||
from: 'D'
|
||||
# the rank to change it to
|
||||
to: 'A'
|
||||
next: 'P1example'
|
||||
next: 'P1'
|
||||
# see rankups.yml for more information on requirements, operations, commands and messages
|
||||
requirements:
|
||||
money: 10000
|
||||
# optional, defaults to all
|
||||
operation: all
|
||||
- 'money 10000'
|
||||
P1example:
|
||||
from: 'D'
|
||||
to: 'A'
|
||||
# the rank added to indicate this prestige
|
||||
rank: 'P1'
|
||||
next: 'P2example'
|
||||
next: 'P2'
|
||||
requirements:
|
||||
money: 20000
|
||||
xp-level: 5
|
||||
- 'money 20000'
|
||||
- 'xp-level 5'
|
||||
P2example:
|
||||
from: 'D'
|
||||
to: 'A'
|
||||
|
||||
@@ -1,54 +1,40 @@
|
||||
# see https://github.com/okx-code/Rankup3/wiki/Rank-format
|
||||
|
||||
# this name can be equal to your rank name for simplicity,
|
||||
# eg "A" instead of "Aexample".
|
||||
# this name doesn't matter
|
||||
Aexample:
|
||||
# the name of the rank in your permissions plugin
|
||||
# the name of the group
|
||||
# players have to be in this rank to rankup
|
||||
rank: 'A'
|
||||
# the next rank a player can rank up to.
|
||||
# this must be the name of the configuration section, not the rank name.
|
||||
# for example, the name of this configuration section is "Aexample".
|
||||
# if this is the last rank, you don't need this.
|
||||
next: 'Bexample'
|
||||
# the name of the rank a player can rankup to
|
||||
next: 'B'
|
||||
# List of requirements to go to the next rank
|
||||
# (ie, this example will charge 1000 money to rankup from A to B)
|
||||
# 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
|
||||
# What requirements players need to match to /rankup.
|
||||
# this is optional - if you don't use it, it defaults to "all"
|
||||
# n.b. if there are no requirements players will always be able to /rankup.
|
||||
# all: all requirements
|
||||
# any: at least one requirement
|
||||
# one: only one requirement
|
||||
# none: no requirements
|
||||
operation: all
|
||||
- 'money 1000'
|
||||
# the console will run these commands when a player ranks up
|
||||
# rankup will change the group for you, commands are not needed for that
|
||||
# the 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: 'Cexample'
|
||||
next: 'C'
|
||||
requirements:
|
||||
money: 2500
|
||||
- 'money 2500'
|
||||
Cexample:
|
||||
rank: 'C'
|
||||
next: 'Dexample'
|
||||
next: 'D'
|
||||
requirements:
|
||||
money: 5000
|
||||
xp-level: 2
|
||||
- 'money 5000'
|
||||
- 'xp-level 2'
|
||||
# you can have a custom messages for each rank
|
||||
# you can use this to list the requirements needed.
|
||||
# the paths of these messages are the exact 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)"
|
||||
# for the last rank, you just need to specify the rank.
|
||||
Dexample:
|
||||
rank: 'D'
|
||||
incomplete: "&r{OLD_RANK} &e\xbb &r{RANK} &e(5000 money, 2 XP levels)"
|
||||
Reference in New Issue
Block a user