šŸŖ„Sell Wands

An easy and convenient way to sell items directly to the market.

Nascraft has an integrated system of wands to sell directly to the market.

To start using this system, simply enable it in the config:

config.yml
# ...
sell-wands:
  enabled: true

Once the wands are enabled you have to configure yours.

Sell wands have a list of properties:

  • material of the physical item

  • display-material and lore of the item. You can use [USES] and [PROFIT] as placeholders, in case they are limited.

  • enchanted - can be true of false. It adds the glowing effect of enchanted items.

  • multiplier that will be applied when selling.

  • cooldown in seconds between uses. Wands have three seconds of delay in case no cooldown is specified.

  • uses - in case you want to limit the number of uses of the wand.

  • max-profit - limits the revenue the wand can create (With the multiplier applied)

  • permission - optionally set a permission to be able to use it.

  • currencies - you can limit the currencies that work with a wand.

Once you have your wand configured, to get a copy just use /givesellwand [ID] or /givesellwand [user] [ID]


These are the default examples of pre-configured wands:

Remember that these are just examples! You can modify them, delete them or add more if you want.

  • BASIC WAND: Has ten uses and requires the permission 'nascraft.wand.basic'

  • PERMANENT WAND: As its not limited by uses nor by a max-profit, it has unlimited uses. It has the downside of having a multiplier of 0.5, effectively halving profits from it. It also has 300 seconds (5 min) of cooldown between uses. It requires a permission: 'nascraft.wand.advanced'

  • MILLONAIRE WAND: In this case this wand its limited at one millon of profits. It has a positive multiplier of 1.5 (+50%). And again, it requires a permission. In this case: 'nascraft.wand.millonaire'

config.yml
# ...
sell-wands:
  enabled: true
  wands:
    # ID - Just the identifier.
    basic:
      material: 'stick'
      # Recommended site to follow the format: https://webui.advntr.dev/
      display-name: '<b><gradient:#19e312:#a3e300>BASIC WAND</gradient></b>'
      lore:
        - '<b><gradient:#00eeff:#2e69ff>āµ RIGHT CLICK</gradient></b> <color:#517d58>to estimate value.</color>'
        - '<b><gradient:#ff383b:#ff2403>āµ LEFT CLICK</gradient></b> <color:#517d58>a container to</color>'
        - '<color:#517d58>sell all its content to the market!</color>'
        - ' '
        - '<color:#517d58>Uses left:</color> <b><color:#a3e300>[USES]</color></b>'
      # Maximum uses of the wand. Alternatively you can place a limit on
      # the quantity of the sells. See "MILLONAIRE WAND".
      # If you don't set any of these, the wand can be used without limits. (See "PERMANENT WAND").
      uses: 10
      # Permission to use this specific wand. If not defined, no permission will be required.
      permission: 'nascraft.wand.basic'

    permanent:
      material: 'blaze_rod'
      enchanted: true
      display-name: '<b><gradient:#e74cf5:#f51d41>PERMANENT WAND</gradient></b>'
      lore:
        - '<b><gradient:#00eeff:#2e69ff>āµ RIGHT CLICK</gradient></b> <color:#8077ba>to estimate value.</color>'
        - '<b><gradient:#ff383b:#ff2403>āµ LEFT CLICK</gradient></b> <color:#8077ba>a container to</color>'
        - '<color:#8077ba>sell all its content to the market</color>'
        - '<color:#8077ba>for <b><color:#ff2403>50%</color></b> of its value.</color>'
        - '<i><color:#343d66>āŒ› 5 minutes of cooldown between uses.</color></i>'
        - ' '
        - '<b><gradient:#f51d41:#e74cf5>UNLIMITED USES</gradient><b>'
      multiplier: 0.5
      # Limit the currencies with which this wand works.
      currencies:
        - 'vault'
      # Set a minimum cooldown between uses in seconds.
      cooldown: 300 # 300/60 = 5 min of cooldown.
      permission: 'nascraft.wand.advanced'

    millionaire:
      material: 'blaze_rod'
      enchanted: true
      display-name: '<b><gradient:#F57E00:#EFF551>MILLIONARIE WAND</gradient></b>'
      lore:
        - '<b><gradient:#ff383b:#ff2403>āµ LEFT CLICK</gradient></b> <color:#85784D>to estimate value.</color>'
        - '<b><gradient:#00eeff:#2e69ff>āµ RIGHT CLICK</gradient></b> <color:#85784D>a container to</color>'
        - '<color:#85784d>sell all its content to the market</color>'
        - '<color:#85784d>for <color:#EFF551>150%</color> its value.</color>'
        - ' '
        - '<color:#85784d>Left to sell:</color> <b>[PROFIT-LEFT]</b>'
      currencies:
        - 'vault'
      # With this wand you can sell a maximum of 1.000.000$ (Including the multiplier) worth of items.
      max-profit: 1000000
      multiplier: 1.5
      permission: 'nascraft.wand.millonaire'
      # Change which click will be used to each action. Use 'none' to disable.
      # By default: sell: left estimate: right
      sell: 'right'
      estimate: 'left'
      

Last updated