Plugin-side changes
(+) BungeeCord Support! (more info. below)
(Fix) two unharmful warning messages.
Server-side changes
(+) support for other alphabets, like cyrillic.
(Fix) rare bug that made the rendering server to freeze.
Q: How to use ProfileViewer on BungeeCord?
Example configuration with the "server" option:
- Install ProfileViewer along with Spicord in your BungeeCord server.
- Drop ProfileViewer.jar alone into each of your Spigot servers plugin folder.
- [!] It doesn't needs Spicord. If you put Spicord then it will not work.
- [!] You don't need to configure ProfileViewer.
- [!] Just leave it as-is, everything is automatic.
- Now, open ProfileViewer's configuration file of your BungeeCord server.
- Go to the "options" section for each template and add a new option called "server", and set the name of the server you want it to collect the data. (example below)
[!] The server name should be the same as any of the servers specified in your BungeeCord's config.yml file.YAML:templates: exampleTemplate: permission: "op" render: true options: server: "survival" template: "head-vi-v1" image: "sunset" hideEmpty: "true" ...
Notes:
- This release is functional, but it does requires some changes related to skin caching.
- At least one player needs to be connected on the target server in order to fetch any player placeholders, however they are cached on BungeeCord's side once received. This still needs some minimal changes.
- Do not use placeholders like %player_ping% as it will be shown even when the player is offline (because of caching).
- Currently permissions are not checked on BungeeCord, but you can still use different discord commands for each template, so you can assign a template to a specific server and give it a custom command.
Plugin-side changes:
(Fix) The message "failed-to-render" was never sent, this update fixes that.
Plugin-side changes:
(Fix) Non-harmful "bug" that occurs when a player joins and leaves the server before the plugin finishes loading.
Plugin-side changes:
(+) Implemented placeholder cache for offline players.
This is because some PlaceholderAPI hooks doesn't supports offline players and thus some placeholders remained unchanged; this was partially fixed in ProfileViewer by replacing unparsed placeholders with "N/A", now the cached value (if any) will be used instead.
Plugin-side changes:
(+) (Requested) Ability to define custom commands to different templates, for example, if you have a template called "special", then you can define a custom discord command to it, and when that command is run, it will use that template.
Example in config:
Code:templates: special: render: true discord-command: "special" options: ... fields: ...
Server-side changes:
(Fix) Fixed rare case when the image is sent before the render has finished; this fix also included a lot of performance improvements.
Plugin-side changes:
(+) (Requested) Ability to modify Discord messages. (messages.yml)
(+) (Requested) Ability to optionally specify which template to use.
Example: -profile <player> [template](Internal) Other minimal internal changes.
(User still must have permission to use that template)
(Fix) Fixed internal misconfiguration regarding the building script that failed to include config.yml into the final .jar file.
The issue only happened on clean installations, users that had used previous plugin versions had the configuration present and so the problem didn't happened.
