Registration is now completely optional, thus the update checking was moved into the client!
Update checking on the client should be faster thus it's asynchronous.
- Fixed AutoPlug-Commands received by the Online-Console not being executed as AutoPlug-Commands
- Fixed AutoPlug-Output not being shown in the Online-Console
- Actually removed the annoying sl4j message this time
- Enhanced AutoPlug-Restarter
- Updated Core
- Run before server startup tasks from the command: .run tasks
- Sends check result to web
Fixed:
- Restarter showing exceptions when trying to create new restart jobs with the same id/name
- OkHttp body not being closed when download fails
Note that you will have this new option in `autoplug-restarter-config.yml`:
```yaml
# Executes these commands as console, before restarting the server.
# You can execute multiple/single commands at any given second of the countdown.
# The countdown starts at the highest given number.
list:
0: say [Server] Server is restarting...
1: say [Server] Server is restarting in 1.
2: say [Server] Server is restarting in 2.
3: say [Server] Server is restarting in 3.
10:
- say [Server] Server is restarting in 10 seconds.
- say [Server] Please allow up to 2min for this process to complete.
```
So make sure to configure it. If you want no countdown something like this should work:
```yaml
New in `autoplug-general-config.yml`:
```yaml
# Stops AutoPlug when your server stops. Enabling this feature is not recommended.
autoplug-stop: false
# AutoPlug uses this command to stop your server.
stop-command: stop
```
This update enables full AutoPlug functionality on proxies.
Added functionality to exclude/include specific files/folders for each backup option in `autoplug-backup-config.yml`:
```yaml
exclude:
# Add specific files or folders you want to exclude from the backup, to the list below.
# Windows/Linux formats are supported. './' stands for the servers root directory.
enable: false
list:
- ./example/directory
- ./specific-file.txt
- C:\Users\Example Windows Directory
include:
# Add specific files or folders you want to include in the backup, to the list below.
# Windows/Linux formats are supported. './' stands for the servers root directory.
# Note that, if you enter a file/folder in the include list AND in the exclude list, that file/folder will get included.
enable: false
list:
- ./example/directory
- ./specific-file.txt
- C:\Users\Example Windows Directory
```
Removed HtmlUnit dependency and reduced AutoPlugs size to around 7mb.