Command Task
This task triggers when a player executes a command.
warning
These achievements are limited to only 1 tier.
- v2.0
- v1.0
RegEx is supported. Example configuration:
achievements/survival/challenges.yml
mayor:
type: COMMAND
settings:
# Matches any town name
command: "^town create .+$"
name: "Mayor"
description:
- "&fCreate your own town!"
tiers:
1:
required-amount: 1
rewards:
- type: points
amount: 10
It's necessary to set the command
property. RegEx is supported.
Example configuration:
achievements/survival/achievements.yml
mayor:
type: COMMAND
# Matches any town name
command: "^town create .+$"
name: "Mayor"
description:
- "&fCreate your own town!"
tiers:
1:
required-amount: 1
points: 10