From 4a4df3b87f10c19ce7b8db8721663da901020d5d Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 17 Jul 2024 18:29:49 +0100 Subject: [PATCH 1/5] rearranged to make sense --- docs/ecoscrolls/how-to-make-a-scroll.md | 30 +++++++++++++------------ 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/docs/ecoscrolls/how-to-make-a-scroll.md b/docs/ecoscrolls/how-to-make-a-scroll.md index 68776dea5b..3419d9eeaf 100644 --- a/docs/ecoscrolls/how-to-make-a-scroll.md +++ b/docs/ecoscrolls/how-to-make-a-scroll.md @@ -28,17 +28,16 @@ conflicts: [ ] # The conflicts that the scroll has with other scrolls # The scroll(s) that must be applied to the item before this scroll can be applied requirements: - - scroll: my_requirement_scroll # The scroll to require + - scroll: my_requirement_scroll # The ID of scroll to require level: 2 # The level required (optional) -# If inscribing this scroll should remove the required scrolls -remove-requirements: false +remove-requirements: false # If inscribing this scroll should remove the required scrolls max-level: 1 # The max level of the scroll max-uses: 1 # The amount of times the scroll can be used # Item placeholders for dynamic lore in plugins like EcoItems -# The placeholder is %ecoscrolls_scroll__%, e.g. -# %ecoscrolls_scoll_example_bonus% +# The placeholder is %ecoscrolls_scroll_:%, e.g. +# %ecoscrolls_scroll_example:bonus% placeholders: bonus: "%level% * 2" @@ -68,15 +67,11 @@ item: # Options for inscribing items with the scroll inscription: - # The conditions required to inscribe the item - # not-met-effects will run if someone tries to inscribe the item without meeting the conditions - conditions: [ ] - - # The effects that will be run when the item is inscribed - effects: [ ] + inscription-table: true # If the scroll can be applied to items via the inscription table + drag-and-drop: true # If the scroll can be applied to items via drag-and-drop # Read https://plugins.auxilor.io/all-plugins/prices - # The price to inscribe the ite + # The price to inscribe the item price: value: 100 type: coins @@ -85,8 +80,15 @@ inscription: # The formula to multiply the price depending on the level. # The %level% placeholder is the *current* level of the scroll price-level-multiplier: "1 + %level% * 0.5" - drag-and-drop: true # If the scroll can be applied to items via drag-and-drop - inscription-table: true # If the scroll can be applied to items via the inscription table + + # The conditions required to inscribe the item + # not-met-effects will run if someone tries to inscribe the item without meeting the conditions + conditions: [ ] + + # The effects that will be run when the item is inscribed + # If your scroll works by modifying the item (e.g. adding enchantments, changing durability), + # then put those effects here. + effects: [ ] ``` ## Understanding all the sections From 86472f6b65c63acd2ec4f9f76d518830ded529d7 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 17 Jul 2024 18:31:35 +0100 Subject: [PATCH 2/5] Update how-to-make-a-scroll.md --- docs/ecoscrolls/how-to-make-a-scroll.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/ecoscrolls/how-to-make-a-scroll.md b/docs/ecoscrolls/how-to-make-a-scroll.md index 3419d9eeaf..ed261bbf80 100644 --- a/docs/ecoscrolls/how-to-make-a-scroll.md +++ b/docs/ecoscrolls/how-to-make-a-scroll.md @@ -16,6 +16,12 @@ ID's must be lowercase letters, numbers, and underscores only. ## Example Scroll Config ```yaml +# The ID of the scroll is the name of the .yml file, +# for example coins_on_kill.yml has the ID of coins_on_kill +# You can place scrolls anywhere in this folder, +# including in subfolders if you want to organize your scroll configs +# _example.yml is not loaded. + name: "&6Example Scroll" # The name of the scroll lore: # The lore added to items when inscribed with the scroll - "" From 1542521094b75a1b54ecb89cc342ee1709ff49b8 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 17 Jul 2024 18:36:16 +0100 Subject: [PATCH 3/5] Update how-to-make-a-scroll.md --- docs/ecoscrolls/how-to-make-a-scroll.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/ecoscrolls/how-to-make-a-scroll.md b/docs/ecoscrolls/how-to-make-a-scroll.md index ed261bbf80..c540a42bdb 100644 --- a/docs/ecoscrolls/how-to-make-a-scroll.md +++ b/docs/ecoscrolls/how-to-make-a-scroll.md @@ -122,10 +122,6 @@ requirements: **placeholders:** Dynamic custom placeholders to show in the lore of other items (`%ecoscrolls_scroll__%`). -**effects:** Effects for the scroll to give. See [Effects & Conditions](https://plugins.auxilor.io/ecoscrolls/how-to-make-a-custom-scrollt#effects--conditions) - -**conditions:** Conditions for the scroll to work. See [Effects & Conditions](https://plugins.auxilor.io/ecoscrolls/how-to-make-a-custom-scrollt#effects--conditions) - ### Effects & Conditions The effects section is the core functionality of the EcoScroll. You can configure effects, conditions, filters, mutators and triggers in this section to run whilst the inscribed item is held or used. From b292525a70267bf12884e1d4aa696977b73d7f82 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 17 Jul 2024 18:37:34 +0100 Subject: [PATCH 4/5] extra tweaks --- docs/ecoitems/commands-and-permissions.md | 2 +- docs/effects/all-triggers.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ecoitems/commands-and-permissions.md b/docs/ecoitems/commands-and-permissions.md index 2fee672157..d280326780 100644 --- a/docs/ecoitems/commands-and-permissions.md +++ b/docs/ecoitems/commands-and-permissions.md @@ -6,7 +6,7 @@ sidebar_position: 3 ## `/ecoitems give` (Give players items) Permission: `ecoitems.commands.give` -General Usage: `/ecoitemsgive [amount]` +General Usage: `/ecoitems give [amount]` For example, if you wanted to give a player a reaper scythe, you would do: `/ecoitems give reaper_scythe` diff --git a/docs/effects/all-triggers.md b/docs/effects/all-triggers.md index ff3063569f..8b689acd59 100644 --- a/docs/effects/all-triggers.md +++ b/docs/effects/all-triggers.md @@ -66,6 +66,7 @@ and are used in plugins like EcoSkills, EcoPets, EcoJobs (etc) for levelling. | `heal` | Triggered when regaining health | The health regained | | `hold_item` | Triggered when changing your held item | 1 | | `hook_in_ground` | Triggered when a fishing rod hook hits the ground | 1 | +| `inscribe` | Triggered when inscribing a scroll **Requires EcoScrolls** | 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` | Triggered when joining the server | 1 | @@ -120,7 +121,6 @@ and are used in plugins like EcoSkills, EcoPets, EcoJobs (etc) for levelling. | `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 **Requires Paper** | The damage dealt | +| `try_inscribe` | Triggered when attempting to inscribe a scroll **Requires EcoScrolls** | 1 | | `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 | -| `inscribe` | Triggered when inscribing a scroll **Requires EcoScrolls** | 1 | -| `try_inscribe` | Triggered when attempting to inscribe a scroll **Requires EcoScrolls** | 1 | From dbfadd7a64c64e0aa1e83e1e04a15d8a1992d4a2 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 17 Jul 2024 18:39:28 +0100 Subject: [PATCH 5/5] Update the-item-lookup-system.md --- docs/all-plugins/the-item-lookup-system.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/all-plugins/the-item-lookup-system.md b/docs/all-plugins/the-item-lookup-system.md index 0d5ae71f36..60c128f7c2 100644 --- a/docs/all-plugins/the-item-lookup-system.md +++ b/docs/all-plugins/the-item-lookup-system.md @@ -65,16 +65,17 @@ So, lets say you have an EcoMobs mob, and you want it to drop a rare custom weap ## Using items from my other plugins You can use items from my other plugins anywhere using The Item Lookup system. -| Plugin | Item Lookup Key | -|------------------|---------------------------------------------------------------------------------------------------------------------| -| EcoItems | `ecoitems:` | -| Talismans | `talismans:` | -| EcoMobs | `ecomobs:_spawn_egg` | -| EcoPets | `ecopets:_spawn_egg` | -| StatTrackers | `stattrackers:` | +| Plugin | Item Lookup Key | +| ------------ | ------------------------------------------------------------------------------------------------------------------- | +| EcoArmor | `ecoarmor:set__` (Optional: `_advanced`)
`ecoarmor:shard_`
`ecoarmor:upgrade_crystal_` | | EcoCrates | `ecocrates:_key` | +| EcoItems | `ecoitems:` | +| EcoMobs | `ecomobs:_spawn_egg` | +| EcoPets | `ecopets:_spawn_egg` | +| EcoScrolls | `ecoscrolls:scroll_` | | Reforges | `reforges:stone_` | -| EcoArmor | `ecoarmor:set__` (Optional: `_advanced`)
`ecoarmor:shard_`
`ecoarmor:upgrade_crystal_` | +| StatTrackers | `stattrackers:` | +| Talismans | `talismans:` | ## Using items in MythicMobs If you want to use a lookup item in MythicMobs, just do it like this: `eco{type=}`, e.g. `eco{type=ecoitems:}`