GitBook: [#60] Updated config file

This commit is contained in:
OpenSource 2021-12-12 23:03:02 +00:00 committed by gitbook-bot
parent 5a66456489
commit 7d066f5a50
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
2 changed files with 10 additions and 1 deletions

View File

@ -14,7 +14,7 @@ PlayerServers is an advanced plugin that will allow your players to create their
## Features ## Features
* **Async, lag-free:** Creation of servers happens 95% in async mode, which means that the creation of servers will be processed in a separate thread and 0 lag will be generated during that period. * **Async, lag-free:** Creation of servers happens 95% in async mode, which means that the creation of servers will be processed in a separate thread and 0 lag will be generated during that period.
* ~~**Templates:** You'll be able to create the default template which will be used when creating the servers. (coming in 1.0.0 - STABLE)~~ * **Templates:** You'll be able to create the default template which will be used when creating the servers.
* **HubCore:** When purchasing this plugin, you'll get an additional HubCore plugin which will allow you to make a compass that will show online & offline player servers and give your players the ability to connect to them. Furthermore, it will give you some basic options for your lobby like disabling rain, hunger & damage. A special placeholder that will allow players to see current player-count on their sub server is also included. * **HubCore:** When purchasing this plugin, you'll get an additional HubCore plugin which will allow you to make a compass that will show online & offline player servers and give your players the ability to connect to them. Furthermore, it will give you some basic options for your lobby like disabling rain, hunger & damage. A special placeholder that will allow players to see current player-count on their sub server is also included.
* **Automatically terminate inactive servers**: if servers are inactive (or don't have any players) for a configurable amount of time, they will automatically shutdown. * **Automatically terminate inactive servers**: if servers are inactive (or don't have any players) for a configurable amount of time, they will automatically shutdown.
* **Fast & Efficient:** The creation of the server happens in less than 2 seconds which will allow your players to be teleported to their sub server in less than 15 seconds (other time will be used for boot-up of spigot server, and generating the main world - also, the huge factor is your server CPU) * **Fast & Efficient:** The creation of the server happens in less than 2 seconds which will allow your players to be teleported to their sub server in less than 15 seconds (other time will be used for boot-up of spigot server, and generating the main world - also, the huge factor is your server CPU)

View File

@ -27,6 +27,15 @@ mysql:
additionaloptions: [] additionaloptions: []
# - "allowPublicKeyRetrieval=true" # - "allowPublicKeyRetrieval=true"
url-based-connection:
enabled: false
driverName: "com.mysql.cj.jdbc.Driver"
# If you're using this connection method, you'll be entering your hostname,
# port and database name below in the jdbcUrl string. The ones above will not
# be considered.
jdbcUrl: "jdbc:mysql://localhost:3306/playerservers"
# Between version v1.2-RC6 and v1.2-RC7 there was a change in # Between version v1.2-RC6 and v1.2-RC7 there was a change in
# Database handling. Everyone upgrading that were satisfied # Database handling. Everyone upgrading that were satisfied
# on how it worked before should keep it as false, or first # on how it worked before should keep it as false, or first