LMBishop / Quests

Questing plugin for Minecraft, enabling the addition of goals for players.
https://www.spigotmc.org/resources/23696/
GNU General Public License v3.0
177 stars 85 forks source link

Vehicles count into "walking" type #692

Closed Albert481 closed 2 months ago

Albert481 commented 4 months ago

Description of Bug

tasks:
  misc:
    type: "walking"
    distance: 100000

Using vehicles (boats, cart, horse) will count into this. Players could exploit this by afking in a minecart and go in circles.

Steps to Reproduce

  1. Start walking quest
  2. Get into any vehicle
  3. Profit

Environment

Agreements

Other

No response

Krakenied commented 4 months ago

whats your version

Albert481 commented 4 months ago

Quests v3.15-b636bef

Krakenied commented 4 months ago

Firstly, I recommend using a bit newer dev build (https://github.com/LMBishop/Quests/actions/runs/9851056265). Secondly, take a look at the docs: https://quests.leonardobishop.com/task-types/walking-(task-type).html. By default, it accepts any mode. You need to specify one. Also, the docs for this task type are kinda outdated (I will update it), modes available now are: boat, camel, donkey, horse, llama, minecart, mule, pig, skeleton_horse, strider, zombie_horse, sneaking, walking, running, swimming, flying, elytra.