Skip to main content

The Points System

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.

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 TypePlaceholderDescription
Points%libreforge_points_<point>%A general point that can be used to keep track of something per-player. (e.g. times jumped, zombies killed, etc.) You can also use this points within Prices, to easily create cost based systems.
Global Points%libreforge_global_points_<point>%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_<point>%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

CommandDescriptionPermission
/libreforge points set <player> <point_id> <value>Set points value for the player/globallibreforge.command.points.set
/libreforge points give <player> <point_id> <value>Give points to the player/globallibreforge.command.points.give
/libreforge points take <player> <point_id> <value>Take points from the player/globallibreforge.command.points.take
/libreforge points get <player> <point_id>Get's the balance/value of pointslibreforge.command.points.get
/libreforge points reset <player> <point_id>Reset the point value back to 0libreforge.command.points.reset

To change global points, pass global as the player name.

Effects System

Points are seamlessly integrated into the effects system. Below, you'll find a list of all available effects and conditions.

EffectTypeLink
add_global_pointsEffectLink
add_pointsEffectLink
give_global_pointsEffectLink
give_item_pointsEffectLink
give_pointsEffectLink
multiply_global_pointsEffectLink
multiply_item_pointsEffectLink
multiply_pointsEffectLink
above_global_pointsConditionLink
below_global_pointsConditionLink
global_points_equalConditionLink
above_pointsConditionLink
below_pointsConditionLink
points_equalConditionLink
item_points_aboveConditionLink
item_points_belowConditionLink
item_points_equalConditionLink