Commit Graph

480 Commits

Author SHA1 Message Date
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
Olof Larsson
21dac166eb Messing around with UUID's and ObjectId's. 2013-04-12 11:39:47 +02:00
Olof Larsson
6e15d22eda Some source code formatting to the id-strategies. 2013-04-12 10:54:56 +02:00
Olof Larsson
63b3eae101 Some improvements to the auto increment system. 2013-04-12 10:42:58 +02:00
Olof Larsson
6b4e8e5502 Added better valueOf methods for chunk PS by coord. 2013-04-11 11:27:57 +02:00
Olof Larsson
ac524cd559 Add in a chunk coord plus method for PS 2013-04-11 08:48:36 +02:00
Olof Larsson
6d0e2f7669 Make PS comparable and have equals make use of the compare methods. 2013-04-11 08:19:15 +02:00
Olof Larsson
95f1dc8dd0 Require Plugin only and not MPlugin in MStore. 2013-04-11 07:19:05 +02:00
Olof Larsson
d4f30331ef Do not require MPlugin if Plugin is sufficient 2013-04-10 11:08:13 +02:00
Olof Larsson
9a6cae780d Add MCoreCancellableEvent 2013-04-10 09:04:20 +02:00
Olof Larsson
e00cd2afc8 Rename collections. This is a breaking change that will require manual fix. Remember to warn other users. 2013-04-10 08:58:55 +02:00
Olof Larsson
b7a88095d3 More stuff in cooldown system test component. 2013-04-05 09:19:13 +02:00
Olof Larsson
cae94f01f6 first draft and cooldown component 2013-04-03 09:35:23 +02:00
Olof Larsson
79d382ee40 Made command registering override per default. 2013-03-28 10:51:25 +01:00
Olof Larsson
61d7b7cb12 Moved the tpdelay to the mstore conf. 2013-03-26 10:37:42 +01:00
Olof Larsson
edabc02555 Implemented a mstore mcore config with custom permission denied formats. 2013-03-26 10:20:00 +01:00
Olof Larsson
d274874092 Conf should be called ConfServer. 2013-03-26 09:50:19 +01:00
Olof Larsson
2544fa0a6b Add a permission denied format event. 2013-03-26 09:43:23 +01:00
Olof Larsson
6fc7723466 Add a gson adapter for PlayerInventory. 2013-03-26 09:16:09 +01:00
Olof Larsson
853fe36a5d InventoryUtil changes and PlayerUtil.isJoined- 2013-03-25 13:50:37 +01:00
Olof Larsson
f8d29d98aa More tweaks to the inventory stuff 2013-03-23 17:24:38 +01:00
Olof Larsson
9cc687dab0 Experimental PlayerInventory serdes support. 2013-03-23 16:14:13 +01:00
Olof Larsson
4c70897d87 Update for R2 2013-03-22 17:31:16 +01:00
Olof Larsson
90f2c1059b More work to the inventory util. 2013-03-22 11:05:06 +01:00
Olof Larsson
c12c1ac765 Working with InventoryUtil and removing NMS references. 2013-03-22 10:20:11 +01:00
Olof Larsson
e1687d24a6 Adhere to some conventions. 2013-03-21 10:33:36 +01:00
Olof Larsson
ea17db7298 Minor changes to teleport mixin 2013-03-20 14:43:33 +01:00
Olof Larsson
2ff98d2ddb Initial update to 1.5 2013-03-17 11:19:20 +01:00
Olof Larsson
478c60156c fix broken logic 2013-03-15 13:04:06 +01:00
Olof Larsson
de88118d78 Ids etc may contain spaces. Thus I added argConcatFrom with argreader 2013-03-15 12:57:29 +01:00
Olof Larsson
3163253c49 New utility methods in InventoryUtil 2013-03-14 17:59:46 +01:00
Olof Larsson
ad06dd854c Making argument index optional and heavy OCD 2013-03-14 12:35:42 +01:00
Olof Larsson
92ac999c2e implement Cloneable just because we can, trim entity velocityY 2013-03-13 08:23:37 +01:00
Olof Larsson
b324024c20 Making PS2 the defacto standard by renaming it to PS and fix issues that occurred. 2013-03-12 20:13:10 +01:00
Olof Larsson
3b0a3eff59 Moved to new package, created PSFormater system, added static comparators such as locationDistance and inSameUniverse 2013-03-12 17:36:22 +01:00
Olof Larsson
19a21d25a1 Refactored name constants and added in the old introduction since it is still valid. 2013-03-12 15:25:34 +01:00
Olof Larsson
09f2d8b8b7 Throw exceptions instead of returning null 2013-03-12 15:01:06 +01:00
Olof Larsson
006e0435a4 Transparent paste method simply called "with" 2013-03-12 14:43:24 +01:00
Olof Larsson
69adda27ed Value of Bukkit Equivalents 2013-03-12 14:27:06 +01:00
Olof Larsson
6c6ea61b5c Field groups, asBukkitEquivalents, renamed worldName --> world 2013-03-12 13:47:26 +01:00
Olof Larsson
cfbfe9b4aa Builder and value of JsonElement 2013-03-12 11:23:34 +01:00
Olof Larsson
3999d8e081 Fixed typo in current PS version, made constants of serialized gson names, added with-pseudo-setters. 2013-03-12 10:43:20 +01:00
Olof Larsson
16aaf820ff Starting work on new immutable PS class 2013-03-12 10:27:49 +01:00
Olof Larsson
1982709181 rename 2013-03-12 08:33:20 +01:00
Olof Larsson
9fe7a9c489 Added actuall mixin 2013-03-12 07:51:38 +01:00
Olof Larsson
8dbb8f793d Minor utilities and fixes 2013-03-07 12:55:20 +01:00
Olof Larsson
8c5c35c725 The entity class may now decide when it's default 2013-03-06 14:50:38 +01:00
Olof Larsson
941478c574 Recoding TeleporterMixin 2013-03-05 17:14:13 +01:00
Olof Larsson
e07241d4d7 Adding in an event on PS teleportation. 2013-03-05 09:52:08 +01:00
Olof Larsson
2543fc306e Use oid and fixId everywhere for safety. 2013-03-04 11:04:51 +01:00
Olof Larsson
5c2752129d Improving command requirement Req 2013-03-02 16:29:20 +01:00
Olof Larsson
65f84c25fe new senderId sources and minor message mixin fix. 2013-03-02 15:56:11 +01:00
Olof Larsson
8e071f2f6f New features for the message mixin. 2013-03-02 15:41:05 +01:00
Olof Larsson
b00eb28834 Adding debug output to the protocol lib useage location to get more data. 2013-03-01 13:10:56 +01:00
Olof Larsson
148b09542d Remove debug output I forgot about. 2013-03-01 12:56:06 +01:00
Olof Larsson
fc22f60e37 Removed the old version of the item stack adapter. This is good since we loose some CraftBukkit usage. 2013-02-28 19:54:41 +01:00
Olof Larsson
8c11390bf9 I heard Lombok actually wasn't that fun. So I removed it. 2013-02-28 19:44:30 +01:00
Olof Larsson
f1acaf8143 Removed potion packet util and added MCoreEntityPotionColorEvent. 2013-02-28 12:48:09 +01:00
Olof Larsson
bd1e2e29de Scheduled teleports should not depent on tickrate. 2013-02-27 08:27:28 +01:00
Olof Larsson
9a4280fad9 typo fix 2013-02-22 10:13:52 +01:00
Olof Larsson
06bf6f2946 use one mcore only 2013-02-22 08:27:28 +01:00
Olof Larsson
022e05ceaa more mixin and loads of other stuff 2013-02-22 08:12:02 +01:00
Olof Larsson
dba940f337 Remove that old stuff and add in some new herp. 2013-01-30 12:48:18 +01:00
Olof Larsson
9068618e8c Always case insensitive 2013-01-29 19:00:10 +01:00
Olof Larsson
d9c6abe12b Work on mixins and PS. 2013-01-29 18:58:36 +01:00
Olof Larsson
33ab2f0e88 Violently shivering froodl. 2013-01-28 21:14:36 +01:00
Olof Larsson
8675a87aba Remove plugin reference from MCommand. Aim to work with CommandSender instead of Player in most situations. 2013-01-17 15:44:38 +01:00
Olof Larsson
e4942a2eb8 The two sets were of course redundant. The two maps covered those two cases. 2013-01-16 12:33:16 +01:00
Olof Larsson
3191ff7916 Add entity and id comparators. Store entity id in Entity just as we put a reference there to the collection. 2013-01-16 12:16:47 +01:00
Olof Larsson
d69a61d6c2 Move all field initialization to the constructor. 2013-01-16 11:05:47 +01:00
Olof Larsson
cebdaebb2e Minor syntax fix 2013-01-15 16:15:37 +01:00
Olof Larsson
0185870205 Rename Perm --> PermUtil and improved permission management utilities. 2013-01-15 16:08:43 +01:00
Olof Larsson
cfd3ff0d94 minor cleanup 2013-01-15 07:58:51 +01:00
Olof Larsson
d2d5d802dd Work on the ItemStack adapter. Added missing firework flight power. Updated format description document. 2013-01-15 07:49:14 +01:00
Olof Larsson
6b8baafa37 Possible resource leak fix 2013-01-10 13:58:19 +01:00
Olof Larsson
f3530d521b Teleporter may now throw exceptions 2013-01-10 13:56:34 +01:00
Olof Larsson
693705fc10 pager 2013-01-09 10:59:21 +01:00
Olof Larsson
3d0d0c1862 Detaching entities and ids using separate methods. Made ids sort naturally as well. 2013-01-09 09:51:53 +01:00
Olof Larsson
514162387f Minimalizing and simplifying MStore. Also adding default sorting to entities and collections. 2013-01-09 09:41:14 +01:00
Olof Larsson
9a66c7ce2c Hardening config cmd aliases and adding pageheight-aware pager. 2013-01-08 18:10:53 +01:00
Olof Larsson
e4da009bfc Better permission nodes, player references and ensureHas utility in Perm. 2013-01-05 14:25:35 +01:00
Olof Larsson
b13f8f2df0 We like sort order :) 2013-01-01 11:07:42 +01:00
Olof Larsson
cfff2c5c09 The issue was fixed so now we fixed :3 2012-12-31 10:57:31 +01:00
Olof Larsson
cf23084db6 Add support for the new ItemMeta. 2012-12-21 23:16:33 +01:00
Olof Larsson
c19f8ba061 Made the PotionEffectAdapter a bit more flexible 2012-12-21 12:45:32 +01:00
Olof Larsson
3efa531559 Update for 1.4.6 2012-12-21 08:35:07 +01:00
Olof Larsson
5d193587ed NMS-free fake explosion. 2012-12-20 15:17:28 +01:00
Olof Larsson
0a15dae2a4 some indent and a version bump 2012-12-20 13:05:48 +01:00
Olof Larsson
01fd133352 Fix indent style 2012-12-20 08:50:03 +01:00
Olof Larsson
e5c7d7708e Fix config files nog updating and reworked ItemStack adapter to avoid NMS NBT. 2012-12-20 08:32:09 +01:00
Olof Larsson
552f74274a Legacy custom serializer since removal of getHandle 2012-12-18 09:13:55 +01:00
Olof Larsson
1e601bea2d Version 5 1.1.0 for CB 1.4.5-R0.3 2012-12-17 14:51:11 +01:00
Olof Larsson
73ecbd659a PS bug fixes, more argument readers, NMS utils 2012-12-17 13:13:12 +01:00
Olof Larsson
79c42a56e6 Possible hotfix for empty NMS lists. 2012-11-24 19:14:25 +01:00
Olof Larsson
303f91430a A polymorph adapter and some text utils. 2012-11-18 00:05:28 +01:00
Olof Larsson
000a9e628a mcore5 2012-11-11 13:07:30 +01:00
Olof Larsson
822db7a308 Spelling and a reflection freakout fix. 2012-11-10 22:08:42 +01:00
Olof Larsson
b4497f9b26 Beta version of better ItemStack serialization using a NBT <--> Gson converter. 2012-11-10 19:17:46 +01:00
Olof Larsson
34a7323f4a base commands are now configurable 2012-11-08 00:09:51 +01:00
Olof Larsson
08dd0e1c3c initial 1.4.2 changes 2012-11-07 11:33:59 +01:00
Olof Larsson
4e6a839d79 wow. getting close to stable next major version \:D/ 2012-10-02 21:54:20 +02:00
Olof Larsson
38aad961cc java conventions and lombok 2012-10-01 16:32:18 +02:00
Olof Larsson
6fbc4b9a7a some lomboking 2012-10-01 15:12:22 +02:00
Olof Larsson
9e5866303e many random updates again :P 2012-10-01 13:18:49 +02:00
Olof Larsson
c670731a4e Changes :P 2012-09-23 14:46:05 +02:00
Olof Larsson
a47df27b30 Logging with color and improvement to Colls. 2012-09-22 12:40:52 +02:00
Olof Larsson
d27473a8ad Removing old deprecation and noting what to delete asap. 2012-09-21 01:00:55 +02:00
Olof Larsson
1527dc5aa7 Removing two old invalid aproaches. 2012-09-21 00:55:59 +02:00
Olof Larsson
4d613e3b45 Removing the usel system. 2012-09-21 00:54:20 +02:00
Olof Larsson
682e6513a4 Loads of changes. 2012-09-21 00:50:43 +02:00
Olof Larsson
3c9a0a4640 Avoid PlayerPreLogin event, PS improvements and Store improvements. 2012-09-08 12:16:41 +02:00
Olof Larsson
14756e79fd Say hello to my little firend xD 2012-09-02 18:47:21 +02:00
Olof Larsson
5845a7c19b Renaming WCat to USel. Some universe messing around. 2012-09-02 14:13:20 +02:00
Olof Larsson
4883d0754f Beta universe implementation. 2012-09-01 18:31:33 +02:00
Olof Larsson
46b044e5c4 Avoiding some error output we dislike. 2012-08-31 19:08:11 +02:00
Olof Larsson
e286f923b1 Bugfixes and removed the matcher method within the coll. 2012-08-31 18:13:41 +02:00
Olof Larsson
f706ea7ac2 Improvements to the simple config. Added an init method to the store coll. 2012-08-31 16:16:24 +02:00
Olof Larsson
7e0305aec0 A bugfix and a simple config class. 2012-08-31 15:30:20 +02:00
Olof Larsson
6089d5e0ed Some work on putting the components together 2012-08-31 14:53:15 +02:00
Olof Larsson
eba582f3f3 A few bugfixes. 2012-08-31 13:40:18 +02:00
Olof Larsson
541b6ffd1e Avoid creating folders in vain. 2012-08-31 13:32:53 +02:00
Olof Larsson
d56c87759a MCore is now itself an mplugin. 2012-08-31 12:59:26 +02:00
Olof Larsson
c99c441490 Updating player util. 2012-08-31 12:41:56 +02:00
Olof Larsson
f1c1f60d38 Renaming lib package to xlib. As in eXternal library. This makes it sort better in IDEs. 2012-08-31 11:16:56 +02:00
Olof Larsson
2bca9a6572 Adding in the development version of the new data store system. 2012-08-31 11:07:13 +02:00
Olof Larsson
541c6d2e0a Oh so nice and clean. 2012-08-31 10:56:27 +02:00
Olof Larsson
36c8d217c8 Getting rid of the persist-maps in mcore. 2012-08-31 10:32:49 +02:00
Olof Larsson
7e7435e614 Removing most of the stupid map-references. 2012-08-31 09:59:14 +02:00
Olof Larsson
bdb34e6d8e Making use of Brett Flannigans Java 6 compatible solution. 2012-08-30 20:11:01 +02:00
Olof Larsson
e8ec7fb852 a few changes. 2012-08-30 20:04:17 +02:00
Olof Larsson
d546ed5938 This would be MCore4 v1.0.0 2012-08-14 17:45:50 +02:00
Olof Larsson
0dc8a972e0 Update for Minecraft 1.3.1 2012-08-14 17:24:52 +02:00
Olof Larsson
49f5503935 Now works with world containers. 2012-07-17 12:22:21 +02:00
Olof Larsson
56828bc3e6 V1.0.2 for CB 1.2.5-R4.1 2012-06-20 11:12:28 +02:00
Olof Larsson
10ff054323 World generators can now use MCOre. 2012-05-30 17:26:20 +02:00
Olof Larsson
25c644db1b Proper optimization? 2012-05-29 17:10:36 +02:00
Olof Larsson
84a3bf5e5a A minor optimization and some more flexibility 2012-05-29 16:40:05 +02:00
Olof Larsson
9f3aaa3a30 Item adapters for Gson and minor tweaks. 2012-05-14 22:33:59 +02:00
Olof Larsson
8b5c8fd354 Bump to MCore3 2012-05-11 15:27:48 +02:00
Olof Larsson
738bb84dd8 Util for GameMode checking. 2012-05-11 15:08:58 +02:00
Olof Larsson
30a1b1bfa6 New stuff 2012-05-11 06:54:17 +02:00
Olof Larsson
8b290daadc Now using an argument tokenizer. Citation mark usage implemented. 2012-05-09 12:07:16 +02:00
Olof Larsson
57bbbddede Recent adittions. 2012-04-26 10:16:23 +02:00
Olof Larsson
6536631e6d New bukkit command integration and latest mcore version. 2012-03-30 19:27:57 +02:00
Olof Larsson
cb5f71f2c8 Dropping some spout usage. Adding date argument reader 2012-03-19 12:03:52 +01:00
Olof Larsson
157b7b002e Merge branch 'master' of github.com:MassiveCraft/mcore 2012-03-16 14:49:35 +01:00
Olof Larsson
85d38da19e Now mcore2 2012-03-16 14:49:05 +01:00
Evan Darwin
c69ca1cfcd Un-needed function 2012-01-25 13:40:19 -07:00
Olof Larsson
af388effea Renamed to mcore2dev 2012-01-25 16:20:19 +01:00
Olof Larsson
689d8b3280 Using new event system. 2012-01-25 14:36:33 +01:00
Olof Larsson
e0b79d504d Merge branch 'master' of github.com:MassiveCraft/mcore 2012-01-23 00:50:34 +01:00
Olof Larsson
3867c24bc7 Added world arghandler 2012-01-12 19:06:34 +01:00
Brettflan
cfa23b235c Fix for "ambiguous reference" compile error in NetBeans 2012-01-11 17:06:38 -06:00
Olof Larsson
c5b7f07456 Random improvments and bug fixes 2012-01-11 22:57:55 +01:00
Olof Larsson
13051a8684 Player messages, support for more errorMessages, new color codes and some private to protected. 2012-01-04 03:19:33 +01:00
Olof Larsson
155344a7ad Now using a sender fixer method to set vars instead of functions with consolecommands. And added commaAndDot. 2011-12-30 19:55:44 +01:00
Olof Larsson
c18a57f17a Making Txt and Perm completely static utilities. 2011-12-28 00:05:07 +01:00
Olof Larsson
1a8a8e0e21 Added command help and fixed a general help command implementation. 2011-12-15 16:37:49 +01:00
Olof Larsson
5ee13b7af9 Added support for matching offline players for player wrappers. 2011-12-14 16:44:45 +01:00
Olof Larsson
a21dd2bbc0 A few bugfixes. 2011-12-14 02:06:54 +01:00
Olof Larsson
ff36e54e14 Solved a concurrency issue. 2011-12-13 05:12:43 +01:00
Olof Larsson
5080d60a5c Check null on ugly sql sort. 2011-12-13 00:30:03 +01:00
Olof Larsson
b49494d559 Text wrapping improvements etc. 2011-12-12 22:32:06 +01:00
Olof Larsson
65538d0789 Default gson, one and some derp 2011-12-12 21:29:32 +01:00
Olof Larsson
8bce24bb61 Added isVisibleTo 2011-12-12 19:26:00 +01:00
Olof Larsson
9c2838efc5 Say hi to the requirements. 2011-12-12 19:22:47 +01:00
Olof Larsson
d823098f44 Fixing with argument handlers. 2011-12-12 18:43:52 +01:00
Olof Larsson
9519d46a42 Cleaning up the mcommand 2011-12-12 18:16:01 +01:00
Olof Larsson
93b11e8980 Huge amounts of derp. 2011-12-12 17:28:33 +01:00
Olof Larsson
9f246386db Added inventory gson type adapter as well as some other derp. 2011-12-08 22:56:52 +01:00
Olof Larsson
6ffb71676b Using PersistRealms and experimenting with TextDesign. 2011-12-08 05:03:52 +01:00
Olof Larsson
9eceaa6e47 Hid the JsonFileFilter constructor. 2011-12-07 19:26:35 +01:00
Olof Larsson
411f597cad Added a few utils and fixed a few warnings 2011-12-07 19:15:23 +01:00
Olof Larsson
ecaa3759dc added gson2 and persis v2beta 2011-12-07 18:31:56 +01:00