Pages » Qrpg » Modules » Sell


Commands

Command Arguments Description Player only Permission(s)
/sell open -
[player]
[player] [force(true/false)]
Opens Sell GUI.
Opens Sell GUI to specified player.
Force opens Sell GUI to specified player.
Yes
No
No
quantumrpg.sell.cmd.open

Permissions

Permission Description
quantumrpg.sell Full access to Sell module.
quantumrpg.sell.cmd Access to all Sell commands.
quantumrpg.sell.gui Allows to use Sell GUI.

Settings.yml

# Item price depends on stats.
price-list:
  # Price for Item Stats.
  # Formula is: price * stat
  by-item-stats:
    DIRECT_DAMAGE: 0.0
    AOE_DAMAGE: 0.0
    PVP_DAMAGE: 0.0
  # Price for Damage Types.
  # Formula is: price * damage
  by-damage-types:
    magical: 0.0
    fire: 0.0
    poison: 0.0
    water: 0.0
    wind: 0.0
    physical: 0.0
  # Price for Defense Types.
  # Formula is: price * defense
  by-defense-types:
    physical: 0.0
    magical: 0.0
    fire: 0.0
    poison: 0.0
    water: 0.0
    wind: 0.0
  # Price for Socket Types.
  by-socket-types:
    GEM:
      common: 0.0
      rare: 0.0
    RUNE:
      default: 0.0
    ESSENCE:
      default: 0.0
  # Price for enchantments by enchant levels.
  # Sell will always use the greatest key less than or equal to the item level.
  by-enchant-level:
    fire_protection:
      '1': 0.0
      '2': 0.0
      '3': 0.0
    sharpness:
      '1': 0.0
      '2': 0.0
      '3': 0.0
      '4': 0.0
  # Price by item identifier and module.
  by-item-id-level:
    # Name of the QRPG module, the source of the item.
    gems:
      # Item identified of the module above.
      # Sell will always use the greatest key less than or equal to the item level.
      emerald_of_health:
        '1': 0.0
      diamond_of_damage:
        '1': 0.0
      iron_nugget_of_defense:
        '1': 0.0
      gold_nugget_of_agility:
        '1': 0.0
    essences:
      light_trail:
        '1': 0.0
      magic_helix:
        '1': 0.0

# Sell GUI.
gui:
  title: '&4&l<&4&nSelling&4&l>'
  size: 54
  item-slots: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44
  content:
    filler_yellow:
      material: YELLOW_STAINED_GLASS_PANE
      name: '&7'
      slots: 45,46,52,53
      type: NONE
    filler_orange:
      material: ORANGE_STAINED_GLASS_PANE
      name: '&7'
      slots: 47,51
      type: NONE
    filler_red:
      material: RED_STAINED_GLASS_PANE
      name: '&7'
      slots: 48,50
      type: NONE
    sell:
      material: EMERALD
      skull-hash: ''
      enchanted: false
      name: '&2« &aSell &2»'
      lore:
      - '&eTotal cost:             &6$%cost%'
      - '&8&m                                      '
      - '&7Sell all items in GUI.'
      slots: '49'
      type: ACCEPT
18+