NightExpress's Plugins Wiki

Allows to resolve QPRG items to get the source materials.

Features:

  • Create source for each item module.
  • Define the item level range for each table.
  • The output may be as custom items and commands.
  • Resolve GUI with result preview.
  • Define the chance for each source item.​

Resolve Tools:

  • Use resolve tools for the 'fast' resolve.
  • Immediately resolves the item without openning GUI.
  • Requirements for the target item such as level and type.
  • Define the amount of tool uses depends on it's level.​

Media:

Settings.yml

Default module settings are described HERE.

command-aliases: resolve
messages-output: ACTION_BAR

item-format:
  name: '%item_name%'
  lore:
  - '%item_lore%'

gui:
  title: '&4&l<&4&nResolve&4&l>'
  size: 54
  item-slot: 2
  source-slot: 6
  result-slots: 28,29,30,31,32,33,34,37,38,39,40,41,42,43
  content:
    filler_black:
      material: BLACK_STAINED_GLASS_PANE:0:1
      skull-hash: ''
      enchanted: false
      name: ''
      lore: []
      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,35,36,44,45,46,47,48,49,50,51,52,53
      type: NONE
    filler_yellow:
      material: YELLOW_STAINED_GLASS_PANE:0:1
      skull-hash: ''
      enchanted: false
      name: ''
      lore: []
      slots: 3,5
      type: NONE
    filler_orange:
      material: ORANGE_STAINED_GLASS_PANE:0:1
      skull-hash: ''
      enchanted: false
      name: ''
      lore: []
      slots: 4,13
      type: NONE
    hopper-result:
      material: HOPPER:0:1
      skull-hash: ''
      enchanted: false
      name: '&6Result'
      lore: []
      slots: '22'
      type: NONE
    accept:
      material: LIME_STAINED_GLASS_PANE:0:1
      skull-hash: ''
      enchanted: false
      name: '&a&l&nAccept'
      lore:
      - '&7The item will be resolved'
      - '&7and you will get some source'
      - '&7materials of that.'
      - '&8&m                                              '
      slots: '8'
      type: ACCEPT
    exit:
      material: RED_STAINED_GLASS_PANE:0:1
      skull-hash: ''
      enchanted: false
      name: '&c&l&nCancel'
      lore: []
      slots: '0'
      type: EXIT

Source Tables

All source tables must be stored in /source/ folder. You can create only 1 table for each item-module!

Each table must have it's own .yml file!


# Module type, item from which will use this table.
module: GEMS

# Level range for module items.
# Items with level that are not in the range, won't be able to resolve.
level-range:
  min: 1
  max: 3

items:
  # Must be a valid module item ID! Or it can be 'default' for the items which are not listed here.
  default: 
    # Custom unique name.
    example:
      # Chance the player will give this item after resolve.
      chance: 100.0
      # Result item. Default item settings are described HERE.
      item:
        material: 'EMERALD:0:1'
        name: '&aEmerald'
        lore: []
      # Commands to run. See HERE for commands guide.
      commands: 
      - '[CONSOLE] give %p sulphur 1'
      # Item GUI preview. This item is only to show the 'result' in GUI, it won't be given! Default item settings are described HERE.
      preview:
        material: 'EMERALD:0:1'
        name: '&aEmerald &7(100%)'
        lore: []
        enchant: false
    sulphur:
      chance: 25.0
      item:
        material: 'GUNPOWDER:0:1'
      commands: []
      preview:
        material: 'GUNPOWDER:0:1'
        name: '&8Sulphur &7(25%)'
        lore: []
        enchant: false
    nugget:
      chance: 15.0
      commands:
      - eco give %p 50
      preview:
        material: 'GOLD_NUGGET:0:1'
        name: '&e50$ &7(15%)'
        lore: []
        enchant: false

Items

Default module item settings and placeholders are described HERE.

Item Module Types: Interactive + Leveled + Limited.

# Default item settings
material: SHEARS:0:1
name: '&0&fResolve Tool %rlevel%'
lore:
- '&8&m               &f  「 INFO 」  &8&m               '
- '&7Tier: &fCommon'
- '&7Uses: &f%uses%&7/&f%uses-max%'
- '&8&m              &f  「 USAGE 」  &8&m              '
- '&7Drag & Drop onto item to resolve.'
item-flags:
- '*'

# Min. and max. item level
min-level: 1
max-level: 5

# Amount of uses on each item level
uses-by-level:
  '1': 1
  '2': 3
Navigation