-
Notifications
You must be signed in to change notification settings - Fork 33
Placeholders
Youenn "SkytAsul" Le Jeune edited this page Jun 20, 2024
·
2 revisions
The plugin has an internal placeholders system.
Those placeholders may be used in stage description messages, in most in-game messages, in quest description...
Most of them are contextual: it means for instance that the stage placeholders are only available in the context of a stage description (shown in scoreboard, in GUI...).
Warning
This list is not yet exhaustive
-
quest
: name and id of the quest, in formatname (#id)
quest_name
quest_id
-
quest_description
: description of the quest, or nothing if not defined
npc_name
npc_id
- all placeholders from Quest
stage_type
-
stage_rewards
: amount of rewards of the stage -
stage_requirements
: amount of requirements of the stage
- all placeholders from Stages
-
mobs
: preformatted information about the entities, following thestage description.item formats
section inconfig.yml
-
mobs_remaining
: amount of mobs remaining for the action -
mobs_done
: amount of mobs for which the action have already been done -
mobs_total
: total amount of mobs for the action -
mobs_percentage
: percentage of mobs done / total mobs -
mobs_name
: name of the mobs for the action
- all placeholders from Stages
-
<object_type>
,<object_type>_remaining|done|total|percentage|name
: informations about the objects, see "Entity stage" -
<object_type>_<id>_remaining|done|total|percentage|name
: informations about theid
-th object, see "Entity stage"
- all placeholders from Entity stages
- all placeholders from "Talk to NPC" stage
-
items
: formatted list of items, following thestage description
section inconfig.yml
- all placeholders from Stages
-
bucket_type
: name of the bucket to fill -
buckets
,buckets_remaining|done|total|percentage|name
: informations about the buckets, see "Entity stage"
- all placeholders from Stages
-
text
: text to write in the chat
- all placeholders from Stages
-
items
,items_remaining|done|total|percentage|name
: informations about the items to craft, see "Entity stage"
- all placeholders from Stages
-
damage_remaining|done|total|percentage
: informations about the damage, see "Entity stage" -
target_mobs
: list of mobs applicable for this stage
- all placeholders from Stages with multiple
mobs
- all placeholders from Stages
- all placeholders from NPC
-
dialog_npc_name
: name of the NPC. Either the real NPC's name, or the custom one if set in the dialog editor.
🚧 Wiki is Work In Progress
Please note that the Wiki pages are currently under rewriting and are, for most of them, outdated.
❓ Questions, issues, or ideas?
Join the official Plugin Support Discord server by SkytAsul: https://discord.gg/H8fXrkD