Updated to libreforge 4

This commit is contained in:
Auxilor
2023-03-27 19:04:09 +01:00
parent 98690e936b
commit 107efb5f92
25 changed files with 362 additions and 464 deletions
@@ -1,21 +0,0 @@
# Read more about chains: https://plugins.auxilor.io/effects/configuring-an-effect#effect-chains
chains:
- id: example_chain
effects:
- id: teleport
- id: potion_effect
args:
effect: blindness
level: 3
duration: 30
apply_to_player: true
- id: send_message
args:
message: "&fYou have been teleported!"
action_bar: true
- id: play_sound
args:
sound: entity_dragon_fireball_explode
pitch: 1.5
volume: 4
@@ -13,48 +13,3 @@ gui:
- "111111111"
- "101101101"
- "111111111"
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
cannot-afford-price:
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
potions:
icon:
permanent: true
triggered: true
ambient:
permanent: false
triggered: true
particles:
permanent: false
triggered: true
@@ -1,3 +1,8 @@
resource-id: 2036
bstats-id: 14269
color: "&e"
environment:
- name: libreforge version
value: ${libreforgeVersion}
options:
resource-id: 2036
bstats-id: 14269
color: "&e"
@@ -4,18 +4,6 @@ messages:
not-player: "&cThis command must be run by a player"
invalid-command: "&cUnknown subcommand!"
reloaded: "Reloaded!"
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%"
cannot-afford-price: "&cYou can't afford to do this! &fPrice: %price%"
on-cooldown: "&cThis effect is on cooldown! &fTime left: &a%seconds% seconds"
cannot-transmit: "&cYou can't transmit here!"
must-specify-lrcdb-id: "&cYou must specify the ID of the config to download! Not sure what this means? Go to &alrcdb.auxilor.io"
lrcdb-import-error: "&cError importing config: &f%message%"
lrcdb-import-success: "&fImported &a%name%&f! Reload the plugin to install it"
must-specify-config-name: "&cYou must specify the config name!"
invalid-config-name: "&cInvalid config name!"
lrcdb-export-error: "&cError exporting config: &f%message%"
lrcdb-export-success: "&fExported &a%name%&f! View it on &alrcdb.auxilor.io&f, or share your config ID: &f%id%"
requires-player: "&cYou must specify a player!"
invalid-player: "&cInvalid player!"
@@ -1,19 +0,0 @@
# Options for lrcdb (https://lrcdb.auxilor.io), a website to share configs
# with other server owners, so you can get more configs without making them
# yourself!
author: "Unknown Author" # The name attached to configs you export
# Options about automatically sharing configs you create
share-configs:
# If you want all your configs to automatically be publicly available,
# set this to true. This really helps out other users!
publicly: false
# If you don't want your configs to be usable to gather information about
# plugin usage or to improve the plugins in the future, disable this.
# Nothing identifying is shared.
enabled: true
# If you disable share-configs, you can still share select configs publicly
# with /boosters export <config>.
@@ -0,0 +1,17 @@
name: ${pluginName}
version: ${version}
main: com.willfp.boosters.BoostersPlugin
api-version: 1.19
dependencies:
- name: eco
required: true
bootstrap: false
- name: libreforge
required: false
bootstrap: false
load-after:
- name: eco
bootstrap: false
@@ -1,5 +1,5 @@
name: Boosters
version: ${projectVersion}
name: ${pluginName}
version: ${version}
main: com.willfp.boosters.BoostersPlugin
api-version: 1.17
authors: [ Auxilor ]
@@ -7,17 +7,7 @@ website: willfp.com
depend:
- eco
softdepend:
- AureliumSkills
- Jobs
- mcMMO
- Vault
- TMMobcoins
- EcoEnchants
- EcoBosses
- Talismans
- EcoArmor
- EcoItems
- EcoSkills
- libreforge
commands:
boosters:
@@ -41,8 +31,6 @@ permissions:
boosters.command.boosters: true
boosters.command.cancel: true
boosters.command.activate: true
boosters.command.import: true
boosters.command.export: true
boosters.command.reload:
description: Allows reloading the config
@@ -58,10 +46,4 @@ permissions:
default: op
boosters.command.cancel:
description: Allows the use of /boosters cancel.
default: op
boosters.command.import:
description: Allows the use of /boosters import
default: op
boosters.command.export:
description: Allows the use of /boosters export
default: op