Plugin Help How to make configuration for upgade plugin?

Discussion in 'Plugin Help/Development/Requests' started by zhenyavka, Dec 22, 2018.

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

    zhenyavka

    Hello, I want to create an upgrade system in the config, but for me it is difficult. I need to check whether there is a sword in the player's hand which is in the config and then replace it with another from the config, I will be very grateful if you help.
    Code:
    Sword:
    level: 1
      material: WOOD_SWORD
      name: Beautiful Sword
      lore: sword-1
      enchant: SHARPNESS 1
    level: 2
    material: STONE_SWORD
      name: Super Sword
      lore: sword-2
      enchant: SHARPNESS 1
     
  2. Offline

    KarimAKL

    @zhenyavka Current code? What do you have trouble with?
     
Thread Status:
Not open for further replies.

Share This Page