giveExp

open fun giveExp(expAmount: Double)(source)

Gives player the amount of experience specified.

This method affects to total experience, which means that it can change both level and experience. Never use negative amount to decrease exp, use takeExp instead.

Parameters

expAmount

Exp amount to give

See also

Throws

If player-related object not exists