Rewrote plugin around libreforge

This commit is contained in:
Auxilor
2022-02-11 09:12:50 +00:00
parent a23c59dc61
commit 3a54e6d01c
18 changed files with 363 additions and 379 deletions
@@ -0,0 +1,115 @@
boosters:
- id: 1_5sell_multiplier
name: "1.5x Sell Multiplier"
duration: 72000
effects:
- id: sell_multiplier
args:
multiplier: 1.5
conditions: []
messages:
activation:
- ""
- " %player%&f has activated a &a1.5x Sell Multiplier Booster&f!"
- " &fThis booster will last an hour, be sure to thank them!"
- ""
expiry:
- ""
- " &fThe &a1.5x Sell Multiplier Booster&f has ended"
- " &fGet another one here: &ahttps://store.ecomc.net/package/756887"
- ""
gui:
item: player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTM0YjI3YmZjYzhmOWI5NjQ1OTRiNjE4YjExNDZhZjY5ZGUyNzhjZTVlMmUzMDEyY2I0NzFhOWEzY2YzODcxIn19fQ==
name: "&d1.5x Sell Multiplier"
lore:
- ""
- "&fGives everyone online a"
- "&a1.5x Sell Multiplier"
- "&fto make money faster!"
- ""
- "&fDuration: &a1 Hour"
- ""
- "&fYou have: &a%amount%"
- "&fGet more at &astore.ecomc.net"
- ""
- "&e&oClick to activate!"
- ""
position:
row: 2
column: 2
- id: 2sell_multiplier
name: "2x Sell Multiplier"
duration: 72000
effects:
- id: sell_multiplier
args:
multiplier: 1.5
conditions: []
messages:
activation:
- ""
- " %player%&f has activated a &a2x Sell Multiplier Booster&f!"
- " &fThis booster will last an hour, be sure to thank them!"
- ""
expiry:
- ""
- " &fThe &a2x Sell Multiplier Booster&f has ended"
- " &fGet another one here: &ahttps://store.ecomc.net/package/756888"
- ""
gui:
item: player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjBhN2I5NGM0ZTU4MWI2OTkxNTlkNDg4NDZlYzA5MTM5MjUwNjIzN2M4OWE5N2M5MzI0OGEwZDhhYmM5MTZkNSJ9fX0=
name: "&d2x Sell Multiplier"
lore:
- ""
- "&fGives everyone online a"
- "&a2x Sell Multiplier"
- "&fto make money faster!"
- ""
- "&fDuration: &a1 Hour"
- ""
- "&fYou have: &a%amount%"
- "&fGet more at &astore.ecomc.net"
- ""
- "&e&oClick to activate!"
- ""
position:
row: 2
column: 5
- id: skill_xp
name: "2x Skill XP Multiplier"
duration: 72000
effects:
- id: skill_xp_multiplier
args:
multiplier: 1.5
conditions: []
messages:
activation:
- ""
- " %player%&f has activated a &a2x Skill XP Booster&f!"
- " &fThis booster will last an hour, be sure to thank them!"
- ""
expiry:
- ""
- " &fThe &a2x Skill XP Booster&f has ended"
- " &fGet another one here: &ahttps://store.ecomc.net/package/756893"
- ""
gui:
item: player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODkyNmMxZjJjM2MxNGQwODZjNDBjZmMyMzVmZTkzODY5NGY0YTUxMDY3YWRhNDcyNmI0ODZlYTFjODdiMDNlMiJ9fX0=
name: "&d2x Skill XP Multiplier"
lore:
- ""
- "&fGives everyone online a"
- "&a2x Skill XP Multiplier"
- "&fto level up faster!"
- ""
- "&fDuration: &a1 Hour"
- ""
- "&fYou have: &a%amount%"
- "&fGet more at &astore.ecomc.net"
- ""
- "&e&oClick to activate!"
- ""
position:
row: 2
column: 8
@@ -3,42 +3,41 @@
# by Auxilor
#
log-autosaves: true # If auto-save messages should be sent to console
gui:
title: Boosters
rows: 3
mask:
items:
- black_stained_glass_Pane
pattern:
- "111111111"
- "101101101"
- "111111111"
messages:
1_5sell_multiplier:
activation:
- ""
- " %player%&f has activated a &a1.5x Sell Multiplier Booster&f!"
- " &fThis booster will last an hour, be sure to thank them!"
- ""
expiry:
- ""
- " &fThe &a1.5x Sell Multiplier Booster&f has ended"
- " &fGet another one here: &ahttps://store.ecomc.net/package/756887"
- ""
name: "1.5x Sell Multiplier"
2sell_multiplier:
activation:
- ""
- " %player%&f has activated a &a2x Sell Multiplier Booster&f!"
- " &fThis booster will last an hour, be sure to thank them!"
- ""
expiry:
- ""
- " &fThe &a2x Sell Multiplier Booster&f has ended"
- " &fGet another one here: &ahttps://store.ecomc.net/package/756888"
- ""
name: "2x Sell Multiplier"
skill_xp:
activation:
- ""
- " %player%&f has activated a &a2x Skill XP Booster&f!"
- " &fThis booster will last an hour, be sure to thank them!"
- ""
expiry:
- ""
- " &fThe &a2x Skill XP Booster&f has ended"
- " &fGet another one here: &ahttps://store.ecomc.net/package/756893"
- ""
name: "2x Skill XP Multiplier"
cooldown:
in-actionbar: true
sound:
enabled: true
sound: "BLOCK_NOTE_BLOCK_PLING"
pitch: 0.5
cannot-afford:
in-actionbar: true
sound:
enabled: true
sound: "BLOCK_NOTE_BLOCK_PLING"
pitch: 0.5
cannot-afford-type:
in-actionbar: true
sound:
enabled: true
sound: "BLOCK_NOTE_BLOCK_PLING"
pitch: 0.5
point-names: # If you have point names that look ugly (eg g_souls) then you can map them to nice names to be shown to players.
example_point: "Nicely Formatted Point"
use-faster-move-trigger: true # Disable if you want move trigger to detect sub-1-block movements
raytrace-distance: 80 # The distance that alt_click should check for a location
block-item-drop-place-check: true # If the block_item_drop trigger should only fire on naturally placed blocks (prevents dupes)
@@ -11,3 +11,9 @@ messages:
gave-booster: "Gave %player% %booster%!"
already-active: "&cA booster is already active!"
dont-have: "&cYou don't have any of these boosters! Get some at &astore.ecomc.net"
on-cooldown: "&cThis effect is on cooldown! &fTime left: &a%seconds% seconds"
cannot-afford: "&cYou can't afford to do this! &fCost: &a$$%cost%"
cannot-afford-type: "&cYou can't afford to do this! &fCost: &a%cost% %type%"
no-currently-active: "&cThere is no booster currently active!"
active-placeholder: "%player% &fhas activated a %booster%&f!"
@@ -8,9 +8,6 @@ load: POSTWORLD
depend:
- eco
- PlaceholderAPI
- EcoSkills
- ShopGUIPlus
- DeluxeSellwands
commands:
boosters: