[SimplePetsAddon] PermissionLore Addon

Simply adds a lore to the pet items if they do/don't have permission for the pet

537

[SimplePetsAddon] PermissionLore Addon

*What is this addon?*

This is a SimplePets Addon that will simply add additional lines to the pet items lore letting the player know if they have permission for a pet or not.

*Plugin/Resource Links:*

* (REQUIRED) *(REQUIRED)*

*How to install:*

The addon can be installed a few different ways it can be done via the install command, via the GUI installer, or manually

*Install via Command:* (Easiest)

* Simply type the *`/pet addon install PermissionLore`* command It will also attempt to load and enable it

*Install via GUI Installer:*

* Run the *`/pet addon`* command * Click the *`Install Addons`* item that is in the bottom row of the GUI * Locate the *`PermissionLore`* item in the GUI * Once found simply click it

*NOTE:* If it gets stuck saying "Installing..." then check your console for any errors, If there are none then try one of the other methods.

*Install Manually:*

* Open the SimplePets plugin folder * Open the *`Addons`* folder (If the folder is not there then simply create one) * Download the addon from one of the download locations * Drop the addons jar file into the *`Addons`* folder * Restart your server (This is to actually get the addon loaded into the plugin)

*Default Config:*

```yaml

Should the addon check the players purchased pet list instead of their permissions?

#

Default: false

check-purchase-list-instead: true

missing-permission: lore:

If the player does not have permission to this pet should the text below be added to the pets item?

#

NOTE: This option only works if the 'Only-Show-Pets-Player-Can-Access' is set to false in the SimplePets config file

#

Default: true

enabled: true

This list of text gets added to the pets item if they do not have permission for the pet

#

NOTE: This requires the 'missing-permission' lore to be enabled

#

Placeholders:

- {player} = the players name

- {type} = the pets name

#

Default: [&cSorry &7{player}, &cYou do not have permission, &cfor this pet :(]

text: - '&cSorry &7{player}' - '&cYou do not have permission' - '&cfor this pet :('

has-permission: lore:

If the player does have permission to this pet should the text below be added to the pets item?

#

Default: false

enabled: false

This list of text gets added to the pets item if they do not have permission for the pet

#

NOTE: This requires the 'has-permission' lore to be enabled

#

Placeholders:

- {player} = the players name

- {type} = the pets name

#

Default: []

text: [] ```

ADS