Commit Graph
776 Commits
Author SHA1 Message Date
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
Brokkonaut a37dd9cff1 Material mappings don't use the consumer any more 2018-08-03 01:42:15 +02:00
Brokkonaut 1878b94781 Use batch import for dumped files, its much faster 2018-08-03 01:35:33 +02:00
Brokkonaut a853230c8d I don't like tags 2018-08-03 01:04:38 +02:00
Brokkonaut 3d1f57cc79 ServerPrepStmts ftw 2018-08-03 01:04:02 +02:00
Brokkonaut f85dbdbbdf Logging both halfes of a door on interact was a bad idea 2018-08-03 01:03:36 +02:00
Brokkonaut e98910615f Not all bisected blocks are double blocks 2018-08-03 01:03:07 +02:00
Brokkonaut 39a0fbeafa Set default time for tools in the config 2018-08-03 01:02:18 +02:00
Brokkonaut ecae2abaf0 Tags are still evil 2018-08-03 01:01:54 +02:00
Brokkonaut cc939ab413 Spaces instead of tabs in the pom.xml 2018-08-02 05:28:09 +02:00
Brokkonaut 680db124a9 Build on java 8 2018-08-02 05:14:26 +02:00
Brokkonaut d8e53173e0 Set default time limit also for lookups
Fixes #309
v1.13.1-SNAPSHOT-2
2018-08-02 03:43:18 +02:00
Brokkonaut 33d97ed971 Improved + rollbackable interact logging
Rollback door openings, comparator, repeater and noteblock modifications and similar things
2018-08-02 02:47:20 +02:00
Brokkonaut 3dbb7a6c43 Improve chest rollbacks
Fixes #533
2018-08-02 01:18:43 +02:00
Brokkonaut 0eb2b0dbc8 Force CAVE_AIR and VOID_AIR to AIR + Cleanup rollbacks 2018-08-02 00:50:03 +02:00
Brokkonaut 37ce2303dc Improve sign logging
Fixes #407
2018-08-01 20:28:21 +02:00
Brokkonaut 95b7be57fc Dragon Egg teleport logging 2018-08-01 20:02:15 +02:00
Brokkonaut 92b1a2f394 Improve logging of fallable blocks
Also in this commit: Bukkit's Tags are just broken
2018-08-01 20:01:51 +02:00
Brokkonaut 5a7ba77095 Make the materials mappings safe to be used by multiple servers at the same time 2018-08-01 16:53:34 +02:00
Brokkonaut 7a5e46b65f Increase Updater batch size 2018-08-01 03:38:19 +02:00
Brokkonaut 8084b3e4c0 Respect LAVAFLOW config setting in all cases
Fixes #648
2018-08-01 02:53:49 +02:00
Brokkonaut dd58019be1 Clone QueryParams before using them async
Fixes #696, Fixes #684
2018-08-01 02:47:27 +02:00
Brokkonaut c30aba4f90 Validate config tool params on execution
Fixes #642 #686
2018-08-01 02:36:06 +02:00
Brokkonaut 6d13c6436c BEDEXPLOSION logging
Fixes #693
2018-08-01 01:46:50 +02:00
Brokkonaut 4baa989e60 Player name auto-completion does more harm than good, so don't do that
Fixes #388
2018-08-01 00:38:49 +02:00
Brokkonaut 1b0a575945 Remove worldedit-core from the pom
It is implicitly added by worldedit-bukkit
2018-08-01 00:32:33 +02:00
Brokkonaut cd2dbc0813 Integrate Questioner into Logblock
You do not need the extra plugin any more. If you want no questions asked, just disable it in the config.
2018-08-01 00:28:13 +02:00
Brokkonaut fd450aee80 Check if world is logged in LogBlock.getCount 2018-07-31 23:17:26 +02:00
Brokkonaut e5097a1577 Compare all aspects if ItemStacks, not only Material 2018-07-31 22:00:17 +02:00