mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2026-01-04 15:31:37 +00:00
Events & API work, save DataSaveCauses as part of versioning
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
language: 'en-gb'
|
||||
check_for_updates: true
|
||||
cluster_id: ''
|
||||
debug_logging: true
|
||||
|
||||
database:
|
||||
credentials:
|
||||
@@ -37,6 +38,7 @@ synchronization:
|
||||
max_user_data_records: 5
|
||||
save_on_world_save: true
|
||||
compress_data: true
|
||||
network_latency_milliseconds: 500
|
||||
features:
|
||||
inventories: true
|
||||
ender_chests: true
|
||||
|
||||
@@ -10,10 +10,11 @@ CREATE TABLE IF NOT EXISTS `%players_table%`
|
||||
# Create the player data table if it does not exist
|
||||
CREATE TABLE IF NOT EXISTS `%data_table%`
|
||||
(
|
||||
`version_uuid` char(36) NOT NULL,
|
||||
`player_uuid` char(36) NOT NULL,
|
||||
`timestamp` datetime NOT NULL,
|
||||
`data` mediumblob NOT NULL,
|
||||
`version_uuid` char(36) NOT NULL,
|
||||
`player_uuid` char(36) NOT NULL,
|
||||
`timestamp` datetime NOT NULL,
|
||||
`save_cause` varchar(32) NOT NULL,
|
||||
`data` mediumblob NOT NULL,
|
||||
|
||||
PRIMARY KEY (`version_uuid`),
|
||||
FOREIGN KEY (`player_uuid`) REFERENCES `%players_table%` (`uuid`) ON DELETE CASCADE
|
||||
|
||||
Reference in New Issue
Block a user