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] 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