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:
okx-code
2018-09-01 23:50:57 +01:00
parent 6ba4dcb4d0
commit e9d7a9791a
26 changed files with 513 additions and 487 deletions
+5 -5
View File
@@ -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.