GiveExpToTarget

GiveExpToTarget command

Works like AddExperience but grants the <Amount> of experience to the player or creature you are currently looking at, with <FromTribeShare> and <PreventSharingWithTribe> options.

Argument information
  • <Amount>type: number

    The amount of experience to give the player or creature in your crosshair.

  • <From Tribe Share>type: boolean

    1 to add the XP as if it came from a tribe share, 0 as if it was earned directly.

  • <Prevent Sharing With Tribe>type: boolean

    1 to give the XP only to the target player, 0 to share it with their tribe.

Command builder

Amount
From Tribe Share
Prevent Sharing With Tribe

Examples

This command grants 9,999 experience points to the player or creature you are currently looking at, granted directly rather than as tribe-shared XP (0), and shares the gained XP with the rest of the tribe (0).

Using cheats on a server

On a multiplayer server, authenticate first with enablecheats <password>, and prefix admin commands with admincheat instead of cheat.