Skip to content

Instantly share code, notes, and snippets.

View warriordog's full-sized avatar

Hazel K warriordog

  • United States
View GitHub Profile
@warriordog
warriordog / ExperienceManager.java
Last active February 9, 2019 16:18 — forked from RichardB122/ExperienceManager.java
A simple and easy to use class that can get and set a player's total experience points in Minecraft. This is based off the Bukkit API. The determines this with a mathematical formula based off the player's current level and their progress towards the next one.
/*
AUTHOR: Dev_Richard (https://www.spigotmc.org/members/dev_richard.38792/)
DESC: A simple and easy to use class that can get and set a player's total experience points.
Feel free to use this class in both public and private plugins, however if you release your
plugin please link to this gist publicly so that others can contribute and benefit from it.
Source available at https://gist.github.com/warriordog/6160a1ed45134265fb30b8d224da0426
*/
import org.bukkit.entity.Player;