Quests icon indicating copy to clipboard operation
Quests copied to clipboard

对于position任务的坐标跟踪

Open mc5155 opened this issue 3 years ago • 3 comments

Description of Bug

请问position的任务坐标跟踪api是怎么

Steps to Reproduce

tasks: distancefrom: type: "distancefrom" x: 10171 y: 192 z: -3414 world: planet distance: 10 display: name: "&4挑战者 &8▪ &7到访七大洲(亚洲)" lore-normal: - "&7" - "" - "&4属性:" - "&8■ &7任务: &4到访七大洲(亚洲)." - "&8■ &7进度: &9{distancefrom:progress}/10."

Environment

No response

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
  • [X] I am using a version of Minecraft which is supported by Quests

Other

No response

mc5155 avatar Dec 11 '22 20:12 mc5155

在任务跟踪gui内无法显示玩家目前距离任务坐标的距离而导致不能完成任务 QQ截图20221212041601

mc5155 avatar Dec 11 '22 20:12 mc5155

Description of Bug

请问position的任务坐标跟踪api是怎么

Steps to Reproduce

tasks: distancefrom: type: "distancefrom" x: 10171 y: 192 z: -3414 world: planet distance: 10 display: name: "&4挑战者 &8▪ &7到访七大洲(亚洲)" lore-normal: - "&7" - "" - "&4属性:" - "&8■ &7任务: &4到访七大洲(亚洲)." - "&8■ &7进度: &9{distancefrom:progress}/10." - "" - "&2奖励:" - "&8■ &21 &2&lSkycoin" - "&8■ &32 &3&l服务器经验" - "&8■ &b头衔 &3 ?" - "" lore-started: - "&e▲ 任务已开始." type: "CLOCK"

Here you can list messages which will be sent to the player (if they are online) upon the quest starting.

startstring:

  • "&7该任务完成时,你将获得"
  • " &8■ &21 &2&lPlancash"
  • " &8■ &32 &3&l服务器经验" rewards:
  • "cmi money give {player} 1"
  • "levels addexp {player} 2"
  • "lp user {player} permission set ? true"

Here you can list messages which will be sent to the player (if they are online) upon completion.

rewardstring:

  • "&8+ &21 Plancash"

These placeholders are accessible using PlaceholderAPI, for example %quests_tracked_p:description%

They are useful for putting information about the players tracked quest on a scoreboard

You may want to keep the names of them the same for ALL quests for this use-case

options: category: "impossible" requires: [] repeatable: false cooldown: enabled: true time: 82600 sort-order: 18

Environment

No response

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
  • [x] I am using a version of Minecraft which is supported by Quests

Other

No response

mc5155 avatar Dec 11 '22 20:12 mc5155

What is the position's task coordinate tracking API?

In the task tracking gui can not display the player's current distance from the task coordinates and thus can not complete the task

The progress of the task doesn't update for performance reasons.

LMBishop avatar Jan 10 '23 15:01 LMBishop