Added a new feature such that the client will attempt to reconnect to the Daemon after every interval if it gets disconnected or was unable to connect initially.
This can be configured from the config.yml file of client part.
Fixed an issue where Daemon won't start upon BungeeCord restart.
This update adds new config fields for the Client part of the plugin. PLEASE UPDATE THE CONFIG by adding this at the end!
Code (YAML):
# By enabling this setting, if there is no connection between client and daemon, # the client will automatically attempt to establish a connection in every interval. # Interval value is in seconds. # You can limit the number of attempts. # If you do not want any limit on attempts, set its value to -1. auto-reconnect:
enabled: true
interval: 60
attempts: 5
Recently it was found that there was an exploit which could execute the commands by just knowing the name of Plugin Messaging Channel that this plugin uses.
To counter this, instead of having a general name for the messaging channel, server owners can now set a custom channel name, uniquely for their server. This can be done from the config.yml files of both the BungeeCord part of the plugin and the Spigot part.
Please note that if you modify the channel name, it must be modified for all the config.yml files (bungeecord part and the spigot part).