frymaster
b403e49168
Merge pull request #495 from frymaster/chest-access
...
Expand chestaccess querying
2013-11-08 01:00:59 -08:00
Philip Cass
6025469dfa
Expand chestaccess querying
...
Make a decison on whether or not to return chest access data based on the
BlockChangeType (ALL or CHESTACCESS) rather than partly on the block parameter
as these are the only two query types that don't enforce type != replaced
This is helpful because the list of blocks to request chest access for was
outdated and is duplicated in 3 different places, whereas the new method
will return whatever results have been logged regardless of type.
In addition, if the query type is CHESTACCESS (but not ALL), we can use
an alternate query that is vastly more efficient. In tests (26 million
row log table, 400,000 row chest table) the query time for all chest results
was reduced from 30 seconds to 3.
Allows the chestaccess parameter to return data from the following inventory types:
- Brewing stand
- Trapped chest (fixes #483 )
- Dropper
- Hopper
- Beacon
Note that this only affects lookup of logged items; the logging process has not
been touched, so #433 and similar have not been addressed
Also, update the list of valid container types, which will improve logging of
broken containers.
2013-11-07 13:51:02 +00:00
frymaster
d7862e4fa6
Merge pull request #493 from frymaster/set-text-type
...
Minor database change and query change
2013-11-07 01:40:05 -08:00
Philip Cass
7ac35e4698
Alter INSERT IGNORE queries to workaround innodb auto increment behaviour
...
An INSERT IGNORE query will still increment when using innodb, even if no row is inserted. We can work around this by using a slightly convoluted query, but this only works if the table is non-empty, so also check for that on startup and create a dummy record if necessary.
2013-11-06 10:45:13 +00:00
Philip Cass
c117bcd854
Minor database change
...
- Text fields should be UTF-8. Fixes #491
2013-11-06 09:27:00 +00:00
md-5
97be730fa8
Maven deploy
2013-10-18 07:36:21 +11:00
md-5
05916798cf
Merge pull request #487 from afistofirony/patch-1
...
More specific information when no params/args specified
2013-10-10 16:25:23 -07:00
Sahir
3c75ed1cbb
More specific information when no params/args specified
...
This commit adds the ArrayIndexOutOfBoundsException to onCommand's exception-catcher. This is so the user gets more specific information than "Error, check server.log" when they don't give any arguments.
2013-10-10 19:19:39 -04:00
md-5
e4a42dcc1b
Merge pull request #484 from socram8888/master
...
Added logging of Locked Chest decay
2013-09-26 05:17:59 -07:00
Marcos Vives Del Sol
aa09891f21
Added logging of Locked Chest decay
2013-09-26 13:16:22 +02:00
Ammar Askar
044863bc3d
Merge pull request #428 from frymaster/death-event
...
Use alternate method of logging deaths. Fixes #350
2013-08-21 06:39:36 -07:00
Ammar Askar
b7398bfde1
Re-organize task to be run onEnable, should fix #468
2013-08-08 19:10:09 +05:00
Ammar Askar
aa78a2958c
Merge branch 'master' of github.com:LogBlock/LogBlock
2013-08-08 18:47:28 +05:00
frymaster
ac82d8848b
Use alternate method of logging deaths. Fixes #350
2013-08-06 00:05:56 +01:00
Ammar Askar
10cbb51cb1
Merge pull request #378 from DerFlash/fixPlayerMax
...
Fix SMALLINT only allowing 65535 players to log
2013-08-05 12:44:19 -07:00
Ammar Askar
f9052e0afc
Merge pull request #440 from DarkArc/1_6_1
...
Updated Smart Logging for MC 1.6.1
2013-07-02 15:26:57 -07:00
Dark Arc
13d8498709
Moved a check to ensure players could still place the TB in a world which isn't logged
2013-07-02 17:29:39 -04:00
Dark Arc
2a2079c1a3
Updated Smart Logging for MC 1.6.1
2013-07-02 17:24:27 -04:00
Ammar Askar
37bde5b154
Merge pull request #427 from frymaster/timezone-fix
...
Use unix timestamps in queries.
2013-06-07 09:42:58 -07:00
frymaster
47569ec33d
Send unix timestamps in all cases so we are never relying on timezone-dependent types
2013-06-07 16:26:16 +01:00
md-5
be11b45801
Merge pull request #384 from DarkArc/1_5
...
1.5 Updates
2013-06-01 23:18:17 -07:00
Dark Arc
cc86c4e0e1
Added logging for various blocks spreading
2013-05-19 13:29:19 -04:00
Dark_Arc
b8950857c4
Check to see if the world is being logged when logging chest access
2013-05-19 13:29:18 -04:00
Dark_Arc
aa0c562db3
Provide feedback for the tool when the current world is not logged
2013-05-19 13:29:17 -04:00
Dark Arc
e37a584f89
Fixed door logging
2013-05-19 13:29:16 -04:00
Dark Arc
cf8fc322ab
Added player and creature crop trample logging
2013-05-19 13:29:15 -04:00
Dark Arc
16cdb1c58b
Added tripwire & pressure plate logging
2013-05-19 13:29:14 -04:00
Dark Arc
05c9a6d947
Added Logging for Comparator interaction
2013-05-19 13:29:13 -04:00
Ammar Askar
d448f90e2d
Explicitly use utf8 encoding for connection
2013-05-19 20:27:52 +06:00
Ammar Askar
596fdf054b
Changed readme to markdown and added questioner
2013-04-15 23:24:29 +06:00
md-5
99caa06509
Merge pull request #377 from socram8888/master
...
Added logging of Minecarts with TNT
2013-03-30 16:31:49 -07:00
Björn Teichmann
602b1192d1
Fix SMALLINT only allowing 65535 players to log
...
We just ran into the problem where new users didn't make any edits and after some digging I just found out why:
The playerid in the kb-players table was a SMALLINT. Changing that to an INT should work for some more years now ;-)
2013-03-30 09:58:57 +01:00
Ammar Askar
a1061ff2e4
Added ability to disable id sanity check
2013-03-26 04:11:50 +05:00
Ammar Askar
74c7e0e5b8
Added ability to disable id sanity check
2013-03-26 03:31:43 +05:00
socram8888
e44a0c1700
Added logging of Minecarts with TNT
2013-03-16 18:06:21 +01:00
md-5
9d652ff87c
Merge pull request #375 from DarkArc/smartLFix
...
Smart Logging fix
2013-03-15 18:25:40 -07:00
Dark Arc
a6f543feac
Fixed an issue where smart logging could not make proper block comparison checks
2013-03-15 21:18:12 -04:00
md-5
25c7864133
Merge pull request #374 from DarkArc/smartLUpdate
...
Updated Smart Logging for MC 1.5
2013-03-15 17:31:04 -07:00
Dark Arc
8a3a61f90f
Updated Smart Logging for MC 1.5
2013-03-15 20:15:44 -04:00
md-5
ce0aa22ec0
Merge pull request #371 from DerFlash/master
...
Better location query mechanism
2013-03-10 14:02:38 -07:00
DerFlash
f81ef495c2
* better location query mechanism
...
* fix override / update WE dependency version in pom
2013-03-10 18:16:57 +01:00
Ammar Askar
c7c6978390
Log fireballs according to their shooters. Fixes #336
2013-01-27 11:38:36 +05:00
Ammar Askar
bc6ab367f6
Add stone button id to message generator
2013-01-22 14:36:47 +05:00
md_5
1bfa968a48
Wooden button logging, addresses #331
2013-01-22 18:04:27 +11:00
Ammar Askar
3721746f25
Add legacy escaping for dumped logs
2013-01-21 02:37:31 +05:00
md-5
045de2b1c5
Update to 1.70 for release
2013-01-20 19:30:34 +11:00
Ammar Askar
cc1ade8dc3
Merge pull request #325 from DarkArc/configWarningQueueSize
...
Allow the queue size warning to be configurable
2013-01-19 23:46:25 -08:00
Ammar Askar
9326c54dab
Log data for blocks from worldedit properly. Fixes #329
2013-01-20 12:34:13 +05:00
Dark Arc
5215c2c11c
Allow the queue size warning to be configurable
2013-01-18 16:31:25 -05:00
Ammar Askar
f451d0cc0b
Merge pull request #326 from DarkArc/gdDefaults
...
Use more aggressive defaults for the consumer
2013-01-17 18:23:40 -08:00