Changes:
- (Velocity) Internal bug fixes.
- Added extra debug messages to help troubleshoot mismatched UUIDs in proxy-mode.
Added ability to customize the texts of the discord command options.
If you do not want to re-create your config.yml then you can manually add this snippet:
# Here you can change the name and description of the command options
# The name can have a maximum of 32 characters and must only have
# lowercase alphanumeric letters, numbers, and dashes (a-z0-9-)
# The description can have a maximum of 100 characters.
discord-command-options:
player:
name: 'player'
description: 'The name of the player'
card:
name: 'card'
description: 'The card template to use'
Added the 'lookup-disable-permission' option in replacement to the hardcoded 'profileviewer.lookup.disable' permission added in v2.1.6.
If you do not want to re-create your config.yml then you can manually add this snippet:
# If an user has this permission then ALL the profile commands
# used against the user will BE BLOCKED!!
#
# !!! Remember that an user being OP or having the '*' permission will
# !!! indirectly have this permission and will be affected by this.
#
# Setting the value to 'none' will disable this function.
lookup-disable-permission: "none"
Added the "lookup disabled" message to messages.yml.
If you do not want to re-create your messages.yml then you can manually add this snippet:
# When lookup is disabled for a player
lookup-disabled: "Lookup is disabled for this player"
Fixed a bug introduced back in 2.1.5 that caused ProfileViewer to crash at startup
Added ability to prevent the profile lookup for selected players, they just have to have the "profileviewer.lookup.disable" permission and their profiles will be blocked from being seen.
Added a check to make sure the addon id is present on a bot, otherwise it will cause a warning to appear detailing the problem.
WARNING! Requires Spicord 5.4.0 or greater to work.
This version contains internal fixes and uses Spicord's SlashCommand API.
Fixed internal NPE when requesting placeholder information for a player that is present in cache but never joined the server.
2.1.1 (Unreleased here)
- (Bukkit) Fixed NPE/error caused by requesting a player that is not present in the local cache.
2.1.2 (This update)
- (Bukkit) Added compatibility with Spigot 1.20.4
Changes:
- Improved code abstraction to reduce duplicated code for each server software (Spigot/BungeeCord/Velocity).
- Re-implemented name/uuid caching logic.
- Implemented name/uuid cache for spigot servers in order to improve offline player lookup performance.
- Improved player lookup times in proxy servers.
- Fix: Custom player skins did not appear when using the plugin in proxy mode without the 'server' config option.
- Fix: Cached UUIDs were not updated if an external plugin changed the player id.
- Implemented MySQL database reconnection when the built-in driver mechanism fails.
- Added 'debug' option in config (it will not appear by default).
- Other various internal fixes and improvements.
The old text-based commands got replaced by Slash Commands.
You are not required to change any config value ^^ it should just work.
Improved console logging for easier debugging.