XP Commands

Discussion in 'Plugin Requests' started by Invenstory, May 2, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    Invenstory

    Plugin name: CustomXPCommands [1.15.2]

    What this plugin supposed to do:
    A simple plugin that controls player's XP

    Commands - Permission:
    /xpc give (player) (amount) / xpc.admin / Give a specific amount of levels to a player
    /xpc remove (player) (amount) /xpc.admin / Remove a specific amount of levels from a player


    Thats all! take your time to make it
     
  2. Offline

    Stellrow

    Im pretty sure vanilla minecarft have those commands /xp
     
  3. Offline

    Invenstory

    I just want it with levels and not experience
     
  4. Offline

    KarimAKL

    @Invenstory You can change that. I haven't used it in a while so i'm used to the pre 1.13 syntax but, it should work like the following:
    1.13+
    Code:
    /xp <add|set> <player> <amount> [levels|points]
    Code:
    /xp query <player> [levels|points]
    For example:
    Code:
    /xp add <player> 20 points
    This adds 20 xp to the player.
    Code:
    /xp add <player> 20 levels
    This adds 20 levels to the player.

    pre 1.13
    Code:
    /xp <amount>[L] <player>
    Adding the L makes the amount levels.

    For example:
    Code:
    /xp 20 <player>
    This adds 20 xp to the player.
    Code:
    /xp 20L <player>
    This adds 20 levels to the player.

    To remove, you can probably add negative, although i don't really remember the command that well.
     
Thread Status:
Not open for further replies.

Share This Page