// Give XP to player - looks for value in double
GiveXP(BasePlayer player, double amount)
--------------------------------------------------
// Take XP from player - looks for value in double
TakeXP(BasePlayer player, double amount)
--------------------------------------------------
// Get Player Data - looks for player and info type as string
GetXPCache(BasePlayer player, string info)
// String Tyes:
steamid - returns player steamid
displayname - returns player display name
level - returns current level
xp - returns current xp amount
reqxp - returns required xp to next level
rank - return current rank ID
rankname - returns current rank name
ranksig - returns current rank tag
rankimg - returns url to current rank
truexp - returns total xp from rank
truelevel - returns total levels from rank
statp - returns current unspent stat points
skillp - returns current unspent skill points
// Stats/Skills - can return current stat/skill levels or points spent in stats/skills
statname - returns current level of stat
statnamep - returns points spent in stat
skillname - returns current level of skill
skillnamep - returns points spent in skill
// Example:
mentality - returns current Mentality level
mentalityp - returns points spents in Mentality
hunter - returns current Hunter level
hunterp - returns points spent in Hunter
// Resource Info - can return total resources gathered
resourcetype - returns total gather amount of specific resource
//Example:
wood - returns total wood gathered
--------------------------------------------------
// Added A new Hook for Research related plugins to use specifically for the tech tree.
// Example expects thee item rarity value casted as a double and the player
var cost = 0;
if (XPerience != null && XPerience.IsLoaded)
cost = XPerience.Call<int>("OnResearchCostDetermineHook", (double)rarirtyvalue, player);