NightExpress's Plugins Wiki

Adds a way to earn money for the players by selling custom QRPG items.

Features:

  • Price modifier for item level.
  • Increase price for item type.
  • Price modifier for Item Stat.
  • Price modifier for Damage Types.
  • Price modifier for Defense Types.
  • Increase price for refine level.
  • Increase price for item sockets.
  • Increase price for filled item sockets.
  • Increase price for module item ID.
  • Sell GUI with total price preview..

Media:

Settings.yml

Default module settings are described HERE.

cfg_version: 1.0.0
command-aliases: sell
messages-output: ACTION_BAR

price:
  # Price modifier for item level by Module Type.
  level-modifier:
    GEMS: 1.25
  # Price for item Material.
  item-types:
    DIAMOND_SWORD: 500
    EMERALD: 300
  # Price for one Item Stat point on the item.
  item-stats:
    CRITICAL_RATE: 5
    DIRECT_DAMAGE: 5.0
    AOE_DAMAGE: 5.0
    PVP_DAMAGE: 5.0
    PVE_DAMAGE: 5.0
    DODGE_RATE: 5.0
    ACCURACY_RATE: 5.0
    BLOCK_RATE: 5.0
    BLOCK_DAMAGE: 5.0
    LOOT_RATE: 5.0
    BURN_RATE: 5.0
    PVP_DEFENSE: 5.0
    PVE_DEFENSE: 5.0
    CRITICAL_DAMAGE: 5.0
    DURABILITY: 5.0
    DURABILITY_UNBREAK: 5.0
    MOVEMENT_SPEED: 5.0
    PENETRATION: 5.0
    ATTACK_SPEED: 5.0
    VAMPIRISM: 5.0
    MAX_HEALTH: 5.0
    BLEED_RATE: 5.0
    DISARM_RATE: 5.0
    RANGE: 5.0
    THORNMAIL: 5.0
    HEALTH_REGEN: 5.0
    MANA_REGEN: 5.0
  # Price for each item refine level.
  refine-levels:
    '1': 25
    '2': 35
    '3': 50
  # Price per one item defense.
  armor-types:
    physical: 3
    magical: 2.0
    poison: 2.0
    fire: 2.0
    water: 2.0
    wind: 2.0
  # Price per one item damage of max. damage type.
  damage-types:
    physical: 4
    magical: 2.0
    poison: 2.0
    fire: 2.0
    water: 2.0
    wind: 2.0
  # Price for item sockets.
  item-sockets:
    GEM: 50.0
    ESSENCE: 75.0
    RUNE: 100.0
  enchants: {}
  # Price for module items
  item-modules:
    # Module Type.
    ACTIVE_ITEMS:
      # Module Item ID. Put default to define the price for items not listed here.
      default: 50.0
      scroll-of-damage: 50.0

# GUI Format
# %cost% - Total cost.
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_black:
      material: BLACK_STAINED_GLASS_PANE:0:1
      skull-hash: ''
      enchanted: false
      name: ''
      lore: []
      slots: 45,46,47,48,49,50,51,52,53
      type: NONE
    sell:
      material: LIME_STAINED_GLASS_PANE:0:1
      skull-hash: ''
      enchanted: false
      name: '&2« &aSell &2»'
      lore:
      - '&f» &7Total cost:             &f%cost%$'
      - '&8&m                                      '
      - '&7Sell all items in GUI.'
      slots: '49'
      type: ACCEPT
Navigation