Skip to content

Commit

Permalink
Adjust config with improved database documentation
Browse files Browse the repository at this point in the history
Signed-off-by: applenick <applenick@users.noreply.github.com>
  • Loading branch information
applenick committed Jun 20, 2024
1 parent ed66253 commit a6d395f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/main/resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Community
# A plugin for managing a Minecraft community
# A plugin for managing a Minecraft PGM community
#
general:
# Display name for the network used in various locations.
Expand Down Expand Up @@ -316,13 +316,16 @@ network:
# message: false


# Database connection info
database:
enabled: false # True for mysql, false for sqlite
enabled: false # True for MySQL, false for SQLite

# SQLite settings (used if enabled is false)
sqlite-file: "community.sql"
username: "username"

# MySQL settings (used if enabled is true)
username: "username"
password: "password"
databaseName: "minecraft"
host: "localhost:3306"
timezone: "America/Los_Angeles"
max-connections: 2
host: "localhost:3306" # host and port
timezone: "America/Los_Angeles" # Database timezone
max-connections: 2 # Maximum simultaneous connections

0 comments on commit a6d395f

Please sign in to comment.