add /prestiges
also fix inconsistency with checking groups
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
# this is used for letting you know that you need to update/change your config file
|
||||
version: 0
|
||||
|
||||
# whether /ranks should be enabled (true) or disabled (false)
|
||||
# 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
|
||||
prestiges: true
|
||||
|
||||
# whether or not prestiging should be enabled.
|
||||
# whether or not /prestige and /prestiges should be enabled.
|
||||
prestige: true
|
||||
|
||||
# how people should confirm ranking up
|
||||
|
||||
@@ -33,6 +33,12 @@ rankup:
|
||||
# an empty string disables the header/footer
|
||||
header: ''
|
||||
footer: ''
|
||||
prestiges:
|
||||
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: ''
|
||||
# sent when a player tries to rankup when they are on cooldown
|
||||
cooldown:
|
||||
singular: '&cYou must wait {SECONDS_LEFT} more second to rankup again.'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: Rankup
|
||||
version: 3.0-alpha.20
|
||||
version: 3.0-alpha.21
|
||||
main: sh.okx.rankup.Rankup
|
||||
author: Okx
|
||||
depend: [Vault]
|
||||
@@ -21,6 +21,9 @@ commands:
|
||||
prestige:
|
||||
permission: rankup.prestige
|
||||
description: Prestige.
|
||||
prestiges:
|
||||
permission: rankup.prestiges
|
||||
description: List all the prestiges.
|
||||
permissions:
|
||||
rankup.*:
|
||||
children:
|
||||
@@ -31,6 +34,7 @@ permissions:
|
||||
rankup.reload: true
|
||||
rankup.ranks: true
|
||||
rankup.prestige: true
|
||||
rankup.prestiges: true
|
||||
rankup.info:
|
||||
default: true
|
||||
rankup.rankup:
|
||||
@@ -44,4 +48,6 @@ permissions:
|
||||
rankup.ranks:
|
||||
default: true
|
||||
rankup.prestige:
|
||||
default: true
|
||||
rankup.prestiges:
|
||||
default: true
|
||||
@@ -3,7 +3,7 @@ first:
|
||||
from: 'D'
|
||||
# the rank to change it to
|
||||
to: 'A'
|
||||
next: 'P2example'
|
||||
next: 'P1example'
|
||||
# see rankups.yml for more information on requirements, operations, commands and messages
|
||||
requirements:
|
||||
money: 10000
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# this name can be equal to your rank name for simplicity,
|
||||
# eg "A" instead of "Aexample".
|
||||
Aexample:
|
||||
# the name of the rank in your permissions plugin
|
||||
rank: 'A'
|
||||
|
||||
Reference in New Issue
Block a user