AdvancedPlugins / Jobs

AdvancedJobs is the ultimate Spigot Jobs Plugin that allows you to create your own custom jobs without any programming knowledge.
https://advancedplugins.net/item/AdvancedJobs.187/
2 stars 0 forks source link

Add Actions for EconomyShopGUI (free version) #40

Open Qaotix-BOSS opened 4 months ago

Qaotix-BOSS commented 4 months ago

Describe the feature

Hi,

Can you please add EconomyShopGUI actions? The same actions as you already did for ShopGuiPlus see below?

ShopGuiPlus - shopguiplus_buy

Triggered: When a player purchases an item from the shop. The progress will be the amount of items purchased

 Variables:

    root: The item that was purchased (e.g iron_sword:0)

    shop: The ID of the shop the item was purchased from (e.g foodstuffs) 

    item-id: The ID of the item in the shop (e.g 2, 6, or 8)

ShopGuiPlus - shopguiplus_buy_singular

Triggered: When a player purchases an item from the shop. The progress will always be 1

 Variables:

    root: The item that was purchased (e.g iron_sword:0)

    shop: The ID of the shop the item was purchased from (e.g foodstuffs) 

    item-id: The ID of the item in the shop (e.g 2, 6, or 8)

ShopGuiPlus - shopguiplus_spend

Triggered: When a player purchases an item from the shop. The progress will be the amount it cost the user rounded up to the nearest real number (2.4 -> 3)

 Variables:

    root: The item that was purchased (e.g iron_sword:0)

    shop: The ID of the shop the item was purchased from (e.g foodstuffs) 

    item-id: The ID of the item in the shop (e.g 2, 6, or 8)

ShopGuiPlus - shopguiplus_sell

Triggered: When a player sells an item to the shop. The progress will be the amount of items sold.

 Variables:

    root: The item that was purchased (e.g iron_sword:0)

    shop: The ID of the shop the item was purchased from (e.g foodstuffs) 

    item-id: The ID of the item in the shop (e.g 2, 6, or 8)

ShopGuiPlus - shopguiplus_sell_singular

Triggered: When a player sells an item to the shop. The progress will always be 1.

 Variables:

    root: The item that was purchased (e.g iron_sword:0)

    shop: The ID of the shop the item was purchased from (e.g foodstuffs) 

    item-id: The ID of the item in the shop (e.g 2, 6, or 8)

ShopGuiPlus - shopguiplus_profit

Triggered: When a player sells an item to the shop. The progress will be the amount it cost the user rounded up to the nearest real number (2.4 -> 3)

 Variables:

    root: The item that was purchased (e.g iron_sword:0)

    shop: The ID of the shop the item was purchased from (e.g foodstuffs) 

    item-id: The ID of the item in the shop (e.g 2, 6, or 8)

Thanks you! Greetings, Bram.

KPGTB commented 3 days ago

Hey! Will be added soon