From 7065642d976989be055edb7985c66eca3967c196 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Tue, 4 Feb 2025 18:04:56 +0000 Subject: [PATCH] Update _example.yml --- .../src/main/resources/jobs/_example.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/eco-core/core-plugin/src/main/resources/jobs/_example.yml b/eco-core/core-plugin/src/main/resources/jobs/_example.yml index b37ec7e..73200dc 100644 --- a/eco-core/core-plugin/src/main/resources/jobs/_example.yml +++ b/eco-core/core-plugin/src/main/resources/jobs/_example.yml @@ -27,6 +27,13 @@ join-price: # Reference with %join_lore% join-lore: [] +# A list of effects to run when the player joins the job. +# Read https://plugins.auxilor.io/effects/configuring-an-effect +join-effects: + - id: broadcast + args: + message: "&8» &a%player% &8joined the &6Miner &8job!" + # The price to leave this job (set to 0 to disable) # Read here for more: https://plugins.auxilor.io/all-plugins/prices leave-price: @@ -39,6 +46,13 @@ leave-price: leave-lore: - " &8» This will cost %leave_price%" +# A list of effects to run when the player leaves the job. +# Read https://plugins.auxilor.io/effects/configuring-an-effect +leave-effects: + - id: send_message + args: + message: "&8» &8You left the &6Miner &8job!" + # There are two ways to specify level XP requirements: # 1. A formula to calculate for infinite levels # 2. A list of XP requirements for each level