HomeJavaModsPvp Levels
PVP Rankup:
This plugin was made from metalcupcake5's idea.
This was a plugin suggestion I found on the Bukkit Plugin Requests and I hope I fulfilled his requests. :)
This plugin essentially lets players level up from killing people and allows the server owner to choose how many kills are needed to rank up.
This could also be played as competitively to try to be the highest leveled player.
This allows players to check their own stats which includes their level, kills, deaths, KDR and how many more kills the player needs to rank up. Not only can the players check their own, they can also check the stats of all players who have been on the server before.
The plugin also features two commands to set a specific player, or all of the players, level, or kills, to what you want. You can also reset all the stats of all the players or one specific one.
The commands and permissions are listed below!

Commands:
/level - Lets the player check his/her current stats (Level, kills, deaths, etc.)
/level <player name> - Lets the player check another players stats
/level top - Lets the player check all of the players rankings from highest level to lowest level.
/level prefix [On : Off] - Lets a player with the permission to enable or disable everyones level prefix.
/level help - Lets the player see all of the commands.
/level rl - Reloads the config.yml file
/level reset <Player Name : All> - Resets one player, or all of the players stats.
/level set <Player Name : All> <Kills : Level> <Number> - Sets one player, or all of the players kills or levels to a certain number.

Permissions:
The only permission in the plugin is:
- pvplevel.admin
This permission allows the use of admin commands such as:
- /level set
- /level reset
- /level rl
- /level prefix [On : Off]
Everyone else including players has access to the other commands.

Configuration:
The configuration file has different editable messages.

Some messages allow for the use of placeholders. The editable messages that allow placeholders are shown under the configuration file.

PlaceHolders:
- %player% - Player name
- %level% - The players level
- %message% - the players message
- %bool% - Enabled or Disabled

Code (Text):

config:
  defaults:
    msgs:
      prefix: '&1&l-=&b&l>>&8&lPvpLevels&b&l<<&1&l=-'
      header: '&1&l-----=&b&l>>&8&lPvpLevels&b&l<<&1&l=-----'
      footer: '&1&l-----=&b&l>>&8&lPvpLevels&b&l<<&1&l=-----'
      stats: '&e&l%player% Stats&b>>'
      wait: '&c&lPlease wait as we load all of the players stats...'
      no-perm: '&cYou do not have permission to run that command!'
      level-up: '&a&lYou have levelled up! You are now level %level%!'
      announce-lvlup: '&b%player% &a&lis now level &b%level%'
      lvl-prefix:
        enabled: true
        level-prefix: '&b[&6&l%level%&b]'
        prefix-enabled: '&bAll level titles have now been &aenabled'
        prefix-disabled: '&bAll level titles have now been &cdisabled'
        prefix-already-on-off: '&4Titles are already %bool%'
      title:
        enabled: true
        level-up-title: '&aPlayer Level Up!'
        level-up-subtitle: '&2You are now level &b%level%'
        fade-in-ticks: 10
        stay-ticks: 30
        fade-out-ticks: 10
    settings:
      kills-for-lvl-zero: 20
      increment-per-level: 5
      announce: true
      lvl-up-sound:
        sound: LEVEL_UP
        volume: 10
        pitch: 1
 


- The "stats:" message can only use the %player% placeholder.
- The "level-up" can only use the %level% placeholder.
- The "announce-lvlup" can use both the %player% and %level% placeholder.
- The level-prefix uses the %level% placeholder
- The prefix-already-on-off uses the %bool% placeholder (This placeholder is either replaced with 'enabled' or 'disabled' depending if it is set for everyone to have their prefixes on or off; used for /level prefix on, if already on, it will send that message saying its already enabled, if its off and the player uses /level prefix off, it will send that message saying its already disabled.)
- The level-up-title and level-up-subtitle can both use %player% and %level% placeholders for your customization.

Also in the config, you can set the kills-for-lvl-zero, or how many kills a player needs before ranking up to level one. This value will increment each time by however much you set the increment value to. There is also an option to announce, this refers to announcing if a player ranked up or not, setting it to true will enable these messages, setting it to false will disable them. The final part of the config includes settings for the rank up sound, you choose the sound (Must support your servers Minecraft version), the volume, and the pitch. The current sound the config uses is for version 1.8, but in higher versions, it uses a different sound name.

1.8 Sounds:
http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
1.9+ Sounds:
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
Note: Please remember to use the sounds that are compatible with the corresponding version. Some of the sounds in the 1.9+ link may not work in versions under 1.12 as some 1.12 sounds are newer and only added to 1.12. This means if there is a 1.12 sound, versions 1.9-1.11 will not support it, if it's added from 1.9 then all versions above it should support it. This isn't the case for 1.8 as they changed the sound names. Remember to also make them in all caps in the config.
Planned Updates:
1. Make optional rewards for when a player reaches a certain level.
2. Your suggestions :)


NOTE: I will be updating this plugin when I have my own time and I plan more updates.
If you have any problems, errors or suggestions leave them in the discussion page for me to read.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Pvp Levels is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 3,253 times (via Spigot). Download it and open it directly in the game.

Explore more