Commit Graph
804 Commits
Author SHA1 Message Date
Brokkonaut b1e0f91bd7 exclude bStats from WorldEdit dependency as it breaks the build 2018-09-21 22:36:34 +02:00
Brokkonaut 91315b10c8 New param "nocache" to prevent replacing the lookup cache (useful for tools) 2018-09-21 22:22:52 +02:00
Brokkonaut 210d6cec37 Log turtle egg trampling 2018-09-21 00:42:28 +02:00
Brokkonaut eb99b6d278 Add players: Try a less odd query if the first one failed 2018-09-15 04:05:17 +02:00
Brokkonaut a55cbabbdd Add some debug output when adding players fails 2018-09-15 03:36:52 +02:00
Brokkonaut 421f16784f Don't try to process row if actors could not be inserted 2018-09-13 02:29:21 +02:00
Brokkonaut faaab7c4f6 Limit UUIDs to 36 chars + prevent null UUIDs 2018-09-13 02:25:34 +02:00
Brokkonaut 0bdeb7dc86 Escape UUID in database querys 2018-09-13 02:17:19 +02:00
Brokkonaut 2bb9e09959 Cleanup Actor.equals() and .hashCode() + some formatting 2018-09-13 02:04:33 +02:00
Brokkonaut d214b646db cleanup: getBlockSet/Replaced in class BlockChange 2018-09-12 21:18:43 +02:00
Brokkonaut 3ef6e48ca4 remove mcstats metrics
its dead for a long time now
2018-09-05 16:21:34 +02:00
Brokkonaut 1b316dc11f add alternative mvn repo for worldedit 2018-09-05 13:28:33 +02:00
Brokkonaut 3c64376dd1 improve log importer
- try importing line by line if the batch import did not work
- print more informative error messages
- fix writing failed imports to failed.txt
2018-09-05 12:59:06 +02:00
Brokkonaut c390504b70 Sort files before importing them 2018-09-05 03:05:41 +02:00
Brokkonaut df8c8bcdda Fix clearing containers on rollback 2018-09-02 04:58:18 +02:00
Brokkonaut 544385f2ad Log replaced fluids at the correct position 2018-08-29 22:54:35 +02:00
Brokkonaut 9c2a93dafb Param for force replace not matching blocks 2018-08-29 22:26:37 +02:00
Brokkonaut 404c9b91c0 Fix bucket empty with waterlogged blocks 2018-08-29 22:05:39 +02:00
Brokkonaut 1cbc192b31 Log BlockFormEvent by fluids 2018-08-29 19:38:19 +02:00
Brokkonaut 76fce15305 Log watering waterlogged 2018-08-29 18:33:31 +02:00
Brokkonaut 8045ab1ecd Ignore deprecation in updater + remove unused method 2018-08-29 03:56:34 +02:00
Brokkonaut 2faa9cbd6d There is no older WorldEdit for Minecraft 1.13
Resolves #714
2018-08-29 02:43:07 +02:00
Brokkonaut f65509408e Log fish buckets as water place, not lava place
Fixes #715
2018-08-29 02:41:10 +02:00
Brokkonaut 2afa3c88cd Update to Spigot 1.13.1 2018-08-27 17:13:44 +02:00
Brokkonaut 282090459f Optionally log fluid flow as the player who created the fluid 2018-08-21 06:50:09 +02:00
Brokkonaut 681c4a2033 Reduce amount of string allocations 2018-08-21 06:29:44 +02:00
Brokkonaut 56404533db Improved fire logging and rollback 2018-08-21 06:17:24 +02:00
Brokkonaut 710de5b35a Fix time restriction checking 2018-08-20 18:25:40 +02:00
Brokkonaut eb0b969477 add jenkins ci to the readme 2018-08-16 04:18:13 +02:00
Brokkonaut c997fb9db9 improve clearlog output when no rows are found 2018-08-13 16:12:03 +02:00
Brokkonaut 572df51d28 Change the api from using byte[] to YamlConfiguration
byte[] is only used for database rows
2018-08-09 05:00:11 +02:00
Brokkonaut ce1a1c3bd2 Fix fire spread logging 2018-08-05 05:45:05 +02:00
Brokkonaut 51b72bafa6 Update slf4j-jdk14 dependency 2018-08-04 15:42:55 +02:00
Brokkonaut dc4d7e0319 We might need the player in clearlog 2018-08-04 15:19:30 +02:00
Brokkonaut 466775631b Improve clearlog
- Allow clearing of chat & kills table, Resolves #662
- Improve performance by using muti table delete, Fixes #179
- Do not use INTO OUTFILE for dumping logs
2018-08-04 15:09:57 +02:00
Brokkonaut 83506e6cd9 Cleanup query generation 2018-08-04 05:36:06 +02:00
Brokkonaut 89d9da02e3 Do not enforce row limit for auto clear logs 2018-08-03 23:04:35 +02:00
Brokkonaut c623525847 More secure writelogfile command 2018-08-03 18:29:22 +02:00
Brokkonaut cfea33e1fd Fix clearlog table 2018-08-03 18:28:33 +02:00
Brokkonaut 8b71a8a62b Tool config option dropToDisable
If set to true, the tool will be disabled (and if removeOnDisable is true removed)
when you try to drop it.

Adds #548
2018-08-03 16:59:44 +02:00
Brokkonaut e6310e6174 Config option if a tool should be removed on disable 2018-08-03 16:04:07 +02:00
Brokkonaut 8d11ea3f53 Only remove tools on disable if the player could get them 2018-08-03 15:59:33 +02:00
Brokkonaut d04501baf4 Load the config after worlds are loaded
Fixes #267
2018-08-03 15:36:39 +02:00
Brokkonaut 47f7ddec01 Limit query results
lookup.limesLimit is now correctly used as default limit for lookups
The new lookup.hardLimesLimit is the max limit that is enforced in all
lookups + rollbacks (default 100000)

Fixes #636, Fixes #128
2018-08-03 14:57:08 +02:00
Brokkonaut cbf0011cd3 Print a warning and skip invalid data in serialized blockstates 2018-08-03 14:52:39 +02:00
Brokkonaut 66070e2b38 Do not spam exceptions when the database connection pool is closed
When some database access is still running asynchronously, it will
create an SQLException when the pool is closed (on shutdown). Just
silently ignore them in this case.
2018-08-03 14:20:55 +02:00
Brokkonaut 6168ef1713 Have an extra map for uncommited playerIds
They will only added to the main list after a successful
commit and cleared otherwise
2018-08-03 14:09:09 +02:00
Brokkonaut d0f64070ae Update the javadocs for the Consumer 2018-08-03 03:14:16 +02:00
Brokkonaut 2c06c90c6d Set a name for the consumer thread 2018-08-03 03:08:23 +02:00
Brokkonaut 60a049ed49 Rewrite the Consumer to be more stable and much faster
- Use prepared statements and batching for all inserts
- There is now one continuously running Consumer thread
- Use proper synchronization
Fixes #712, Fixes #710

Its a large rewrite so there could still be bugs..
2018-08-03 01:53:28 +02:00