Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
CubeCrafter72 committed Sep 28, 2024
1 parent 8a41f75 commit 96d5724
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 22 deletions.
4 changes: 2 additions & 2 deletions docs/epicachievements/commands-and-permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ sidebar_position: 3

### Admin Commands

- `/achievements setprogress <player> <achievement> <progress>` <br/>
- `/achievements progress <player> <achievement> <set/add/remove> <amount>` <br/>
Sets the progress of an achievement for a player.

- `/achievements unlock <player> <achievement>` <br/>
- `/achievements unlock <player> <achievement> [tier]` <br/>
Unlocks an achievement for a player.

- `/achievements reset <player> [achievement/category/rewards] [id]` <br/>
Expand Down
6 changes: 5 additions & 1 deletion docs/epicachievements/configuration/achievements.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ builder:
description:
- "&fPlace blocks."
# (Optional) Permission required to progress in the achievement
# permission: achievements.builder
permission: achievements.builder
# Required achievements to progress in this achievement
required-achievements:
- miner
- farmer

# Conditions: See https://wiki.pixelstudios.dev/epicachievements/configuration/conditions
blocks:
Expand Down
2 changes: 2 additions & 0 deletions docs/epicachievements/configuration/categories.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ global:
description:
- '&7Achievements that can be completed'
- '&7across all servers.'
# (Optional) The permission required to access the category
permission: achievements.global
# A list of servers where the achievements can be completed
servers:
- ALL
Expand Down
40 changes: 21 additions & 19 deletions docs/epicachievements/placeholders/internal-placeholders.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,34 @@
| `{category_id}` | The category's unique identifier |
| `{category_name}` | The category's name |
| `{category_description}` | The description of the category |
| `{category_permission}` | The permission required to access the category |
| `{category_achievements}` | The number of achievements in the category |
| `{category_item}` | The material of the item displayed in the main menu |
| `{category_item_slot}` | The slot of the item displayed in the main menu |
| `{category_servers}` | The servers where the achievements can be completed |

### Achievement Placeholders

| Placeholder | Description |
|-------------------------------------|--------------------------------------------------------|
| `{achievement_id}` | The achievement's unique identifier |
| `{achievement_name}` | The achievement's name |
| `{achievement_description}` | The achievement's description |
| `{achievement_type}` | The achievement's type (challenge / tiered) |
| `{achievement_type_name}` | The name of the achievement's type |
| `{achievement_task}` | The achievement's task type |
| `{achievement_progress}` | The player's progress in the achievement |
| `{achievement_progress_percentage}` | The percentage of progress in the achievement |
| `{achievement_progress_bar}` | A progress bar that displays the current progress |
| `{achievement_permission}` | The permission required to progress in the achievement |
| `{tier}` | The tier number |
| `{tier_roman}` | The tier number in roman numerals |
| `{tier_requirement}` | The requirement to complete the tier |
| `{tier_points}` | The points awarded when completing the tier |
| `{tier_rewards}` | The list of rewards |
| `{tier_progress_percentage}` | The percentage of progress in the tier |
| `{tier_progress_bar}` | A progress bar that displays the current tier progress |
| Placeholder | Description |
|---------------------------------------|----------------------------------------------------------|
| `{achievement_id}` | The achievement's unique identifier |
| `{achievement_name}` | The achievement's name |
| `{achievement_description}` | The achievement's description |
| `{achievement_type}` | The achievement's type (challenge / tiered) |
| `{achievement_type_name}` | The name of the achievement's type |
| `{achievement_task}` | The achievement's task type |
| `{achievement_progress}` | The player's progress in the achievement |
| `{achievement_progress_percentage}` | The percentage of progress in the achievement |
| `{achievement_progress_bar}` | A progress bar that displays the current progress |
| `{achievement_permission}` | The permission required to progress in the achievement |
| `{achievement_required_achievements}` | The achievements required to progress in the achievement |
| `{tier}` | The tier number |
| `{tier_roman}` | The tier number in roman numerals |
| `{tier_requirement}` | The requirement to complete the tier |
| `{tier_points}` | The points awarded when completing the tier |
| `{tier_rewards}` | The list of rewards |
| `{tier_progress_percentage}` | The percentage of progress in the tier |
| `{tier_progress_bar}` | A progress bar that displays the current tier progress |

### Reward Level Placeholders

Expand Down

0 comments on commit 96d5724

Please sign in to comment.