- Problematic items will not be saved to graves. (it will log the item and nbt data. This does not fix the using-converts-to bug, but is good for futures sake so this hopefully doesn't happen again with graves not generating.)
- Added experimental PostgreSQL Support (if you find any bugs, report it in Discord. Must read below on how to use this)
- Replaced hastebin with mclo.gs (hastebin now requires a bearer token and its easier to just log with something that isn't going to be a pain in the butt for most users. Config will allow the old dump method HASTEBIN, but if you want to update it for futures sake, you can change it to MCLOGS)
- Fixed /graves dump not working on spigot. (shaded json library)
If you want to use PostgreSQL, you will need to update your config.yml manually to this:
Code (Text):
###########
# Storage #
###########
# Data storage system.
storage:
type: POSTGRESQL # MYSQL, MARIADB, POSTGRESQL and SQLITE, More storage types will be added in the future.
sqlite: # Unless you know what you're doing leave options under sqlite default.
journal-mode: "WAL" # https://www.sqlite.org/pragma.html#pragma_journal_mode
synchronous: "OFF" # https://www.sqlite.org/pragma.html#pragma_synchronous
mysql: # Unless you know what you're doing leave options under sqlite default.
host: "localhost" # Host of the Database
port: 3306 # Port for the Database (do not change unless you use a different port)
username: "username" # Database Username. Make sure the user has access to the database.
password: "password" # Database Password. case-sensitive
database: "graves" # Database we should use.
maxConnections: 10 # Max number of connections allowed to make to a database. Do not change unless you know what you are doing.
maxLifetime: 1800000 # Max lifetime of a connection. DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING
connectionTimeout: 30000 # How long before the connection times out. DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING. Only increase if your connection keeps timing out.
useSSL: false # Should we use SSL? Unless you know what you are doing, leave this at false.
allowPublicKeyRetrieval: false # Should we grab the public key? DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING
verifyServerCertificate: false # Should we verify the server certificate? DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING
postgresql:
host: "localhost" # Host of the Database
port: 3306 # Port for the Database (do not change unless you use a different port)
username: "username" # Database Username. Make sure the user has access to the database.
password: "password" # Database Password. case-sensitive
database: "graves" # Database we should use.
maxConnections: 10 # Max number of connections allowed to make to a database. Do not change unless you know what you are doing.
maxLifetime: 1800000 # Max lifetime of a connection. DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING
connectionTimeout: 30000 # How long before the connection times out. DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING. Only increase if your connection keeps timing out.
ssl: false # Should we use SSL? Unless you know what you are doing, leave this at false.
sslfactory: "com.ranull.graves.postgresql.ssl.NonValidatingFactory" # SSL Factory class. Shaded to com.ranull.graves.postgresql but you can use the direct class if you like, but it is not recommended.
sslmode: "disable" # Options: disable, allow, prefer, require, verify-ca, verify-full
sslrootcert: "/path/to/server.crt" # Server Root Certificate
sslcert: "/path/to/client.crt" # SSL Certificate
sslkey: "/path/to/client.key" # SSL Key