-
Notifications
You must be signed in to change notification settings - Fork 50
levels.yml
Cervinakuy edited this page Jul 11, 2021
·
9 revisions
The leveling system adds an easy and simple way for players to challenge themselves through KitPvP.
A copy of the default levels.yml can be found here.
Experience-To-Level-Up
Experience-Given-On-Kill
Experience-Taken-On-Death
Minimum-Level
Maximum-Level
The amount of experience needed to level up. Currently, this number applies to all levels equally.
Experience-To-Level-Up: 100
The amount of experience given on kill of another player.
Experience-Given-On-Kill: 15
The amount of experience removed (from the victim) upon death.
Experience-Taken-On-Death: 5
The minimum level set when a player has no prior stats.
Minimum-Level: 0
The maximum level. This can be set to any number, but if set to anything above 100, there must be a Level section to accompany each. Otherwise, there will be errors in console among other problems.
Maximum-Level: 100
Commands run on any level up.
This section follows a typical Command format.
This section holds all the individual Level sections.
-
<level number>
- the section header is the level number-
Prefix
- the prefix used in the Chat formatting for players of this level -
Experience-To-Level-Up
- an optional option which ignores the value set for Experience-To-Level-Up, and uses this value instead for this specific level -
Commands
- an optional section which includes commands to be run when a player levels up to this specific level. Follows a typical Commands section format, and also supporting the%level%
placeholder which is the specific level number
-
10:
Prefix: '&7Level %level%'
Experience-To-Level-Up: 69
Commands:
- 'console: say Congratulations to %player% for reaching Level %level%!'
- 'console: give %player% diamond 1'