Add soft-dependency on ViaVersion to avoid warning msg (#2771)

This commit is contained in:
Luck 2020-12-14 14:54:12 +00:00
parent 478fddc486
commit 7bc422c83f
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -3,7 +3,6 @@ version: ${pluginVersion}
description: A permissions plugin description: A permissions plugin
author: Luck author: Luck
website: https://luckperms.net website: https://luckperms.net
main: me.lucko.luckperms.bukkit.LPBukkitBootstrap main: me.lucko.luckperms.bukkit.LPBukkitBootstrap
load: STARTUP load: STARTUP
@ -12,14 +11,17 @@ load: STARTUP
# LP is still compatible with pre-1.13 releases. # LP is still compatible with pre-1.13 releases.
api-version: 1.13 api-version: 1.13
# This means that all plugins that (soft-)depend on Vault, depend on LuckPerms too. # Load LuckPerms before Vault. This means that all plugins that (soft-)depend
# It in turn fixes issues where plugins using Vault cache the provided instance # on Vault depend on LuckPerms too.
# when their plugin enables, or when they check for the presence of a service #
# provider, before LuckPerms has enabled. # This fixes issues caused by plugins obtaining the Vault service provider instance
# only once when they initially enable. (if they haven't depended on LP, our registration
# won't be there yet)
loadbefore: [Vault] loadbefore: [Vault]
# Soft depend on LilyPad for messaging service impl # Soft depend on LilyPad for messaging service impl
softdepend: [LilyPad-Connect] # Soft depend on ViaVersion for adventure protocol facet
softdepend: [LilyPad-Connect, ViaVersion]
commands: commands:
luckperms: luckperms: