Commit Graph

288 Commits

Author SHA1 Message Date
Olof Larsson
6d57d6f51c Implemented a recursive equality checker for JsonElement. Compensates for MongoDB rounding issues, non deterministic map entry order etc. Also reduces CPU load with 30-40%. 2013-05-27 12:27:45 +02:00
Olof Larsson
b50c8cd048 I like this order better. 2013-05-27 09:46:08 +02:00
Olof Larsson
9d01aa974e Even better statistics. 2013-05-27 09:39:53 +02:00
Olof Larsson
1b7a6c45e6 Adding in a sync-log. This makes it easier to find colls that sync to much 2013-05-27 08:41:06 +02:00
Olof Larsson
2c8c0b7c7d This more flexible. 2013-05-26 17:45:23 +02:00
Olof Larsson
9b0e112a5c Check if entity is FireWork. Fixes #5 and #6. Thanks aadnk. 2013-05-26 11:22:29 +02:00
Olof Larsson
2a97b2a697 This is 6.3.1_dev 2013-05-03 14:55:30 +02:00
Olof Larsson
834094bfc8 This is 6.3.0 2013-05-03 12:07:26 +02:00
Olof Larsson
957ef2688e Update for 1_5_R3, after a detailed lookthrough it seems no nms method signatures I used had changed. 2013-05-03 09:57:26 +02:00
Olof Larsson
b846250944 Added missing line, the DB cache now works. Added mstore stats and listcolls command. 2013-05-01 19:41:36 +02:00
Olof Larsson
9a8a792315 Remove _id field in the converter and care about if numbers are floating or not. 2013-05-01 18:59:05 +02:00
Olof Larsson
eb3fc18f65 Save/Update like this? 2013-05-01 18:26:50 +02:00
Olof Larsson
5faf1a885e Renaming the gson driver to flatfile. 2013-05-01 18:13:29 +02:00
Olof Larsson
5e326ed672 Escaping dot and dollar signs in the mongo <--> gson converter, adding success message to copy command and preparing to rename gson --> flatfile. 2013-05-01 18:04:59 +02:00
Olof Larsson
4d6c73f1d6 Working some more on mongo-stuff 2013-05-01 14:48:24 +02:00
Olof Larsson
81be88fca8 The copy command seem to work like this. 2013-05-01 14:29:40 +02:00
Olof Larsson
00304be8a2 Remove stuff I never use and make the database system GSON centric. 2013-05-01 14:06:47 +02:00
Olof Larsson
f6206d0392 Add an mstore command with a todo dbcopy command. Also cache database instances in mstore. 2013-05-01 13:07:21 +02:00
Olof Larsson
a46caad008 Adding more info in the plugin.yml 2013-05-01 12:36:48 +02:00
Olof Larsson
b64e8a8b77 Reorganizing MCore internal commands and permissions. 2013-05-01 12:29:51 +02:00
Olof Larsson
a3d99f627f Dies one is command as well 2013-05-01 11:33:11 +02:00
Olof Larsson
35dfb769d5 Move the commands to a special package. 2013-05-01 11:31:00 +02:00
Olof Larsson
9264911634 Rename Perm --> MCorePerm to reduce ammount of class name clashes. 2013-05-01 11:28:15 +02:00
Olof Larsson
738d1f7822 Move the Aspect and Multiverse entities to the main package. 2013-05-01 11:25:39 +02:00
Olof Larsson
41e581ee71 Update MongoDB Java driver to 2.11.1 2013-05-01 11:06:39 +02:00
Olof Larsson
bc92d94f89 Use the bukkit rounding tools to round the same way always. 2013-04-29 12:48:41 +02:00
Olof Larsson
5649117b1f Fix an NPE 2013-04-29 10:35:49 +02:00
Olof Larsson
c34c2354bd Adding some PS format 2013-04-26 20:07:25 +02:00
Olof Larsson
9b3a87c0da Add a progressbar system 2013-04-26 17:54:53 +02:00
Olof Larsson
ff3219ea6e Money, ensure accounts exist before using them. If they are not players set balance to zero. 2013-04-26 08:03:22 +02:00
Olof Larsson
2c70489885 There we go 2013-04-25 13:31:15 +02:00
Olof Larsson
69c78d68a1 First attempt to color the help with requirementsAreMet color code. 2013-04-25 13:25:49 +02:00
Olof Larsson
ffab977475 Fix bugs with isSameChunk 2013-04-25 12:05:52 +02:00
Olof Larsson
1a3f153a08 Improve entity.changed(), it now checks for attachment and inited. 2013-04-25 08:34:59 +02:00
Olof Larsson
18bb47007e Minor change to the modulo task 2013-04-24 09:00:05 +02:00
Olof Larsson
2db041fea4 Minor tweaks to the Money static. 2013-04-22 09:24:00 +02:00
Olof Larsson
35599952e8 With custom naming for block command senders that follow no special rules for the ID there is not much we can do. Also the reverse lookup was doomed to fail from the beginning. Removing that feature and make the system more compatible with the current situation. 2013-04-21 10:08:35 +02:00
Olof Larsson
c24a9a63dc Fix some comments and indent style 2013-04-20 15:50:50 +02:00
Olof Larsson
dc15ec2d6c Now that I think of it the default case is the null case. 2013-04-19 18:58:34 +02:00
Olof Larsson
e8e8de834b Fore the sake of inception add in experimental money support in mcore through Vault. 2013-04-19 18:25:47 +02:00
Olof Larsson
2b7b45b7d3 Working some one the MCore event classes. I will lie and say that all events are cancellable. In situations where we dont want them to be cancellable we can simply not care about that boolean. 2013-04-19 15:13:30 +02:00
Olof Larsson
59b133284e Adding potion utilities to mcores mutil. 2013-04-18 17:13:13 +02:00
Olof Larsson
6f7b10bfb0 Some random additions. Factions stuff that fit into the STD. 2013-04-18 14:17:07 +02:00
Olof Larsson
0ffa24b15e Optimize equals slightly? Like it matters. 2013-04-17 17:14:58 +02:00
Olof Larsson
9b0845f2c3 Improve the PS deserialization logic so it understands LazyLocation from older versions of Factions. 2013-04-17 11:53:55 +02:00
Olof Larsson
cb02cc3ee9 Adding in a standardised version command. 2013-04-16 13:18:01 +02:00
Olof Larsson
8e633ceb2b Moving lowercasing logic to Coll and alter constructors to get rid of uuid as default and troll myself. 2013-04-16 09:23:55 +02:00
Olof Larsson
135e2ce27b Use NaturalOrderComparator instead of built in Java one for strings. 2013-04-12 15:07:34 +02:00
Olof Larsson
d2bad2bb20 Get rid of Auto Increment alltogether. 2013-04-12 14:36:49 +02:00
Olof Larsson
7a358a80d5 Since I only used String ids for now, let's assume that's always the case. Saves us a lot of generics-crap. 2013-04-12 14:05:14 +02:00