Skip to content

Commit

Permalink
Merge pull request #75 from Exanthiax/mcmmo_integration
Browse files Browse the repository at this point in the history
added new mcmmo integration
  • Loading branch information
WillFP authored Jan 31, 2025
2 parents 6cff776 + 4bd5378 commit a23a4d4
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 1 deletion.
13 changes: 13 additions & 0 deletions docs/effects/all-conditions/has_mcmmo_level.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# `has_mcmmo_level`

Requires a player to have a certain McMMO skill level

**Requires McMMO**

# Example Config
```yaml
- id: has_mcmmo_level
args:
skill: mining # The skill ID
level: 30 # The minimum level
```
14 changes: 14 additions & 0 deletions docs/effects/all-conditions/mcmmo_ability_on_cooldown.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# `mcmmo_ability_on_cooldown`

Requires an McMMO ability to be on cooldown

**Requires McMMO**

# Example Config
```yaml
- id: mcmmo_ability_on_cooldown
args:
abilities:
- serrated_strikes # The ID of the ability
- super_breaker
```
10 changes: 10 additions & 0 deletions docs/effects/all-filters/mcmmo_ability.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# `mcmmo_ability`

The list of [entities](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html) that the effect should activate against

# Example Config
```yaml
filters:
mcmmo_ability:
- super_breaker
```
2 changes: 1 addition & 1 deletion docs/effects/all-filters/skill.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Require a certain skill

**Requires EcoSkills**
**Requires EcoSkills or McMMO**

# Example Config
```yaml
Expand Down
5 changes: 5 additions & 0 deletions docs/effects/all-triggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ and are used in plugins like EcoSkills, EcoPets, EcoJobs (etc) for levelling.
| `fill_bucket` | Triggered when filling a bucket | 1 |
| `gain_hunger` | Triggered when gaining hunger points | The hunger gained |
| `gain_job_xp` | Triggered when gaining job experience points **Requires EcoJobs** | The experience gained |
| `gain_mcmmo_xp` | Triggered when gaining McMMO xp **Requires McMMO** | The xp gained |
| `gain_pet_xp` | Triggered when gaining pet experience points **Requires EcoPets** | The experience gained |
| `gain_skill_xp` | Triggered when gaining skill experience points **Requires EcoSkills** | The experience gained |
| `gain_task_xp` | Triggered when gaining task XP **Requires EcoQuests** | The experience gained |
Expand All @@ -78,13 +79,17 @@ and are used in plugins like EcoSkills, EcoPets, EcoJobs (etc) for levelling.
| `leave_job` | Triggered when leaving a job **Requires EcoJobs** | The job level |
| `leave_region` | Triggered when leaving a region **Requires WorldGuard** | 1 |
| `left_click_npc` | Triggered when left-clicking an NPC **Requires Citizens** | 1 |
| `level_down_mcmmo` | Triggered when levelling down McMMO skill **Requires McMMO** | The new level |
| `level_up_item` | Triggered when levelling up an item | The new item level |
| `level_up_job` | Triggered when levelling up a job **Requires EcoJobs** | The new level |
| `level_up_mcmmo` | Triggered when levelling up McMMO skill **Requires McMMO** | The new level |
| `level_up_pet` | Triggered when levelling up a pet **Requires EcoPets** | The new level |
| `level_up_skill` | Triggered when levelling up **Requires EcoSkills** | The new level |
| `level_up_xp` | Triggered when levelling up XP | The new level |
| `lose_hunger` | Triggered when losing hunger | The hunger lost |
| `lose_potion_effect` | Triggered when losing a potion effect | 1 |
| `mcmmo_ability_activate` | Triggered when an McMMO ability is activated **Requires McMMO** | 1 |
| `mcmmo_ability_deactivate` | Triggered when an McMMO ability is deactivated **Requires McMMO** | 1 |
| `melee_attack` | Triggered when injuring an entity with a melee attack | The damage dealt |
| `mine_block` | Triggered when mining a block | 1 |
| `mine_block_progress` | Triggered when damaging a block | 1 |
Expand Down

0 comments on commit a23a4d4

Please sign in to comment.