/Quest

Opening the source from one of my cancelled commission.

Primary LanguagePHPApache License 2.0Apache-2.0

Quest

Opening the source from one of my cancelled commission.

Demo video: https://www.youtube.com/watch?v=_aDHyfgpFiE

Features

  • Config-customizable quests.
  • Categorizable quests.
  • NPC dialogue with popping text.
  • Automatically installs SimpleNPC.
name: Harvest 750 carrots and 100 potatoes
dialog:
  title: Farmer
  content:
    |-
    Harvest 750 carrots, 100 potatoes and come back.
  buttons:
    - label: Claim
      quest:button_remove: [ ]
task:
  # quest:collect = Remove the item once obtain
  quest:obtain:
    minecraft:carrot:
      amount: 750
    minecraft:potato:
      amount: 100
reward:
  quest:commands:
    - givemoney {player} 5000

Task types

API

Potential problems

  • The popping text of NPC dialogue might bloat the server network and lag players. There is currently NO interface to disable the popping text. (But a "Skip" button is provided to players.)