Quests icon indicating copy to clipboard operation
Quests copied to clipboard

Add task type "moneypay"

Open Nesseley opened this issue 4 years ago • 0 comments

Reason for Addition

Would be nice to have an easy way for the player to pay some money to a certain task. You can earn money, and have a set amount of money, but theres no way to do this easy in the config, I could set a command to take money from the player, but what if the player doesn't have enough money? Quest wont know that.

Description of Feature

In the tasks: portion of the quest:

moneypay:
  type: "moneypay"
  amount: 100

As an example that the player will pay 100 when the rest of the quest tasks are finished, or on completion.

Alternative Solutions

I tried working around this by using the permission type, but that was extremely tedious as I had to use another plugin to execute a command and test if the player had enough money before giving out the perm, and I ran into a problem where Quest didn't register that the player got the perm anyway. (currently awaiting help in Discord for the perm thing) So I got stuck :/

Agreements

  • [X] I am running the latest version of Quests
  • [X] I am certain this issue is unique and a similar issue is not currently open

Other

No response

Nesseley avatar Sep 08 '21 08:09 Nesseley