Commit graph

224 commits

Author SHA1 Message Date
8d5846183a Do some more updating of project files 2024-06-18 15:53:57 -07:00
ee9dc0a985 Update project structure to 1.21 2024-06-18 15:30:01 -07:00
c3e2cc23c1 Do not crash when no DB is present. 2024-06-18 15:03:57 -07:00
1ad275a970 Adds sanity checks 2024-06-18 14:45:41 -07:00
a85c032253 Fix a typo 2024-04-30 15:34:34 -07:00
aa9f0c5235 Go back and revise the database migrations. Breaking change 2024-04-30 15:31:53 -07:00
0d735ec2e8 Fix a exception being thrown and crashing the server 2024-04-30 15:24:29 -07:00
bd15d1f244 Produce a test build to attempt to fix database not being properly set 2024-04-30 15:13:01 -07:00
58a732782d Handle the redstone property different 2024-04-30 04:04:48 -07:00
65a21bcefc Add another helper method for redstone 2024-04-30 03:13:19 -07:00
29245e45cf Attempt to fix the Redstone block implementation 2024-04-30 02:47:50 -07:00
7bbafe58fe Update restore queue uploader 2024-04-30 01:41:19 -07:00
6ac212a0b7 Update class visibility 2024-04-26 11:15:49 -07:00
ee74638b9f Update input power blockstate in prototype class 2024-04-26 06:35:24 -07:00
a747846585 Add a redstone prototype for making blocks that use redstone 2024-04-26 06:34:38 -07:00
840fa0a157 Moves commonly used block prototypes into the library 2024-04-26 05:48:00 -07:00
b6987978d1 Clients were still not being notified of block changes 2024-04-25 05:28:11 -07:00
dd592ebe88 Fix clients not being notified of block restores 2024-04-25 05:11:05 -07:00
c6e6ed9ffe Switch the block queue to cache blocks locally, then upload, to reduce lag when snapshotting. 2024-04-25 04:10:53 -07:00
c19e971e92 Restore blocks until correct block has been restored and verified 2024-04-25 03:39:29 -07:00
0dcf38ce2a Fix the block queue not setting the hasBlocks flag to false 2024-04-25 03:21:32 -07:00
4bf127bc14 Adds some Tag helper functions 2024-04-25 02:30:31 -07:00
aa6cb0e367 Add some more sanity checks to cut down on database query spam 2024-04-25 02:15:31 -07:00
f54faa6f9e Fix restore runner being executed too frequently 2024-04-25 02:01:43 -07:00
5af11674cd Prevent null exceptions. Check if no more blocks. 2024-04-25 00:39:12 -07:00
05e6fb1e29 Queue runner was not running when in database mode 2024-04-25 00:24:02 -07:00
995e78dec8 Don't crash the server when duplicate block at position 2024-04-24 23:53:43 -07:00
ab6f9130f0 Fix the blocks table index 2024-04-24 04:15:31 -07:00
43a1a44a8f Add a new migration to the blocks table 2024-04-24 03:40:23 -07:00
0e4d9a832a Fix class visibility 2024-04-24 03:07:26 -07:00
62baeb3e15 Set the version on the existing migrations 2024-04-24 03:06:49 -07:00
5895772c58 Remove the reverse list instruction 2024-04-24 02:17:18 -07:00
e0545ce9af Update indexes for the prepared statement 2024-04-24 01:27:12 -07:00
4fefc79f5f Migrations were not being properly updated 2024-04-24 00:46:08 -07:00
e7f289d709 Add a sanity check for migrations, only execute when migration is newer than current table 2024-04-24 00:19:41 -07:00
b534287c51 Attempt to fix database not being set 2024-04-23 23:48:28 -07:00
a3d4ae321e Fix null errors related to Migrations 2024-04-23 23:40:54 -07:00
965bea2982 Fix libzontreck's packets not being functional 2024-04-23 23:29:50 -07:00
f039eb2abf Again... try to fix null config sections 2024-04-23 22:53:07 -07:00
09426dc0b4 Database config was null and not loading properly 2024-04-23 22:40:21 -07:00
fe383b2973 Settings file was not being initialized 2024-04-23 22:24:41 -07:00
378f44b769 Fix a crash 2024-04-23 22:02:28 -07:00
1275ff422f Add missing NBT entry in the server config 2024-04-23 20:51:16 -07:00
b91ce4e912 Add some missing calls in restore queue with database addition 2024-04-23 20:25:52 -07:00
c8fc5f4c81 Finish implementation 1 of Block Snapshotting 2024-04-23 18:39:02 -07:00
40ce8774fb More implementation of the block restore queue functionality 2024-04-23 15:40:43 -07:00
b20e56a7d8 Fix compile error 2024-04-12 08:33:26 -07:00
a9885635c1 Remove old events that are not used anymore 2024-04-12 08:32:32 -07:00
20a756277d Bump version. Add event for restore queue registration 2024-04-12 08:28:40 -07:00
25aa4b2f9d Bump version number and push to build server to get a test version 2024-04-12 07:52:46 -07:00