![[SimplePetsAddon] PermissionLore Addon](https://cdn.metamods.net/images/mods/spets-permissionlore/logo.png)
[SimplePetsAddon] PermissionLore Addon
What is this addon?
This is an extension for the SimplePets plugin that automatically adds additional description lines to pet items. This information informs players whether they have permission to use a particular pet.
Installing the addon
Installation via command (easiest method)
Enter the command /pet addon install PermissionLore
in chat, and the system will automatically download and activate the addon.
Installation via graphical interface
Execute the command /pet addon
, select the "Install Addons" item in the bottom part of the menu, locate the "PermissionLore" element and click on it.
Note: If the process gets stuck at the "Installing..." stage, check the console for any errors. If there are no errors, try another installation method.
Manual installation
Open the SimplePets plugin folder, create (if missing) an "Addons" directory, download the addon file and place its JAR file in the created folder. To complete the installation, restart the server.
Default configuration
# Should the addon check the purchased pets list instead of player permissions?
#
# Default: false
check-purchase-list-instead: true
missing-permission:
lore:
# Should the text below be added to the pet item if the player doesn't have permission for this pet?
#
# NOTE: This option only works if 'Only-Show-Pets-Player-Can-Access' is set to false in the SimplePets configuration file
#
# Default: true
enabled: true
# This text list is added to the pet item if the player doesn't have permission for the pet
#
# NOTE: This requires the 'missing-permission' lore to be enabled
#
# Placeholders:
# - {player} = player name
# - {type} = pet 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:
# Should the text below be added to the pet item if the player has permission for this pet?
#
# Default: false
enabled: false
# This text list is added to the pet item if the player has permission for the pet
#
# NOTE: This requires the 'has-permission' lore to be enabled
#
# Placeholders:
# - {player} = player name
# - {type} = pet name
#
# Default: []
text: []
Requirements: The main SimplePets plugin is required for this addon to work.