Skip to content

XP Collector


Store XP orbs around itself, and can also store player XP if right clicked

Functions Description
dumpXP() Deletes all stored XP
getCurrentXP() Get a number representing the amount of XP stored

dumpXP()


Description

Deletes all stored XP

Returns

  1. boolean - The state of the operation
  2. string - Error message, If there is a failure on the operation

getCurrentXP()


Description

Get a number representing the amount of XP stored

Returns

  1. integer - the amount of xp stored