From 55588760af3f4cebdd42a3702178aec28f24aac0 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 8 May 2024 22:44:12 +0100 Subject: [PATCH 01/16] added AxEnvoy --- docs/all-plugins/what-plugins-do-you-support.md | 1 + docs/effects/all-filters/envoy_type.md | 12 ++++++++++++ docs/effects/all-triggers.md | 1 + 3 files changed, 14 insertions(+) create mode 100644 docs/effects/all-filters/envoy_type.md diff --git a/docs/all-plugins/what-plugins-do-you-support.md b/docs/all-plugins/what-plugins-do-you-support.md index ea2f21f708..d2774baa3f 100644 --- a/docs/all-plugins/what-plugins-do-you-support.md +++ b/docs/all-plugins/what-plugins-do-you-support.md @@ -75,3 +75,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..c08f0ba603 --- /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 a50a880dbc..771514fea3 100644 --- a/docs/effects/all-triggers.md +++ b/docs/effects/all-triggers.md @@ -27,6 +27,7 @@ and are used in plugins like EcoSkills, EcoPets, EcoJobs (etc) for levelling. | `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 | From fd6d88f6ff0c4341ae747081d4998c7f2b7c58fc Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 8 May 2024 23:00:29 +0100 Subject: [PATCH 02/16] added is_alive --- docs/effects/all-conditions/is_alive.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/effects/all-conditions/is_alive.md diff --git a/docs/effects/all-conditions/is_alive.md b/docs/effects/all-conditions/is_alive.md new file mode 100644 index 0000000000..e5ce8a7840 --- /dev/null +++ b/docs/effects/all-conditions/is_alive.md @@ -0,0 +1,8 @@ +# `is_alive` + +Requires the player to be alive + +# Example Config +```yaml +- id: is_alive +``` \ No newline at end of file From e4246e38ed9f931afaef246d3f77024fd220adb3 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 8 May 2024 23:02:15 +0100 Subject: [PATCH 03/16] added is_submerged --- docs/effects/all-conditions/is_submerged.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/effects/all-conditions/is_submerged.md diff --git a/docs/effects/all-conditions/is_submerged.md b/docs/effects/all-conditions/is_submerged.md new file mode 100644 index 0000000000..4ebbd336a2 --- /dev/null +++ b/docs/effects/all-conditions/is_submerged.md @@ -0,0 +1,8 @@ +# `is_submerged` + +Requires a player to be fully submerged in liquid + +# Example Config +```yaml +- id: is_submerged +``` From 026606221b79d4c1c1dd584125c69c3acda55c8d Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 8 May 2024 23:03:41 +0100 Subject: [PATCH 04/16] Update near_entity --- docs/effects/all-conditions/near_entity.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/effects/all-conditions/near_entity.md b/docs/effects/all-conditions/near_entity.md index cfb7212634..ad60b5aa9d 100644 --- a/docs/effects/all-conditions/near_entity.md +++ b/docs/effects/all-conditions/near_entity.md @@ -10,4 +10,5 @@ Requires a player to be within a certain radius of an entity - zombie - ecomobs:illusioner radius: 25 # The radius + amount: 5 # (Optional) The minimum amount of listed entities ``` From efdd21c4ae23f88f3df2b0ddd945096f9643c638 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 8 May 2024 23:05:32 +0100 Subject: [PATCH 05/16] Update smelt trigger --- docs/effects/all-triggers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/effects/all-triggers.md b/docs/effects/all-triggers.md index a50a880dbc..269aac5fcb 100644 --- a/docs/effects/all-triggers.md +++ b/docs/effects/all-triggers.md @@ -31,7 +31,7 @@ and are used in plugins like EcoSkills, EcoPets, EcoJobs (etc) for levelling. | `complete_quest` | Triggered when completing a quest **Requires EcoQuests** | 1 | | `complete_task` | Triggered when completing a task **Requires EcoQuests** | 1 | | `consume` | Triggered on item consumption | 1 | -| `craft` | Triggered when crafting an item | 1 | +| `craft` | Triggered when crafting an item | The amount of items crafted | | `damage_item` | Triggered when damaging an item | The damage | | `death` | Triggered on death from any sources | 1 | | `disable` | Triggered when an item / enchant / etc disables | 1 | From 69a2e95cc1f1cfa46ea41fa8acafefbbedc69f02 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 8 May 2024 23:33:57 +0100 Subject: [PATCH 06/16] Updated How-To-Make-A-Skill Include `every` arg and example --- docs/ecoskills/how-to-make-a-skill.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/ecoskills/how-to-make-a-skill.md b/docs/ecoskills/how-to-make-a-skill.md index fed5d9b28a..3b2c766bb7 100644 --- a/docs/ecoskills/how-to-make-a-skill.md +++ b/docs/ecoskills/how-to-make-a-skill.md @@ -120,14 +120,22 @@ rewards: levels: 1 every: 1 -# Effects to run when an item levels up -# %level% is the level the item leveled up to. +# Effects to run when the skill levels up +# %level% is the level the skill leveled up to. # If you want to restrict this to certain levels, you can use # require: %level% = 20, or require: %level% < 50, etc. +# If you want a reward to run every x levels, you can use +# every: 1, or every: 12, etc level-up-effects: - id: give_money args: amount: 1000 * %level% + - id: give_item + args: + items: + - diamond + every: 5 # Gives the reward every 5 levels + require: %level% = 5 # Requires level 5 before receiving rewards # Custom placeholders to be used in descriptions, # Don't add % to the IDs, this is done automatically From 021ec2d6225d4dbaf25a6b8ab59dfd0291804d02 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Sat, 11 May 2024 00:14:37 +0100 Subject: [PATCH 07/16] Update value_below.md --- docs/effects/all-filters/value_below.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/effects/all-filters/value_below.md b/docs/effects/all-filters/value_below.md index 882e10f362..5a15effa20 100644 --- a/docs/effects/all-filters/value_below.md +++ b/docs/effects/all-filters/value_below.md @@ -1,4 +1,4 @@ -# `value_above` +# `value_below` Require the trigger value to be less than a certain amount From 9de0ccc051ef43c5b12955b1c7366f7a71d7d502 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sun, 23 Jun 2024 14:24:47 +0100 Subject: [PATCH 08/16] Added 1.21 modifiers --- docs/all-plugins/the-item-lookup-system.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/all-plugins/the-item-lookup-system.md b/docs/all-plugins/the-item-lookup-system.md index c63a996472..802e99113f 100644 --- a/docs/all-plugins/the-item-lookup-system.md +++ b/docs/all-plugins/the-item-lookup-system.md @@ -40,7 +40,7 @@ You can specify the amount of any item by having a space and then a number (the When using exact item NBT, you can't use `?`. `||`, or other modifiers. ## Modifiers -Items can have modifiers applied to them in the key. For example, lets say you're configuring the GUI for EcoSkills. You want it to be a player head with a texture, but you're not sure how to do that, because it looks like you have to just specify a material. Actually, in all of my plugins, wherever it asks for a material, it's actually doing a lookup. You can specify any of the following modifiers to it: +Items can have modifiers applied to them in the key. For example, lets say you're configuring the GUI for EcoSkills. You want it to be a player head with a texture, but you're not sure how to do that, because it looks like you have to just specify a material. Actually, in all eco plugins, wherever it asks for a material, it's actually doing a lookup. You can specify any of the following modifiers to it: - **Enchantments:** You specify an enchantment by adding `:` to the key, and you can chain these together - **Skull Texture:** If the material is a player head, you can specify the texture with `texture:`. A list of skulls and textures can be found [here](https://minecraft-heads.com/). - **Player Head:** If the material is a player head, you can specify a player using `head:`. You can also use placeholders, e.g. `head:%player%` @@ -49,10 +49,17 @@ Items can have modifiers applied to them in the key. For example, lets say you'r - **Item Flags:** You can specify flags for the item to have, by dropping in any of [these values](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemFlag.html) (not case sensitive) - **Unbreakable:** You can make an item unbreakable by having the word `unbreakable` in the flags - **Custom Model Data:** You can specify custom model data with `custom-model-data:` -- **Armor Trims:** You can specify armor trims with `trim::`, e.g. `trim:emerald:snout` - **Spawner Entity:** You can specify the spawner entity with `entity:` - **Leather Armor Color:** You can specify the leather armor color with `color:#hex`, e.g. `color:#303030` +These modifiers are only available on Paper 1.21+: +- **Armor Trims:** You can specify armor trims with `trim::`, e.g. `trim:emerald:snout` +- **Fire Resistance:** You can make an item fire resistant with `fire_resistant` +- **Enchantment Glint:** You can give an enchantment glint with `glint` +- **Item Name:** You can set the item name (different to display name) with `item_name:` +- **Durability:** You can set the item durability with `max_damage:` +- **Stack Size:** You can set the max stack size with `max_stack_size:` + So, lets say you have an EcoMobs mob, and you want it to drop a rare custom weapon with extra modifiers already applied. Without the Item Lookup system, this wouldn't be possible, but thanks to it, you can just do this: `ecoitems:enlightened_blade razor:4 unbreaking:3 criticals:2 fire_aspect:2 reforge:mighty unbreakable hide_attributes custom-model-data:2` ## Using items from my other plugins From 820db844a07ce634a378057de81905552db3e6c3 Mon Sep 17 00:00:00 2001 From: Will FP <38837418+WillFP@users.noreply.github.com> Date: Sun, 23 Jun 2024 14:33:25 +0100 Subject: [PATCH 09/16] Removed play.ecomc.net --- docs/home.mdx | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/home.mdx b/docs/home.mdx index c43160e703..d23f2d9036 100644 --- a/docs/home.mdx +++ b/docs/home.mdx @@ -4,9 +4,6 @@ slug: / sidebar_position: 1 --- -## Want to try out the plugins? -My server, `play.ecomc.net`, runs all the eco plugins so you can see how they integrate with your server and each other. Have a look around! - ## Where should I buy the plugins? All plugins are available on [Spigot](https://www.spigotmc.org/resources/authors/auxilor.507394/) and [Polymart](https://polymart.org/user/auxilor.1107), and you can buy plugins at a 25% discount in a bundle, too - [click here to get them!](https://polymart.org/bundle/eco-pack.110) From b98c8e6af49d830cd4591c1d7814217dee039ef1 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 24 Jun 2024 14:24:20 +0100 Subject: [PATCH 10/16] Updated trident_attack to require paper --- docs/effects/all-triggers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/effects/all-triggers.md b/docs/effects/all-triggers.md index 269aac5fcb..e481c0c856 100644 --- a/docs/effects/all-triggers.md +++ b/docs/effects/all-triggers.md @@ -117,6 +117,6 @@ and are used in plugins like EcoSkills, EcoPets, EcoJobs (etc) for levelling. | `toggle_flight` | Triggered when changing the flight state | 1 | | `toggle_sneak` | Triggered when changing the sneak state | 1 | | `toggle_sprint` | Triggered when changing the sprint state | 1 | -| `trident_attack` | Triggered on injuring an entity with a thrown trident | The damage dealt | +| `trident_attack` | Triggered on injuring an entity with a thrown trident **Requires Paper** | The damage dealt | | `villager_trade` | Triggered when trading with a villager **Requires Paper** | The experience the villager gains | | `win_raid` | Triggered when a player wins a raid | The level of bad omen | From 5741b8a30b70accb2d1e85cfe3a9f8e5c456d123 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 24 Jun 2024 15:00:57 +0100 Subject: [PATCH 11/16] Added 1.21 attribute effects --- docs/effects/all-effects/block_reach.md | 13 +++++++++++++ docs/effects/all-effects/entity_reach.md | 13 +++++++++++++ docs/effects/all-effects/gravity_multiplier.md | 13 +++++++++++++ docs/effects/all-effects/increase_step_height.md | 13 +++++++++++++ .../effects/all-effects/jump_strength_multiplier.md | 13 +++++++++++++ docs/effects/all-effects/mining_efficiency.md | 13 +++++++++++++ docs/effects/all-effects/mining_speed_multiplier.md | 13 +++++++++++++ .../all-effects/movement_efficiency_multiplier.md | 13 +++++++++++++ .../all-effects/sneaking_speed_multiplier.md | 13 +++++++++++++ .../underwater_mining_speed_multiplier.md | 13 +++++++++++++ 10 files changed, 130 insertions(+) create mode 100644 docs/effects/all-effects/block_reach.md create mode 100644 docs/effects/all-effects/entity_reach.md create mode 100644 docs/effects/all-effects/gravity_multiplier.md create mode 100644 docs/effects/all-effects/increase_step_height.md create mode 100644 docs/effects/all-effects/jump_strength_multiplier.md create mode 100644 docs/effects/all-effects/mining_efficiency.md create mode 100644 docs/effects/all-effects/mining_speed_multiplier.md create mode 100644 docs/effects/all-effects/movement_efficiency_multiplier.md create mode 100644 docs/effects/all-effects/sneaking_speed_multiplier.md create mode 100644 docs/effects/all-effects/underwater_mining_speed_multiplier.md diff --git a/docs/effects/all-effects/block_reach.md b/docs/effects/all-effects/block_reach.md new file mode 100644 index 0000000000..091a735b0f --- /dev/null +++ b/docs/effects/all-effects/block_reach.md @@ -0,0 +1,13 @@ +# `block_reach` +#### Permanent Effect + +Adds reach for interacting with blocks + +**Requires 1.21+** + +# Example Config +```yaml +- id: block_reach + args: + reach: 1 # The extra block reach +``` \ No newline at end of file diff --git a/docs/effects/all-effects/entity_reach.md b/docs/effects/all-effects/entity_reach.md new file mode 100644 index 0000000000..50b66162e2 --- /dev/null +++ b/docs/effects/all-effects/entity_reach.md @@ -0,0 +1,13 @@ +# `entity_reach` +#### Permanent Effect + +Adds reach for interacting with entities + +**Requires 1.21+** + +# Example Config +```yaml +- id: entity_reach + args: + reach: 1 # The extra entity reach +``` \ No newline at end of file diff --git a/docs/effects/all-effects/gravity_multiplier.md b/docs/effects/all-effects/gravity_multiplier.md new file mode 100644 index 0000000000..14ccec2897 --- /dev/null +++ b/docs/effects/all-effects/gravity_multiplier.md @@ -0,0 +1,13 @@ +# `gravity_multiplier` +#### Permanent Effect + +Multiplies gravity + +**Requires 1.21+** + +# Example Config +```yaml +- id: gravity_multiplier + args: + multiplier: 0.5 # The multiplier for gravity +``` \ No newline at end of file diff --git a/docs/effects/all-effects/increase_step_height.md b/docs/effects/all-effects/increase_step_height.md new file mode 100644 index 0000000000..f5a0aee070 --- /dev/null +++ b/docs/effects/all-effects/increase_step_height.md @@ -0,0 +1,13 @@ +# `increase_step_height` +#### Permanent Effect + +Increases the amount of blocks you can walk over without jumping + +**Requires 1.21+** + +# Example Config +```yaml +- id: increase_step_height + args: + height: 1 # The extra step height +``` \ No newline at end of file diff --git a/docs/effects/all-effects/jump_strength_multiplier.md b/docs/effects/all-effects/jump_strength_multiplier.md new file mode 100644 index 0000000000..fc47800af0 --- /dev/null +++ b/docs/effects/all-effects/jump_strength_multiplier.md @@ -0,0 +1,13 @@ +# `jump_strength_multiplier` +#### Permanent Effect + +Multiplies jump strength + +**Requires 1.21+** + +# Example Config +```yaml +- id: jump_strength_multiplier + args: + multiplier: 2.1 # The multiplier for jump strength +``` \ No newline at end of file diff --git a/docs/effects/all-effects/mining_efficiency.md b/docs/effects/all-effects/mining_efficiency.md new file mode 100644 index 0000000000..0189e9c64b --- /dev/null +++ b/docs/effects/all-effects/mining_efficiency.md @@ -0,0 +1,13 @@ +# `mining_efficiency` +#### Permanent Effect + +Adds mining efficiency (mining speed when using the correct tool) + +**Requires 1.21+** + +# Example Config +```yaml +- id: mining_efficiency + args: + amount: 5 # The extra mining efficiency +``` \ No newline at end of file diff --git a/docs/effects/all-effects/mining_speed_multiplier.md b/docs/effects/all-effects/mining_speed_multiplier.md new file mode 100644 index 0000000000..f0744f63fe --- /dev/null +++ b/docs/effects/all-effects/mining_speed_multiplier.md @@ -0,0 +1,13 @@ +# `mining_speed_multiplier` +#### Permanent Effect + +Multiplies mining speed + +**Requires 1.21+** + +# Example Config +```yaml +- id: mining_speed_multiplier + args: + multiplier: 1.1 # The multiplier for mining speed +``` \ No newline at end of file diff --git a/docs/effects/all-effects/movement_efficiency_multiplier.md b/docs/effects/all-effects/movement_efficiency_multiplier.md new file mode 100644 index 0000000000..8f9621b0a8 --- /dev/null +++ b/docs/effects/all-effects/movement_efficiency_multiplier.md @@ -0,0 +1,13 @@ +# `movement_efficiency_multiplier` +#### Permanent Effect + +Multiplies movement speed through difficult terrain + +**Requires 1.21+** + +# Example Config +```yaml +- id: movement_efficiency_multiplier + args: + multiplier: 1.5 # The multiplier for movement efficiency +``` \ No newline at end of file diff --git a/docs/effects/all-effects/sneaking_speed_multiplier.md b/docs/effects/all-effects/sneaking_speed_multiplier.md new file mode 100644 index 0000000000..7bce9f0469 --- /dev/null +++ b/docs/effects/all-effects/sneaking_speed_multiplier.md @@ -0,0 +1,13 @@ +# `sneaking_speed_multiplier` +#### Permanent Effect + +Multiplies sneaking speed + +**Requires 1.21+** + +# Example Config +```yaml +- id: sneaking_speed_multiplier + args: + multiplier: 2 # The multiplier for sneaking speed +``` \ No newline at end of file diff --git a/docs/effects/all-effects/underwater_mining_speed_multiplier.md b/docs/effects/all-effects/underwater_mining_speed_multiplier.md new file mode 100644 index 0000000000..af46e43fba --- /dev/null +++ b/docs/effects/all-effects/underwater_mining_speed_multiplier.md @@ -0,0 +1,13 @@ +# `underwater_mining_speed_multiplier` +#### Permanent Effect + +Multiplies underwater mining speed + +**Requires 1.21+** + +# Example Config +```yaml +- id: underwater_mining_speed_multiplier + args: + multiplier: 2 # The multiplier for underwater mining speed +``` \ No newline at end of file From 72ac6e76a0ed3ec81e4452b396f4a5fa5816feb0 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Mon, 24 Jun 2024 21:56:05 +0100 Subject: [PATCH 12/16] smol update for args in ecoskills --- docs/ecoquests/how-to-make-a-task.md | 10 ++++++---- docs/ecoskills/how-to-make-a-skill.md | 12 +++++++----- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/docs/ecoquests/how-to-make-a-task.md b/docs/ecoquests/how-to-make-a-task.md index a00101fd7c..1004e281bc 100644 --- a/docs/ecoquests/how-to-make-a-task.md +++ b/docs/ecoquests/how-to-make-a-task.md @@ -24,11 +24,13 @@ description: "&fBreak stone blocks (&a%xp%&8/&a%required-xp%&f)" # The descripti # The 'multiplier' takes the value produced by the trigger and multiplies it # Alternatively, you can use 'value' to count a specific number and not a multiplier xp-gain-methods: - - trigger: mine_block # See list of triggers: https://plugins.auxilor.io/effects/all-triggers - multiplier: 1 # You can also use "value" here (see above comment) - filters: # (Optional) Example of using filters in tasks + - trigger: mine_block + multiplier: 0.5 # You can also use "value" here (see above comment) + args: # (Optional) + chance: 50 + filters: # (Optional) blocks: - - stone + - netherrack # An optional list of effects to run when a player completes the task # Read here: https://plugins.auxilor.io/effects/configuring-an-effect diff --git a/docs/ecoskills/how-to-make-a-skill.md b/docs/ecoskills/how-to-make-a-skill.md index 3b2c766bb7..ec854ee082 100644 --- a/docs/ecoskills/how-to-make-a-skill.md +++ b/docs/ecoskills/how-to-make-a-skill.md @@ -174,17 +174,19 @@ reward-messages: - " &8ยป &r&6%ecoskills_dynamic_mining_name% %ecoskills_dynamic_mining_numeral%" - " %ecoskills_dynamic_mining_description%" -# An XP gain method takes a trigger, a multiplier, conditions, and filters. +# An XP gain method takes a trigger, a multiplier, conditions, args and filters. # The 'multiplier' takes the value produced by the trigger and multiplies it # Alternatively, you can use 'value' to count a specific number and not a multiplier xp-gain-methods: - - trigger: break_block + - trigger: mine_block multiplier: 0.5 # You can also use "value" here (see above comment) - filters: + args: # (Optional) + chance: 50 + filters: # (Optional) blocks: - netherrack - - trigger: break_block + - trigger: mine_block multiplier: 1 filters: blocks: @@ -236,7 +238,7 @@ level-up-effects: **reward-messages:** Messages to send in chat on level up. -**xp-gain-methods:** The trigger, multiplier/value, conditions and filters that will award skill XP. +**xp-gain-methods:** The trigger, multiplier/value, conditions, args and filters that will award skill XP. **conditions:** Global conditions that must be met to gain skill XP. See [Configuring a Condition](https://plugins.auxilor.io/effects/configuring-a-condition). From abbd462de447fb7e085fdbdc2de89b46393b0af4 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Wed, 26 Jun 2024 16:47:34 +0100 Subject: [PATCH 13/16] safe_fall_distance --- docs/effects/all-effects/safe_fall_distance.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/effects/all-effects/safe_fall_distance.md diff --git a/docs/effects/all-effects/safe_fall_distance.md b/docs/effects/all-effects/safe_fall_distance.md new file mode 100644 index 0000000000..5391cfa36a --- /dev/null +++ b/docs/effects/all-effects/safe_fall_distance.md @@ -0,0 +1,13 @@ +# `safe_fall_distance` +#### Permanent Effect + +Increases/decreases the distance you can fall without taking damage + +**Requires 1.21+** + +# Example Config +```yaml +- id: safe_fall_distance + args: + distance: 10.5 # The extra distance +``` \ No newline at end of file From 4d14cc329395c534727e005191befd23f2bda01c Mon Sep 17 00:00:00 2001 From: Will FP <38837418+WillFP@users.noreply.github.com> Date: Thu, 27 Jun 2024 18:49:39 +0100 Subject: [PATCH 14/16] Update points.md --- docs/effects/points.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/effects/points.md b/docs/effects/points.md index 06e1d3d88f..bfec81b6b9 100644 --- a/docs/effects/points.md +++ b/docs/effects/points.md @@ -8,6 +8,7 @@ Points are similar to currencies, however they exist purely as a way to keep tra You can have as many different points as you want, the plugins will keep track of them automatically. Points are shared between plugins, too - so if you make a point in EcoItems, then you can use it in EcoPets, EcoJobs, etc. A point can hold any numeric value, including negatives and decimals, but of course how you decide to use them is completely up to you. + ## Point Types | Point Type | Placeholder | Description | @@ -15,7 +16,10 @@ A point can hold any numeric value, including negatives and decimals, but of cou | Points | `%libreforge_points_%` | A general point that can be used to keep track of something per-player. (e.g. times jumped, zombies killed, etc.) | | Global Points | `%libreforge_global_points_%` | A general point that keeps track of something globally/server-wide for all players. (e.g. zombies killed by all players.) | | Item Points | `%libreforge_item_points_%` | A point that is tied to a specific item and tracks data on the item. Useful for making tools with custom durability's or per-item stats (e.g zombies killed using this sword.) | + ## Commands ## `/libreforge points set/give/get/take` -Usage: `/libreforgepoints give ` \ No newline at end of file +Usage: `/libreforge points give ` + +To change global points, pass `global` as the player name. From ea04371155fa46890168f5b51661649ba3961ee0 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Fri, 28 Jun 2024 15:48:56 +0100 Subject: [PATCH 15/16] rotate_victim --- docs/effects/all-effects/rotate_victim.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docs/effects/all-effects/rotate_victim.md diff --git a/docs/effects/all-effects/rotate_victim.md b/docs/effects/all-effects/rotate_victim.md new file mode 100644 index 0000000000..47bf5565b8 --- /dev/null +++ b/docs/effects/all-effects/rotate_victim.md @@ -0,0 +1,12 @@ +# `rotate_victim` +#### Triggered Effect + +Spin the victim around + +# Example Config +```yaml +- id: rotate_victim + args: + angle: 180 # The angle to rotate / spin (in degrees) + ...other config (eg triggers, filters, mutators, etc) +``` From b11bbd2a69a2d6913ccf722a8ea5b1ed7f1533d3 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sat, 29 Jun 2024 16:37:06 +0100 Subject: [PATCH 16/16] Cooldown groups --- docs/effects/configuring-an-effect.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/effects/configuring-an-effect.md b/docs/effects/configuring-an-effect.md index e1d7823a2f..ef3c20f48f 100644 --- a/docs/effects/configuring-an-effect.md +++ b/docs/effects/configuring-an-effect.md @@ -67,6 +67,7 @@ The cooldown between effect activations, in seconds. (defaults to 0) ```yaml args: cooldown: 10 + cooldown_group: magic_abilities # (Optional) The cooldown group, if not specified the cooldown will be for this effect only send_cooldown_message: true # (Optional) If the cooldown message should be sent cooldown_message: "Custom cooldown message with %seconds% left" # (Optional) a custom cooldown message cooldown_effects: # (Optional) Effects to run if on cooldown