Commit Graph
15 Commits
Author SHA1 Message Date
Philip Cass a4e4c35371 Bukkit API version bump for projectile source 2015-02-16 20:09:58 +00:00
Philip Cass e3dc430931 Identify players by UUID and migrate existing databases to include this. Fixes #538, fixes #568
This creates a new column in the lb-players table called UUID. If this is in the form of a UUID,
it's assumed to be a player. If not, it's assumed to be a server entity (zombie, sheep, or
WaterFlow, LavaFlow etc.). LogBlock will set the UUID of entities to "log_" plus their name
(i.e. log_zombie or log_sheep)

To assist this is a new class Actor, which wraps a name/UUID pair, with constructors that will
generate one from server entities, or SQL results. Every listener and every class in Consumer
needed to be updated to deal with this

As of yet, only the playername is displayed in results (although the queries do return UUID data).
Similarly, you can only query by name (the database stores the last name they have logged in as).
In addition, the WorldEdit hook has been disabled (is not compiled) since LB needs to be updated
to use their new API, and the LB code hook has to extract UUID information for insertion.

The UUID importer assumes any player with an onlinetime of 0 is a server-generated source, and set
the UUID as above (log_sheep etc.).  For everything else, it sends 100 names at a time to Mojang's
name->UUID service, and records them if available.  If no result is found, it records their UUID as
noimport_theirname.  As this is more likely than other updates to be interrupted mid-way, the
importer is tolerant of e.g. the column already being added, and will resume where it left off.
2015-02-14 14:01:21 +00:00
Dark Arc 3cffeccedb Updated Smart Logging for 1.7.2 and resolved a bug with door logging 2013-12-09 15:32:09 -05:00
md-5 97be730fa8 Maven deploy 2013-10-18 07:36:21 +11:00
Dark Arc 2a2079c1a3 Updated Smart Logging for MC 1.6.1 2013-07-02 17:24:27 -04:00
Dark Arc 8a3a61f90f Updated Smart Logging for MC 1.5 2013-03-15 20:15:44 -04: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 e361c39937 Added WorldEdit logging 2013-01-12 12:37:45 +05:00
Dark Arc e4ee6f944d [Experimental] Major improvements to LogBlock's accuracy. 2013-01-08 14:39:28 +11:00
md_5 e3c51ac0c6 Fix bukkit binary break 2012-12-05 18:25:03 +11:00
Ammar Askar 92d68be1c0 sketch out template for incoming world edit logging 2012-10-31 21:36:16 +05:00
Ben Woodford 9b23043139 Added Wither and WitherSkull to logging types 2012-10-31 07:24:59 +11:00
md_5 49b8b20ed4 Bump dependancy versions. Thanks to TomyLoby for fixing WorldEdit. 2012-09-22 20:57:24 +10:00
md_5 6d4a46bcde Use async player chat, upgrade to 1.55, and disable lookup permission by default. 2012-08-05 09:08:00 +10:00
md_5 61e9643b90 Mavenize this project so we can use Jenkins and easily enable developers to compile from source. 2012-07-28 14:52:38 +10:00