remove stats system
improve operations and make them extendable more easily and let other plugins add operations, like requirements move requirements/operations out of ranks class as they will be used in prestiges
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
# this is used for letting you know that you need to update/change your config file
|
||||
version: 0
|
||||
|
||||
# as well as bStats (which can be disabled in the plugins/bStats folder),
|
||||
# this will send more detailed stats privately, to help see what features are being used.
|
||||
stats: true
|
||||
|
||||
# whether /ranks should be enabled (true) or disabled (false)
|
||||
# /rankup3 reload will not do anything if this is changed,
|
||||
# you will have to restart your server.
|
||||
|
||||
@@ -27,7 +27,6 @@ permissions:
|
||||
rankup.ranks: true
|
||||
rankup.reload: true
|
||||
rankup.ranks: true
|
||||
rankup.sign: true
|
||||
rankup.info:
|
||||
default: true
|
||||
rankup.rankup:
|
||||
@@ -39,6 +38,4 @@ permissions:
|
||||
rankup.reload:
|
||||
default: op
|
||||
rankup.ranks:
|
||||
default: true
|
||||
rankup.sign:
|
||||
default: op
|
||||
default: true
|
||||
@@ -0,0 +1,20 @@
|
||||
P1example:
|
||||
# the rank people must be to use this prestige
|
||||
from: 'D'
|
||||
# the rank to change it to
|
||||
to: 'A'
|
||||
# the rank to also add
|
||||
rank: 'P1'
|
||||
# requirements are the same as in rankups.yml
|
||||
requirements:
|
||||
money: 10000
|
||||
# optional
|
||||
operation: all
|
||||
# commands & prestige messages can be added as per rankups.yml too.
|
||||
P1example:
|
||||
from: 'D'
|
||||
to: 'A'
|
||||
rank: 'P2'
|
||||
requirements:
|
||||
money: 20000
|
||||
xp-level: 5
|
||||
@@ -16,13 +16,13 @@ Aexample:
|
||||
requirements:
|
||||
money: 1000
|
||||
# What requirements players need to match to /rankup.
|
||||
# this is optional - if you don't use it, it defaults to "and"
|
||||
# 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.
|
||||
# and: all requirements
|
||||
# or: at least one requirement
|
||||
# xor: only one requirement
|
||||
# all: all requirements
|
||||
# any: at least one requirement
|
||||
# one: only one requirement
|
||||
# none: no requirements
|
||||
operation: and
|
||||
operation: all
|
||||
# the console will run these commands when a player ranks up
|
||||
#commands:
|
||||
# this will run when a player ranks up from A to B.
|
||||
|
||||
Reference in New Issue
Block a user