From ef2562beea26bb434f556ce1d500fc46ac2bea5c Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 8 May 2024 22:38:45 +0100 Subject: [PATCH 1/4] Sort Triggers --- docs/effects/all-triggers.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/effects/all-triggers.md b/docs/effects/all-triggers.md index ab5f4e1c25..a50a880dbc 100644 --- a/docs/effects/all-triggers.md +++ b/docs/effects/all-triggers.md @@ -10,19 +10,19 @@ 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 | @@ -45,8 +45,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 +67,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 +84,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 | From 8bd0fcd5020cc3848156a6a35ea0d528b2be4230 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 8 May 2024 22:41:11 +0100 Subject: [PATCH 2/4] Update the-item-lookup-system.md --- docs/all-plugins/the-item-lookup-system.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/all-plugins/the-item-lookup-system.md b/docs/all-plugins/the-item-lookup-system.md index 541dea9f9d..c63a996472 100644 --- a/docs/all-plugins/the-item-lookup-system.md +++ b/docs/all-plugins/the-item-lookup-system.md @@ -70,7 +70,7 @@ You can use items from my other plugins anywhere using The Item Lookup system. | EcoArmor | `ecoarmor:set__` (Optional: `_advanced`)
`ecoarmor:shard_`
`ecoarmor:upgrade_crystal_` | ## 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:}` +If you want to use a lookup item in MythicMobs, just do it like this: `eco{type=}`, e.g. `eco{type=ecoitems:}` ## Using items in ShopGUIPlus If you want to use a lookup item in ShopGUIPlus, just do it like this: @@ -95,8 +95,8 @@ items: display_name: '&9Custom Helmet' ``` Using this in the Item Lookup System would look like: `itemsadder:my_items__my_helmet`. -### Oxaren -To use custom items from Oxaren, you can use `oxaren:`. +### Oraxen +To use custom items from Oraxen, you can use `oraxen:`. ### ItemBridge To use custom items from ItemBridge, you can use `itembridge:saved__`. If it's an item from a supported plugin, it's `itembridge:__` From ddeff3de6d14af5bb0970616797fee481fb48b66 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 8 May 2024 22:41:18 +0100 Subject: [PATCH 3/4] Update points.md --- docs/effects/points.md | 36 ++++++++++++------------------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/docs/effects/points.md b/docs/effects/points.md index fa692c2c8f..06e1d3d88f 100644 --- a/docs/effects/points.md +++ b/docs/effects/points.md @@ -3,31 +3,19 @@ title: "The Points System" sidebar_position: 8 --- -Points are similar to currencies, however they exist purely as a way to keep track of something in a player. For -example, lets say you want the player to have to used an item a certain amount of times in order to use another one - -you would be able to keep track of this with a point. +Points are similar to currencies, however they exist purely as a way to keep track of something in a player. For example, lets say you want the player to have to used an item a certain amount of times in order to use another one - you would be able to keep track of this with a point. -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. +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. +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 -## Placeholders +| Point Type | Placeholder | Description | +| ------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| 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` -You can get the value of a point with the following placeholder: - -`%libreforge_points_%` - -## Global Points - -There are also global points, which belong to the server rather than to the player. - -You can get the value of these with `%libreforge_global_points_%` - -## Item Points - -Item Points exist too - instead of belonging to the player or the server, they belong to items. - -You can get the value of these with `%libreforge_item_points_%` - \ No newline at end of file +Usage: `/libreforgepoints give ` \ No newline at end of file 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 4/4] 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 |