From 8db588b0fc3ff079a0d93f9eb7c05b5169bcfe04 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Tue, 30 Apr 2024 23:05:33 +0100 Subject: [PATCH] AxEnvoy Integration --- .gitignore | 7 ++++++- docs/all-plugins/what-plugins-do-you-support.md | 1 + docs/effects/all-filters/envoy_type.md | 12 ++++++++++++ docs/effects/all-triggers.md | 15 ++++++++------- 4 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 docs/effects/all-filters/envoy_type.md diff --git a/.gitignore b/.gitignore index b869feb85e..1dc080bcaa 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,9 @@ yarn-debug.log* yarn-error.log* .idea -/.idea* \ No newline at end of file +/.idea* +docs/.obsidian/app.json +docs/.obsidian/appearance.json +docs/.obsidian/core-plugins-migration.json +docs/.obsidian/core-plugins.json +docs/.obsidian/workspace.json diff --git a/docs/all-plugins/what-plugins-do-you-support.md b/docs/all-plugins/what-plugins-do-you-support.md index d0d46396d4..0c0d84f3dd 100644 --- a/docs/all-plugins/what-plugins-do-you-support.md +++ b/docs/all-plugins/what-plugins-do-you-support.md @@ -71,3 +71,4 @@ If a plugin isn't on this list, it doesn't mean it wont work, it just means that - Essentials - CustomCrafting - Model Engine +- AxEnvoy diff --git a/docs/effects/all-filters/envoy_type.md b/docs/effects/all-filters/envoy_type.md new file mode 100644 index 0000000000..5f4a187284 --- /dev/null +++ b/docs/effects/all-filters/envoy_type.md @@ -0,0 +1,12 @@ +# `envoy_type` + +The list of envoy types that the effect should activate against + +**Requires AxEnvoy** + +# Example Config +```yaml +filters: + envoy_type: + - common # The ID of the crate type (axenvoy/crates/.yml) +``` diff --git a/docs/effects/all-triggers.md b/docs/effects/all-triggers.md index ab5f4e1c25..771514fea3 100644 --- a/docs/effects/all-triggers.md +++ b/docs/effects/all-triggers.md @@ -10,23 +10,24 @@ Triggered effects also produce a value, which can be referenced with [their plac and are used in plugins like EcoSkills, EcoPets, EcoJobs (etc) for levelling. | ID | Description | Value Provided | -|---------------------------------|-------------------------------------------------------------------------------------------------------------------|-----------------------------------------------| +| ------------------------------- | ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------- | | `alt_click` | Triggered when using Right Click on most items, Left Click on those that have a default right click functionality | 1 | | `bite` | Triggered when a fish bites on your rod | 1 | | `block_item_drop` | Triggered when a mined block drops loot | The amount of items dropped | | `bow_attack` | Triggered when shooting an entity with a bow and arrow (or crossbow) | The damage dealt | | `breed` | Triggered when breeding entities together | The experience received | -| `brew_ingredient` | Same as `brew`, but passes the ingredient as the item | 1 | | `brew` | Triggered when brewing a potion in a brewing stand | 1 | +| `brew_ingredient` | Same as `brew`, but passes the ingredient as the item | 1 | | `buy_item` | Triggered when buying an item in a shop **Requires EcoShop** | The price | | `cast_rod` | Triggered when casting a fishing line | 1 | | `catch_entity` | Triggered when hooking onto an entity with a fishing rod | 1 | -| `catch_fish_fail` | Triggered when failing to catch a fish | 1 | | `catch_fish` | Triggered when catching a fish | The experience dropped | +| `catch_fish_fail` | Triggered when failing to catch a fish | 1 | | `change_armor` | Triggered when changing armor | 1 | | `change_world` | Triggered when changing world | 1 | | `click_block` | Triggered when right-clicking on a block | 1 | | `click_entity` | Triggered when right-clicking on an entity | 1 | +| `collect_envoy` | Triggered when collecting an envoy crate **Requires AxEnvoy** | 1 | | `complete_advancement` | Triggered when completing an advancement | 1 | | `complete_quest` | Triggered when completing a quest **Requires EcoQuests** | 1 | | `complete_task` | Triggered when completing a task **Requires EcoQuests** | 1 | @@ -45,8 +46,8 @@ and are used in plugins like EcoSkills, EcoPets, EcoJobs (etc) for levelling. | `entity_break_door` | Triggered when an entity breaks a door | 1 | | `entity_catch_fire_from_block` | Triggered when an entity catches fire from a block | 1 | | `entity_catch_fire_from_entity` | Triggered when an entity catches fire from an entity | 1 | -| `entity_damage_by_entity` | Triggered when an entity takes damage from another entity | The damage taken | | `entity_damage` | Triggered when an entity takes damage | The damage taken | +| `entity_damage_by_entity` | Triggered when an entity takes damage from another entity | The damage taken | | `entity_death` | Triggered when an entity dies | 1 | | `entity_item_drop` | Triggered when a killed entity drops loot | The amount of items dropped | | `entity_spawn` | Triggered when an entity spawns | 1 | @@ -67,14 +68,14 @@ and are used in plugins like EcoSkills, EcoPets, EcoJobs (etc) for levelling. | `hook_in_ground` | Triggered when a fishing rod hook hits the ground | 1 | | `item_break` | Triggered when breaking any item in your inventory (durability) | 1 | | `jobs_level_up` | Triggered when levelling up a job **Requires Jobs Reborn** | The new level | -| `join_job` | Triggered when joining a job **Requires EcoJobs** | The job level | | `join` | Triggered when joining the server | 1 | +| `join_job` | Triggered when joining a job **Requires EcoJobs** | The job level | | `jump` | Triggered when Jumping (pressing space) | 1 | | `kill` | Triggered when a player kills a player or entity | The victim's max health | +| `leave` | Triggered when leaving the server | 1 | | `leave_bed` | Triggered when leaving a bed | 1 | | `leave_job` | Triggered when leaving a job **Requires EcoJobs** | The job level | | `leave_region` | Triggered when leaving a region **Requires WorldGuard** | 1 | -| `leave` | Triggered when leaving the server | 1 | | `left_click_npc` | Triggered when left-clicking an NPC **Requires Citizens** | 1 | | `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 | @@ -84,8 +85,8 @@ and are used in plugins like EcoSkills, EcoPets, EcoJobs (etc) for levelling. | `lose_hunger` | Triggered when losing hunger | The hunger lost | | `lose_potion_effect` | Triggered when losing a potion effect | 1 | | `melee_attack` | Triggered when injuring an entity with a melee attack | The damage dealt | -| `mine_block_progress` | Triggered when damaging a block | 1 | | `mine_block` | Triggered when mining a block | 1 | +| `mine_block_progress` | Triggered when damaging a block | 1 | | `move` | Triggered on all movement: looking around, walking | The distance moved | | `pick_up_item` | Triggered when picking up an item | The amount of items | | `place_block` | Triggered when placing a block | 1 |