MineCICD added "plugins"

This commit is contained in:
minster586
2024-10-05 22:23:51 -04:00
committed by minster586
parent 15691e7567
commit a7c7616624
198 changed files with 59954 additions and 1 deletions

View File

@@ -0,0 +1,34 @@
# You can create custom effect arguments using effects and conditions,
# and use them wherever you want in effects.
# In effect configs, they look like this:
# args:
# custom_<id>:
# <arg1>: <value>
# <arg2>: <value>
# ... etc
# You can use %arg1%, %arg2%, etc in the value to get the value of the argument.
# The ID of the argument is the name of the .yml file, so for example
# named_mana.yml would have an ID of named_mana.
# Conditions to check if the argument is met
is-met:
- id: above_magic
args:
type: mana
amount: "%amount%"
# Effects to run if the condition is met
if-met:
- id: give_magic
args:
type: mana
amount: "- %amount%"
- id: send_message
args:
message: "-%amount% %ecoskills_mana_name% &f(%reason%)"
# Effects to run if the condition is not met
if-not-met: []

View File

@@ -0,0 +1,16 @@
# Read more about chains: https://plugins.auxilor.io/effects/configuring-an-effect#effect-chains
chains:
- id: shoot_extra_arrows
effects:
- id: shoot_arrow
args:
repeat:
times: "2 * %arrows%"
start: "-11 * %arrows%"
increment: 22
inherit_velocity: true
mutators:
- id: spin_velocity
args:
angle: '%repeat_count%'

View File

@@ -0,0 +1,168 @@
# 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!
lrcdb:
author: "Unknown Author" # The name attached to configs you export
# Your key is what will identify you to lrcdb - it works like a password.
# Make sure to keep it secret, make it long, hard to guess, and try
# to make it something unique so that other people can't guess it.
# You won't be able to export configs if you don't have a key set.
key: ""
# 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 /lrcdb export <config>.
# Show what libreforge is on startup, to explain to new users.
show-libreforge-info: true
# You can reference these placeholders anywhere, in any plugin that supports
# PlaceholderAPI, and anywhere in configs. They'll be prefixed with libreforge_,
# so for example 'level' would be '%libreforge_level%' when used.
placeholders:
- id: "example_placeholder" # The placeholder ID
value: "This is an example placeholder!" # The value of the placeholder
- id: "example_expression_placeholder"
value: "%level% * 2" # Mathematical expressions are fully supported!
- id: "conditional_placeholder"
default: 5 # (Optional) Specify a default value if no conditions are true
values:
- conditions: # Full condition system support!
- id: has_permission
args:
permission: "ecomc.rank.netherite"
value: 20
- conditions:
- id: has_permission
args:
permission: "ecomc.rank.diamond"
value: 10
cooldown:
message-enabled: true
in-actionbar: true
sound:
enabled: true
sound: "BLOCK_NOTE_BLOCK_PLING"
pitch: 0.5
cannot-afford:
message-enabled: true
in-actionbar: true
sound:
enabled: true
sound: "BLOCK_NOTE_BLOCK_PLING"
pitch: 0.5
cannot-afford-type:
message-enabled: true
in-actionbar: true
sound:
enabled: true
sound: "BLOCK_NOTE_BLOCK_PLING"
pitch: 0.5
cannot-afford-price:
message-enabled: true
in-actionbar: true
sound:
enabled: true
sound: "BLOCK_NOTE_BLOCK_PLING"
pitch: 0.5
point-names: # If you have point names that look ugly (e.g. souls) then you can map them to nice names to be shown to players.
souls: "Souls"
raytrace-distance: 80 # The distance that alt_click should check for a location
# Options for item display
display:
# These options will not be applied on all items unless you also set display-without-meta to true
# in /plugins/eco/config.yml. There may be a minor performance impact if you enable this option.
enabled: false
# Add certain item flags to all items.
item-flags:
- hide_attributes
effects:
telekinesis:
on-players: true # Whether telekinesis should work on players
# By default, Telekinesis processes all drops regardless of if telekinesis is active for the player.
# This can significantly improve performance under load, however it will prevent telekinesis-like systems
# in third-party plugins from working. Disable this if other plugins aren't working properly.
always-process-blocks: true
# If this is set to true, effects like mine_radius, drill, etc. will simply set the block to air
# instead of actually breaking it. This **will** break compatibility with things, but will also majorly
# improve performance under load.
# Setting this to true means that not only will mine_block and block_item_drop not be triggered, but also
# that other plugins will not be able to interact with the event (e.g. no skill experience will be gained).
# Only set this option to true if you know what you're doing!
use-setblock-break: false
multiply_drops:
# Some items can be duplicated if they are placed on other blocks, e.g. torches, lanterns, etc.
# This option will prevent this from happening by blacklisting certain blocks from being multiplied.
prevent-duplication: true
# If you notice that some items are not being multiplied when you want them to be, you can add them to this list.
whitelist: [ ]
conditions:
# Item display (things like EcoItem lore, EcoEnchants lore, etc.) are ran on a separate thread,
# and condition met state is cached from the main thread. Things like not-met-lines and show-not-met
# will assume this value by default (e.g. it will assume the condition is met until the
# next time the item is updated). If not-met-lines aren't showing up when you think they should be,
# try setting this to false.
default-state-off-main-thread: true
refresh:
# Reduces lag by only allowing holders to refresh every X milliseconds.
# Higher values will save performance, but can make effects feel less responsive.
# Set to 0 to disable.
cooldown: 250
pickup:
# If picked up items must have item meta (NBT Data) in order to trigger a refresh
require-meta: true
held:
# If swap items in HotBar must have item meta (NBT Data) in order to trigger a refresh
require-meta: true
entities:
# If entities should be polled for updates, and how often (in ticks).
# If you don't have any effects that run from entities, you can disable this to save performance.
enabled: true
# How often to poll entities for updates (in ticks). Higher values will save performance, but
# can make effects feel less responsive.
interval: 60
players:
# Skip AFK players for effect updates for performance reasons.
# If you need to update effects on AFK players, you can set false.
skip-afk-players: true
inventory-click:
# Inventory clicks refresh active holders, but a group of malicious users spamming can cause server lag.
# Setting a timeout ensures only one click triggers a refresh within the specified time (in milliseconds).
timeout: 500

View File

@@ -0,0 +1,51 @@
messages:
prefix: "&#b4ff33&lEffects&r &8» &r"
no-permission: "&cYou don't have permission to do this!"
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"
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%"
must-specify-plugin: "&cYou must specify the plugin!"
invalid-plugin: "&cInvalid plugin name!"
must-specify-category: "&cYou must specify the category!"
invalid-category: "&cInvalid category!"
must-specify-config-name: "&cYou must specify the config name!"
invalid-config-name: "&cInvalid config name!"
must-specify-player: "&cYou must specify the player!"
invalid-player: "&cInvalid player name!"
must-specify-point: "&cYou must specify the point!"
invalid-point: "&cInvalid point name!"
must-specify-amount: "&cYou must specify the amount!"
invalid-amount: "&cInvalid amount!"
points-given: "&a%amount% &a%point% &fwere added to &a%playername%&f!"
points-taken: "&a%amount% &a%point% &fwere removed from &a%playername%&f!"
points-set: "&fSet &a%playername%&f to have &a%amount% &a%point%&f!"
points-amount: "&6%playername% &rhas &e%amount% &rof &a%point%&r!"
plugin-not-installed: "&cYou don't have this plugin installed!"
must-specify-dispatcher: "&cYou must specify the dispatcher!"
invalid-dispatcher: "&cInvalid dispatcher!"
must-specify-trigger: "&cYou must specify the trigger!"
triggered: "custom_%id% was triggered!"
debug: "Logged information to server console"
picked-up-price-item: "&f+%price%"
infinity: "∞"

View File

@@ -0,0 +1,45 @@
# To use item points in your item lore / effects / conditions,
# use these placeholders:
# %libreforge_item_xp_<type>% - The amount of XP the item has
# %libreforge_item_level_<type>% - The level of the item
# %libreforge_item_xp_required_<type>% - The amount of XP required for the next level
# %libreforge_item_progress_<type>% - The progress to the next level as a percentage
# %libreforge_item_points_<type>% - The amount of points the item has
#
# You can also put _numeral at the end of these to get the number as a roman numeral,
# e.g. %libreforge_item_level_example_numeral%
# 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
# Formula
# xp-formula: (2 ^ %level%) * 25
# max-level: 10 (Optional: The max level)
# List
requirements:
- 50
- 100
- 200
- 400
- 1000
- 2000
- 5000
- 10000
- 17500
- 40000
- 100000
- 250000
# Effects to run when an item levels up
# %level% is the level the item leveled up to.
level-up-effects:
- id: send_message
args:
message: "&fYou leveled up to &a%level%&f!"
- id: play_sound
args:
sound: entity_player_levelup
volume: 1.0
pitch: 1.5

View File

@@ -0,0 +1,8 @@
# Custom item tags, read here for more: https://plugins.auxilor.io/all-plugins/the-item-lookup-system#item-tags
# You can use these tags in the item lookup system with "#libreforge:<tag_id>"
tags:
- id: example_tag
items:
- "netherite_sword"
- "diamond_sword"