Commit Graph

856 Commits

Author SHA1 Message Date
BuildTools
6746824e34 PredicateEqualsIgnoreCase and used aliases 2016-01-08 16:22:18 +01:00
Olof Larsson
b050c768d8 Empty teleportation desc means silence as well. 2016-01-01 17:12:15 +01:00
Olof Larsson
1d59e348ed This Map method seemed smart. 2015-12-16 20:31:35 +01:00
Olof Larsson
bbf974f348 Fix GameMode integer ids. 2015-12-16 12:37:14 +01:00
Olof Larsson
d3c025b288 Do not reset player on join. 2015-12-16 12:20:48 +01:00
BuildTools
76e2b2c90d Task server 2015-12-15 14:00:02 +01:00
Olof Larsson
1311a2f100 MassiveCore - Reworked VisibilityMixin 2015-12-15 13:59:22 +01:00
Olof Larsson
d76c2125b9 TypeGameMode now supports ordinals. 2015-12-15 11:32:47 +01:00
BuildTools
9a78535f80 Gamemode mixin 2015-12-14 17:30:02 +01:00
BuildTools
00e297cceb Allows use of chunks in TypePS 2015-12-14 14:34:35 +01:00
BuildTools
d2da879752 Expose enableTime 2015-12-14 08:00:00 +01:00
Olof Larsson
c40c29a9b3 Revert. Caused a database deadlock. 2015-12-11 14:52:03 +01:00
Olof Larsson
beef10d3ba Dat indent 2015-12-10 21:18:50 +01:00
BuildTools
14e288a21a Remove polling infrequency and change polling wait values. 2015-12-10 21:17:38 +01:00
BuildTools
4d0d1d7b78 Spot modification on attach, fixed. 2015-12-09 20:18:02 +01:00
Olof Larsson
f45688aae6 Remove colliding aliases for LocationY and Yaw due to Y in TypePS. 2015-12-09 11:25:00 +01:00
Olof Larsson
a524d2ebbc Minor renames and movearounds. 2015-12-09 11:21:21 +01:00
ulumulu1510
b66c35b000 Add generic ExceptionSet. 2015-12-09 11:11:30 +01:00
Olof Larsson
121dc67365 Minor Comment Tweaks 2015-12-08 18:12:25 +01:00
BuildTools
a063bab045 Debug when lastRaw is null 2015-12-08 18:11:51 +01:00
BuildTools
c9466eb3c5 Spot more modification 2015-12-08 18:11:38 +01:00
ulumulu1510
a0685d0b5b Add Actionbar functionality. 2015-12-04 16:32:07 +01:00
BuildTools
3ab7abc9ca One single examineId method 2015-12-04 16:22:24 +01:00
Olof Larsson
fac00c00f4 Comment out debug. Fix TimeDiffUtil unit error message. 2015-12-04 16:05:36 +01:00
Olof Larsson
91a268e67e Create getShowLines utility methods in Property. 2015-12-03 14:24:57 +01:00
Olof Larsson
83920b7f45 SignUtil now filter out empty lines. 2015-12-01 11:42:59 +01:00
Olof Larsson
a24463842d Simplify Database Constructors. Use Setters. 2015-12-01 11:23:56 +01:00
Olof Larsson
4e6fdd9df4 Special Signs Improvements 2015-12-01 10:18:10 +01:00
BuildTools
603db8079b Better entity change logging 2015-11-27 16:45:14 +01:00
Olof Larsson
0e8b43f8ea Remove unused import. 2015-11-26 09:11:30 +01:00
Olof Larsson
ab3eec7afe Stop teleport on inventory management 2015-11-25 08:59:56 +01:00
Olof Larsson
14ad78ef15 MassiveCore - Fixes and tweaks 2015-11-24 16:23:07 +01:00
Olof Larsson
7e313ab085 Fix change reporting. Should be continue and not return. 2015-11-23 18:32:55 +01:00
Olof Larsson
3253aa3810 Debug everything 2015-11-23 18:02:17 +01:00
BuildTools
db8d585ca0 Remove pusher stop debug message 2015-11-23 18:00:32 +01:00
Olof Larsson
9c0d9afe19 Check for entity attachment rather than entity having an id 2015-11-23 17:48:46 +01:00
Olof Larsson
3ae6bee6e5 Does not make sense. Is not properly implemented. 2015-11-23 17:36:26 +01:00
BuildTools
2a62bba658 Polish databse 2015-11-21 22:14:41 +01:00
BuildTools
706cdab884 Extra check for WatchService availability 2015-11-19 21:50:10 +01:00
Olof Larsson
6eb877d340 Improved the player update event system. 2015-11-19 21:47:41 +01:00
Olof Larsson
e2b3b668af Further TypeAbstractChoice optimizations. Forgot the Material ids. 2015-11-08 20:22:46 +01:00
Olof Larsson
92ec2c91f3 Performance Fixes to TypeAbstractSelect 2015-11-08 19:07:40 +01:00
BuildTools
fdd530998a Database improvements
Adding a modification mixin.
Merging Entity and EntityMeta
Making the use of the Entity class mandatory.
And other few tweaks.
2015-11-08 17:07:43 +01:00
Magnus Ulf
b2bc9ed9ab Use file system pusher. 2015-11-06 13:09:05 +01:00
BuildTools
8c5f6055a4 Slightly optimise MUtil list and set 2015-11-06 12:58:50 +01:00
Olof Larsson
4cef1206e5 Some small performance optimizations. 2015-11-06 12:58:08 +01:00
Olof Larsson
52af87a4bd Starting work on TypeAbstractChoice performance optimizations. 2015-11-06 04:27:59 +01:00
Olof Larsson
60a705ecf3 MassiveCore - More type. More editor. 2015-11-06 02:10:56 +01:00
Olof Larsson
8477a7e5b8 MassiveCore - Remove useless aliases 2015-10-21 21:18:19 +02:00
Olof Larsson
70b6f5cb75 MassiveCore - Version Synchronized Warnings 2015-10-21 20:28:50 +02:00
Olof Larsson
9667e27fcb MassiveCore - Heavy Refactoring and Command improvements 2015-10-21 19:36:10 +02:00
Olof Larsson
5c5bb87aee Remove unused and deprecated backwards compatibility in MassiveCommand. 2015-10-21 11:31:39 +02:00
BuildTools
5f80ddb97d Actually cancel on leave 2015-10-19 15:08:15 +02:00
BuildTools
a0b3156610 Cancel teleport on leave 2015-10-19 14:30:25 +02:00
Olof Larsson
036f7a720e Fix Mson NPE 2015-10-15 15:02:35 +02:00
ulumulu1510
771edea34c Ignore null arguments in the commandLine generation method. 2015-10-05 16:52:38 +02:00
Olof Larsson
5504ed9af1 Fix setting event to null in Mson 2015-09-24 09:45:41 +02:00
ulumulu1510
3b6194a841 MassiveCore changes 2015-09-24 09:04:04 +02:00
Olof Larsson
5323829018 Experimental Automatic Tooltip Mson 2015-09-23 15:48:37 +02:00
Olof Larsson
19f38125e4 The input stream must be opened. 2015-09-18 11:37:24 +02:00
Olof Larsson
88156dc0c4 Improved getAll to take oid iterable 2015-09-18 11:15:02 +02:00
Olof Larsson
d6f28696e0 Whatever 2015-09-17 15:17:27 +02:00
Olof Larsson
ad7c63b88d IP management. Mson add methods. 2015-09-15 15:55:48 +02:00
Olof Larsson
e56dfd9c05 Visibility Awareness in Tab Completion 2015-09-14 16:28:33 +02:00
Olof Larsson
92d1501fa5 WebUtil improvements 2015-09-11 13:29:01 +02:00
ulumulu1510
0ab5ac4c84 Change Mson shortcut to static. 2015-09-10 11:01:36 +02:00
ulumulu1510
7ff0b99596 Automatic addition of the HelpCommand. 2015-09-09 13:55:58 +02:00
Olof Larsson
8f11f59c12 MSON Constants move around 2015-09-09 12:16:20 +02:00
ulumulu1510
43b0e32e5e Add Mson support to HelpCommand 2015-09-09 11:55:15 +02:00
Olof Larsson
a364395042 Remove Redundant Flip Section 2015-09-08 17:00:36 +02:00
Olof Larsson
cfda6796e4 More Pager Use 2015-09-08 09:11:30 +02:00
Olof Larsson
0d9a3b47ba Pager Improvement. 2015-09-05 13:41:11 +02:00
ulumulu1510
74553bcf72 Change Txt.getPage to taking List<?> and Pager to Mson only 2015-09-05 11:31:57 +02:00
Olof Larsson
ab88ed8176 Move UglySQL into MUtil as transform 2015-09-03 13:27:20 +02:00
Olof Larsson
7b5f6acd1b Merged Message Methods 2015-09-03 09:32:42 +02:00
ulumulu1510
c8a7e9401f Reduce buttons by two. 2015-09-02 16:28:52 +02:00
Olof Larsson
67d6e47e60 Add DisplayNameMson SenderEntity Method 2015-09-02 15:40:18 +02:00
Olof Larsson
270f2bec05 Mson replacement parent context. 2015-09-02 14:50:13 +02:00
Olof Larsson
6c8a07dc2f Missing final 2015-09-01 15:29:59 +02:00
ulumulu1510
861a431935 Add getPageMson and Msonifier to Massivecore 2015-09-01 15:15:34 +02:00
Olof Larsson
6a6752fdb6 Mson.toPlain now has boolea styled parameter. Txt.getItemName. 2015-09-01 12:09:45 +02:00
Olof Larsson
e0548bbc60 ReqTitlesAvailable 2015-08-28 09:00:06 +02:00
Olof Larsson
602ac30f8c No default sorting. 2015-08-24 14:24:47 +02:00
Olof Larsson
87be4f0914 removeAll retainAll performance fix in MassiveSet. Added isSynchronous convenience method. 2015-08-22 13:31:48 +02:00
Olof Larsson
1741692274 Remove unused import 2015-08-21 06:22:20 +02:00
BuildTools
ed628828b5 Fix tab completion bug in ARStringCommand 2015-08-21 06:19:54 +02:00
Olof Larsson
0da98981dd ARStringCommand 2015-08-20 10:04:18 +02:00
BuildTools
5ffc37f2dd Fix ChatColor casing 2015-08-14 08:23:29 +02:00
Olof Larsson
5dc79cfdd3 Wrong StringUtils. 2015-08-13 15:36:24 +02:00
Olof Larsson
26f3485550 Only check sender presence and type when required. 2015-08-10 11:17:31 +02:00
Olof Larsson
5ee293a87b Restoring an argument feature by removing to strong security. 2015-08-04 11:08:17 +02:00
Olof Larsson
593dd65e2e Sorting contract must not be broken. Thus the only sane sorting is by id. 2015-08-03 16:16:49 +02:00
Olof Larsson
98ba8cda53 Case sensitive tab completion. 2015-08-03 11:52:39 +02:00
BuildTools
e6de76fb1f Bugfix 2015-07-27 11:56:24 +02:00
Olof Larsson
d155262b0b Invalid line bugfix for the new maintained ids. 2015-07-24 13:41:02 +02:00
BuildTools
eaa730ddfc IdUtil MaintainedSets rework, and proper sender tab completion. 2015-07-24 13:04:08 +02:00
Olof Larsson
a7216b0c20 Remove unused imports. 2015-07-24 12:58:50 +02:00
BuildTools
a98be323ea Make MSON immutable 2015-07-24 12:57:35 +02:00
Benjamin
2cd6769481 Replace Double.isFinite with inhouse method
Double#isFinite is java 1.8 dependant, our inhouse method does exactly the same but isn't.
2015-07-19 14:10:44 +02:00
Magnus Ulf
ff8a68b82e Change order for destination lists. 2015-06-27 12:02:49 +02:00
Magnus Ulf
e97eff3309 Destination tab list and tab completon bugfix 2015-06-19 11:48:47 +02:00
Magnus Ulf
7b67c58d2f Better ReplaceAll 2015-06-07 21:55:22 +02:00
Olof Larsson
3b5e1d4499 Another fix to database heads. 2015-06-05 14:48:47 +02:00
Magnus Ulf
cc6bf1bfbb Item tooltips 2015-06-05 12:27:34 +02:00
Olof Larsson
9c6bb882b0 Better test layout and fix a bug. 2015-06-05 09:29:42 +02:00
ulumulu1510
7f45486600 Implement Message Json and sendRaw methods 2015-06-05 08:35:57 +02:00
Olof Larsson
9587b756c9 Changes to the PS Destination teleporter system. 2015-05-22 14:17:30 +02:00
Magnus Ulf
a1f2e76221 Fix arbitary command argument order. 2015-05-21 10:42:40 +02:00
Olof Larsson
5e2facae8f Tweak a text message slightly. 2015-05-20 15:08:12 +02:00
Magnus Ulf
b54ec0a41c Inform why instance creation failed. 2015-05-18 14:17:59 +02:00
Magnus Ulf
2a824cd3ba CollAbstract & pass id directly. 2015-05-18 11:29:31 +02:00
Magnus Ulf
7751340c72 Use clear instead of iterating over everything 2015-05-18 10:58:20 +02:00
Magnus Ulf
17fa7af792 Proper JsonPrimitive cloning 2015-05-18 10:55:57 +02:00
Olof Larsson
b7ff72fde2 More Type Security 2015-05-16 14:27:06 +02:00
Olof Larsson
a374b02013 Remove the ID update routine and add NPC database guarding. 2015-05-16 12:15:34 +02:00
Olof Larsson
ba361733b3 Resolve head data to avoid ping png effects in the database. 2015-05-15 23:46:38 +02:00
Magnus Ulf
7b9620d38b Don't sort Colls when not required 2015-05-15 15:12:25 +02:00
Magnus Ulf
dbb79ba297 Remove custom data in MStore 2015-05-15 14:45:04 +02:00
Olof Larsson
413f485e0c A few minor tweaks to the MassiveStore database accessor system. 2015-05-15 12:23:05 +02:00
Magnus Ulf
78e272cdb4 Attempt to fix space tab completion. 2015-05-15 11:45:59 +02:00
Magnus Ulf
0bc46a0818 Limit max tab completions 2015-05-14 11:03:04 +02:00
Olof Larsson
2a3f625e0e Added missing default values. 2015-05-13 23:26:38 +02:00
Olof Larsson
8ba0c913a1 Remove unused import. 2015-05-13 23:21:13 +02:00
Magnus Ulf
86347c5a1b Fix obob 2015-05-13 23:19:25 +02:00
Olof Larsson
2795db4433 Page ArgSetting 2015-05-13 23:00:05 +02:00
Magnus Ulf
13a97293cd Default values for ArgSettings 2015-05-13 22:15:25 +02:00
Magnus Ulf
419f0c608d More constructors for ArgSetting 2015-05-13 22:02:35 +02:00
Olof Larsson
057b827db0 Update to GSON 2.3.1 2015-05-12 11:38:19 +02:00
Olof Larsson
30f2460838 A couple of measures to speed up tab completion further. 2015-05-12 10:42:52 +02:00
Olof Larsson
37000854be Fix a couple of performance issues. 2015-05-11 23:10:02 +02:00
Olof Larsson
e29be0888f Fix and improve tab completion of Sender stuff. 2015-05-11 22:34:11 +02:00
Olof Larsson
d42c363086 Fix arbitrary command order for ARSenderIdAbstract. 2015-05-11 22:10:37 +02:00
Magnus Ulf
be7c3da1b7 Allow null args 2015-05-11 21:52:11 +02:00
Olof Larsson
345ad47ac8 Forgot setting the nulls. 2015-05-11 15:59:09 +02:00
Olof Larsson
a5bbdf1b3e Improved ARUniverse 2015-05-11 14:59:01 +02:00
Olof Larsson
b286c81cb3 Fix a memory leak. 2015-05-11 10:11:13 +02:00
Magnus Ulf
9c49986774 Default page ArgSetting 2015-05-08 09:13:50 +02:00
Magnus Ulf
d7fcef6c3d Fix bug in useageTemplate and a bug with required args from console. 2015-05-08 09:09:57 +02:00
Olof Larsson
6f8da0a9f8 Improve ARNullable 2015-05-07 10:14:03 +02:00
Olof Larsson
48240b59c2 Make ArgSetting constructor public. Some times we want to override methods. 2015-05-06 20:42:32 +02:00
Magnus Ulf
be677085ac Some extra checks. 2015-05-06 19:27:02 +02:00
Olof Larsson
96e11336ef Fix minor colorization issue. 2015-05-06 16:15:36 +02:00
Magnus Ulf
54d58b00e8 Arbitary command argument order 2015-05-06 16:03:02 +02:00
Olof Larsson
d55afc9f9a Use generics instead of casting. 2015-05-06 12:25:02 +02:00
Olof Larsson
a7ba558899 Symmetrize method name for givingErrorOnTooManyArgs 2015-05-06 12:06:54 +02:00
Magnus Ulf
4291dc35ba New arg system.
A new command argument system can now be used.
The old one still works but is deprecated.
The new one will support tab-completion for now
and maybe other cool stuff in the future.
2015-05-06 11:58:37 +02:00
Olof Larsson
0642d3a0d5 Finite Checks and DBZ dodge in MUtil.setDamage 2015-04-28 15:27:16 +02:00
Olof Larsson
e3a7319001 Color Fix 2015-04-25 23:55:40 +02:00
Olof Larsson
bce2faee65 Add EngineGank 2015-04-25 03:38:28 +02:00
Olof Larsson
5984bc2774 Fix some generics. Avoid an NPE. 2015-04-24 01:06:57 +02:00
Olof Larsson
469cf9ea24 NaturalOrderComparator Null Compare. More Constructors for WorldExceptionSet. 2015-04-22 11:21:05 +02:00
Olof Larsson
2592772d8a Proper erialization of SkullMeta. Include the UUID. 2015-04-14 11:20:04 +02:00
Olof Larsson
79e1d4171e Support some but not yet all Minecraft 1.8 ItemStack serialization. Backwards compatibility for 1.7 included. 2015-04-10 13:11:58 +02:00
Olof Larsson
30537ad7e3 Use Arrays.asList in MessageMixinAbstract instead of MUtil.list. 2015-04-09 16:51:52 +02:00
Magnus Ulf
842c44e0b5 Some preparations for a cmd arg rework
These are some preparations so everybody can be ready for a rework of how command arguments is handled.
2015-04-09 14:22:15 +02:00
Olof Larsson
ed0b598ffb Reworked Teleportation System. ChestGUI by index. 2015-04-09 11:55:14 +02:00
Olof Larsson
5f9233bc3b A minor addition to isRepairable 2015-04-02 13:38:22 +02:00
Olof Larsson
4f0ff53de8 InventoryUtil isRepairable and repair 2015-04-01 18:07:40 +02:00
Olof Larsson
7bcc1215f1 Another kind of random 2015-04-01 12:52:13 +02:00
Olof Larsson
b15bf3bebb Break out isLive utility method. Add Entry adapter. 2015-03-31 15:54:20 +02:00
Olof Larsson
182b48abd4 ArgReader improvements and an extra MassiveCommand utility command 2015-03-30 17:11:44 +02:00
Olof Larsson
a144e160e8 Add DyeColor --> ChatColor method in MUtil. Add PotionEffectWrap. Add ARNullable. 2015-03-30 11:02:18 +02:00
Olof Larsson
17e053b0b1 Fix a bug in choosing the plugin name for MassiveCommand and add contains entity to WorldExceptionSet. 2015-03-25 19:22:51 +01:00
Magnus Ulf
ce7a9a2226 ParticleEffect versioning bug fix.
This is a partial bug fix until it is updated in the main repor for the library.
Sometimes the version was not gotten adn was the default 0.
This will make sure that the version is always loaded.
2015-03-25 09:39:54 +01:00
Magnus Ulf
30f07c92a9 Use plugin name, for command fallback. 2015-03-25 09:33:58 +01:00
Olof Larsson
1e13613492 Performance improvement to MassiveList 2015-03-25 01:31:30 +01:00
Olof Larsson
687d461d5d More efficient Txt.repeat 2015-03-24 21:58:26 +01:00
Olof Larsson
7058cdc1c1 Update TitleUtil to support 1.8.3 2015-03-23 14:24:50 +01:00
Olof Larsson
9811e1fd6c ChestGUI 2015-03-13 13:02:58 +01:00
Olof Larsson
86ddbdcf15 Random possibly required security 2015-03-13 12:58:58 +01:00
Olof Larsson
9649998352 Modify one of the suggest messages slightly. 2015-03-06 09:46:26 +01:00
Magnus Ulf
6176369f35 Made better cmd error msgs.
ArAbstractSelect will euggest a matching option if,
an invalid arg was passed & a matching one exists at.
If an invalid subcommand aliases were passed,
a matching subcommand will be suggested.
After feedback from MonMarty a few misc messages was changed.
2015-03-06 09:33:57 +01:00
Magnus Ulf
f3ad2a40ba Update ParticleEffect library
Thanks to @DarkBlade12 for providing this awesome library.
2015-03-05 22:23:50 +01:00
Olof Larsson
c83a8b8b11 Bad Cayor :P 2015-03-05 18:37:29 +01:00
Olof Larsson
e16333b822 MassiveStore improvements 2015-03-05 16:17:15 +01:00
Olof Larsson
525d904f8f Not going to be lazy 2015-03-05 00:14:09 +01:00
Olof Larsson
5eaaeec680 Minor IntervalUtil tweaks. 2015-03-03 23:03:58 +01:00
Olof Larsson
e4b20c812b Add EventMassiveCoreWorldSetTime 2015-03-03 16:25:38 +01:00
Olof Larsson
6b09cb600d Fetch the Economy every time. New services may always be registered. 2015-02-23 22:24:43 +01:00
Olof Larsson
ee1f4cf9c9 Add MUtil.round() 2015-02-23 15:32:39 +01:00
Olof Larsson
5430af6567 Minor constant tweak. 2015-02-21 08:18:15 +01:00
Madus
d6bcb13e9c Only send massages if any exist
Prior to this an empty message would be sent if no i messages present. Now we dont send anything if no messages is present.
2015-02-19 15:25:47 +01:00
Olof Larsson
3e4f280b42 Add Pager Item Index 2015-02-17 10:40:30 +01:00
Olof Larsson
08937899a8 Add MassiveException.hasMessages. 2015-02-15 08:31:08 +01:00
Olof Larsson
536b716d0e Better parameter names for TitleMixin 2015-02-13 09:50:48 +01:00
Olof Larsson
06ad16e624 Make ARAbstractSelect#select throw MassiveException 2015-02-12 17:03:34 +01:00
Olof Larsson
bea7ccae46 MassiveCommandException --> Exception 2015-02-12 11:59:36 +01:00
Madus
c1ead17379 Add grey colour alias 2015-02-12 07:15:43 +01:00
Olof Larsson
0355ec6ef4 Add orange color alias. 2015-02-11 16:25:54 +01:00
Olof Larsson
8b12cadf0a Decouple logic for list permission check and avoiding spam. 2015-02-04 14:04:41 +01:00
Olof Larsson
49444c6fbf ArgReaders use exceptions - Part 2 2015-02-04 01:27:33 +01:00
Magnus Ulf
47b2eeccb4 ArgReaders use exceptions
Now null checks for arguments is no longer required.
A few arg readers was also improved slightly.
2015-02-03 21:50:49 +01:00
Magnus Ulf
59edd6917f TitleUtil without NMS
And a TitleMixin
2015-02-02 21:43:41 +01:00
Olof Larsson
e93f7c12d8 Collection Tick Stack Traceability 2015-02-02 00:25:59 +01:00
Olof Larsson
ad529d7542 Implement remove in BackstringIterator. Fixes #201. 2015-01-25 23:44:00 +01:00
ulumulu1510
910995d9b5 Create ARSet 2015-01-22 09:23:54 +01:00
Olof Larsson
76a98248a3 Remove Maven 2015-01-19 09:58:05 +01:00
Olof Larsson
2873642d68 Standard directory structure. 2014-09-12 23:52:19 +02:00
Olof Larsson
e0656ab9ea Shade in GSON, BSON and MongoDB. 2014-09-12 23:36:17 +02:00
Olof Larsson
2e589a195e GSON shade attempt fail 2014-09-12 23:11:19 +02:00
Olof Larsson
50af17ee91 Look ma\! No NMS\! 2014-09-12 22:01:52 +02:00
Olof Larsson
5908636ef2 Add an InventoryMixin to prepare nms removal 2014-09-12 21:37:27 +02:00
Olof Larsson
8b175ba9a6 This NMS is luxyry not really required. It also takes a lot of startup time. Feel sniped. :D 2014-09-12 21:04:31 +02:00
Olof Larsson
a7465021df Remove the nms LightUtil. Only used by one plugin. 2014-09-12 20:59:42 +02:00
Olof Larsson
eb24a9d574 Remove ProtocolLib integration. Was only used by the Vampire plugin for which I will use ambient potion effects. 2014-09-12 20:55:20 +02:00
Olof Larsson
a071fd5058 Remove sender references when they no longer are needed. 2014-09-12 10:19:28 +02:00
Olof Larsson
df2cc9d75c Dat line removal 2014-09-10 11:21:01 +02:00
Olof Larsson
6e9c6525f7 Fix up the give take inv detectors. 2014-08-29 01:00:39 +02:00
Olof Larsson
6086d3f36f Add Metrics to all MassiveCore based plugins. 2014-08-27 15:22:12 +02:00
Olof Larsson
81f5a623cb getAllButMillisSecondsAndMinutes 2014-08-21 00:37:30 +02:00
Olof Larsson
d1b6388c33 Cancel teleport on damage and death. 2014-08-16 10:18:27 +02:00
Olof Larsson
7fc9b09279 Probably fix a memory leak that happened in tandem with the Spigot timing system. 2014-08-15 12:09:41 +02:00
Olof Larsson
8a7f4d1718 MassiveCore - Performance improvement for command argument readers. 2014-07-31 16:43:17 +02:00
Olof Larsson
b223a74194 Update for 1.7.10 2014-07-13 15:09:58 +02:00
Olof Larsson
ae562b10a9 Get ip 2014-07-07 09:13:20 +02:00
Olof Larsson
8857e62ad8 FIX NPC in AREnum 2014-06-26 15:53:25 +02:00
Olof Larsson
1fb0fd9abe DisplayName per beholder 2014-06-21 19:05:20 +02:00
Olof Larsson
944aaf6853 DisplayName should not be set. Only gotten. Possibly from a watcher perspective. 2014-06-18 23:36:58 +02:00
Olof Larsson
951367c586 Remove List Name Mixin. Not used. 2014-06-18 23:28:12 +02:00
Olof Larsson
19d5682741 Return lists in Coll 2014-06-11 22:06:52 +02:00
Olof Larsson
37ee04936f Rename 2014-06-04 13:58:40 +02:00
Olof Larsson
47ebbce40e Renamed some class files so they match with others. 2014-06-04 08:08:04 +02:00
Olof Larsson
c9983e8032 Added a buffer variable system. 2014-06-04 08:06:41 +02:00
Olof Larsson
33efff8915 Some material and sign utilities. 2014-06-03 10:49:12 +02:00
Olof Larsson
70c07bc510 Last Damage Millis and No Damage Millis 2014-05-27 22:13:47 +02:00
Olof Larsson
6a1a57ccdc Duplicate this and duplicate that. 2014-05-27 13:16:51 +02:00
Olof Larsson
0a281196e6 PlayerUtil experiments and probably fixing the Vault integration failure. 2014-05-26 09:30:48 +02:00
Olof Larsson
25cb50924c Mention what nbt file is broken. Fixes #124. 2014-05-23 09:17:32 +02:00
Olof Larsson
ed980f2dbe Particle effects, standstill millis counter and AREnum. 2014-05-19 10:18:21 +02:00
Olof Larsson
6b2332c162 Minecraft 1.7.9 support and UUID oriented. 2014-05-14 15:13:38 +02:00
Olof Larsson
9fdf1b1235 Untested 1.7.8 support with minor preparations towards id changes. 2014-04-17 14:36:50 +02:00
Olof Larsson
b5a98f82c9 Update index on setting name after attach as well. 2014-04-16 15:21:38 +02:00
Olof Larsson
b41da972f8 Index the player name for fast name --> id lookup. 2014-04-16 15:18:00 +02:00
Olof Larsson
c6fa21c247 Make use of MCoreEvent. Make some fields private instead of protected. 2014-04-15 22:08:16 +02:00
Olof Larsson
2b6cce2607 Add paralellism to the Fetcher framework. Seems to reduce time spent from O(N) to O(1). 2014-04-10 17:07:45 +02:00
Olof Larsson
666e4d0dff Update the cache on login. 2014-04-10 13:01:56 +02:00
Olof Larsson
d73d453994 Starting development on a Player name and id framework with bult in caching. Still missing index for reverse lookup speed improvement. Still missing information updates on player join. 2014-04-09 14:11:22 +02:00
Olof Larsson
ebb5cbe74a Add a MojangApiUtil based on the work of @evilmidget38. Thanks man. 2014-04-09 01:58:44 +02:00
Olof Larsson
33d1de2e13 OOps. Fixed invalid regex. 2014-04-07 02:09:27 +02:00
Olof Larsson
cfaaa9f421 Improved AREntityType 2014-04-07 02:04:41 +02:00
Olof Larsson
1de1a7184a ARStringAdv is no longer required. 2014-04-07 01:54:54 +02:00
Olof Larsson
a7d3e96ab8 Simplified the MCoreConf and added a variablebook feature. 2014-04-07 01:50:57 +02:00
Olof Larsson
a9c3f7448a That did not work. How about this? 2014-04-05 11:36:51 +02:00
Olof Larsson
d6ef55d465 Configurable write concernt for mstore mongodb driver. 2014-04-05 11:06:45 +02:00
Olof Larsson
3f3016c27e Top level commands are case insensitive. Thus sub commands should be as well. 2014-04-04 13:08:51 +02:00
Olof Larsson
722ce6b2a7 Permission node simplification. 2014-04-03 17:21:07 +02:00
Olof Larsson
1bb7d0a1d5 A system to allow automatic removal of clutter files you dislike. 2014-04-01 12:45:29 +02:00
Olof Larsson
1ced407e20 Ooops. Managed to remove the id deletion. 2014-03-28 16:03:31 +01:00
Olof Larsson
fa69405239 Copydb command access check, remote mtime defaults to 0, mote mtime field to the top. 2014-03-28 15:13:23 +01:00
Olof Larsson
16fc6b94e5 1.7.5 compat 2014-03-26 23:36:36 +01:00
Olof Larsson
9ea73846e4 Support async engine tasks and optimize MUtil.random a bit 2014-02-20 12:05:25 +01:00
Olof Larsson
ddcca231a6 Be less hacky. Dynamic aliases in a new and less intrusive way. 2014-02-14 03:08:56 +01:00
Olof Larsson
4384c5f396 Some metadata tools and a random tool. 2014-02-14 01:47:47 +01:00
Olof Larsson
ef7a4ef69c Might be fun to clone GSON elements some time. 2014-01-31 18:13:58 +01:00
Olof Larsson
8ca4c999d9 Added MetadataSimple for simple metadata cenarios 2014-01-31 18:01:34 +01:00
Olof Larsson
00efb36bcc Stop listing in AbstractSelect in case there are too many optoin. 2014-01-30 21:47:43 +01:00
Olof Larsson
e714c44ead Remove using iterator to avoid cme 2014-01-30 03:41:48 +01:00
Olof Larsson
058cc49720 Work on supporting raw JsonObjects 2014-01-30 03:35:55 +01:00
Olof Larsson
66de46f0c9 Break out the isFloating logic in the GsonEqualsChecker 2014-01-30 02:43:33 +01:00
Olof Larsson
010d91a75d Create a default MPlugin onEnable override 2014-01-05 10:57:26 +01:00
Olof Larsson
59ad607b14 Remove "Smart" Quotes per default 2013-12-17 12:53:30 +01:00
Olof Larsson
8d1ec9f51d Some useful predictates 2013-12-17 02:59:57 +01:00
Olof Larsson
e54b708936 Pager fixes and removed library download utilities. No need for them anymore. 2013-12-11 17:16:06 +01:00
Olof Larsson
579919f75f A Pager System 2013-12-07 13:44:47 +01:00
Olof Larsson
edea6807c6 Handle null cases in the MoneyMixinAbstract 2013-12-06 15:34:10 +01:00
Olof Larsson
8465250061 Decided I dislike var-args and money transactions should have an optional freetext message. 2013-12-06 15:03:58 +01:00
Olof Larsson
813661877d An attempt to use the latest version protocol lib. Warning it seems protocol lib for 1.7.2 still has bugs. 2013-12-05 13:27:55 +01:00
Olof Larsson
e6d98e4e15 Untested version for 1.7.2 2013-12-04 12:16:12 +01:00
Olof Larsson
8e0362172d Money param reorder 2013-12-03 20:20:14 +01:00
Olof Larsson
3749074463 Removing universe support in the Money mixin. The feature is to advanced and was never fully supported through Vault anyways. 2013-12-03 12:59:18 +01:00
Olof Larsson
bb259374e4 Added comments and fixed indentation for ModdedEnumTypeAdapter. 2013-11-13 10:48:07 +01:00
OniBait
ee2c51f60a Add gson type factory adapter to handled modded enums 2013-11-13 01:40:01 -06:00
Olof Larsson
5545965cdf Space pls 2013-11-12 22:09:34 +01:00
Olof Larsson
0cca530a60 PS will complain on weird values. Reason being GSON cant serialize weird stuff. 2013-11-12 22:02:53 +01:00
Olof Larsson
86db5a6bdd This is 6.9.0, now with fully dynamic command registration. 2013-11-11 09:21:16 +01:00
Olof Larsson
4b03dd4e2b First minor attempts at lazy. 2013-10-18 15:40:25 +02:00
Olof Larsson
e630d509ed Add in lazy option without implementing it. 2013-10-18 14:50:12 +02:00
Olof Larsson
03c2d8b6a1 MStore ID strategy does not exist anymore. Delete this remnant. 2013-10-18 14:09:03 +02:00
Olof Larsson
5f692d215a Handle zero time diff better 2013-10-10 14:29:20 +02:00
Olof Larsson
480fcdc8b9 Add a permission arg reader and the option to turn of the cmd arg tokenizer. 2013-10-06 14:28:29 +02:00
Olof Larsson
31f3964cb9 Triple 2013-10-03 16:06:43 +02:00
Olof Larsson
17c21a0918 Trim content for possible evasion of hidden invalid chars. 2013-10-03 00:37:07 +02:00
Olof Larsson
23ddea0772 Add a removeByIndex utility method and a new arg reader. 2013-10-01 11:34:45 +02:00
Olof Larsson
af539e1a51 Small changes to the Couple 2013-09-30 20:09:33 +02:00
Olof Larsson
6de0729328 Immutable Couple Class pls 2013-09-30 17:29:18 +02:00
Olof Larsson
a663566a89 Advanced String arg reader pls 2013-09-30 16:36:07 +02:00
Olof Larsson
824e1640c5 Increase the online state lookup speed. Improves MassiveCraft/Factions#423 2013-09-22 11:32:51 +02:00
Olof Larsson
9a7e87ec2b Update for Minecraft 1.6.4 2013-09-20 13:12:24 +02:00
Olof Larsson
cf5751333e Allow ArgReader to handle case where arg is null. 2013-09-19 16:20:17 +02:00
Olof Larsson
91f9ec7c0c JSON errors are sometimes IllegalStateExceptions. Fixes #43 2013-09-15 10:06:14 +02:00
Olof Larsson
b9dd57b7e3 Add custom data to all Entities instead of Factions only. 2013-09-10 03:34:06 +02:00
Olof Larsson
f4b3924dc3 We wanna serialize JsonElements as JsonElements, duh 2013-09-10 02:40:57 +02:00
Olof Larsson
5782eb9193 For those that felt like clearing their config file. 2013-09-09 19:57:04 +02:00
Olof Larsson
0c8f1c9cf1 Check if AsyncPlayerChatEvent is async or not. Fixes #35. 2013-09-08 22:59:40 +02:00
Olof Larsson
ae575ac674 Merge branch 'master' of github.com:MassiveCraft/mcore 2013-09-06 11:35:28 +02:00
Olof Larsson
ac3ff4590e Make recipient event work for console. Add in some more debug in mstore. 2013-09-06 11:35:07 +02:00
riking
fe6ce01037 Define hashCode() for TimeUnit as it is being used in a HashMap
TimeUnit is being used as the key to a map in TimeDiffUtil, so we must define a hashCode() consistent with its equals() method.

The implementation is the same as java.lang.Long.hashCode().
2013-08-30 18:45:57 -07:00
riking
5c6cd57a4d Use a MutableBoolean to synchronize on instead of a Boolean
The code synchronizes on a boxed primitive constant, such as an Boolean.

Since there normally exist only two Boolean objects, this code could be synchronizing on the same object as other, unrelated code, leading to unresponsiveness and possible deadlock.

This commit uses the MutableBoolean class from commons-lang, which is included in bukkit.jar.
2013-08-30 18:40:48 -07:00
Olof Larsson
f78872c157 Oh yeah. I should not use ServerConf since this could be MConf. 2013-08-29 10:55:35 +02:00
Olof Larsson
6810d92b68 Say what entity load failed and why in a nicer manner. 2013-08-29 08:37:31 +02:00
Olof Larsson
5a2ef78d58 Forgot to clear at setup. 2013-08-27 10:58:18 +02:00
Olof Larsson
296d0cbdb2 Add in a system to detect if a PlayerDeathEvent is an invalid duplicate event. 2013-08-27 10:56:11 +02:00
Olof Larsson
d21858d5c7 Actually that PlayerConnection wrap was to dangerous. Let's do it simpler and slightly uglier. 2013-08-26 10:29:58 +02:00
Olof Larsson
1b8ae6cf5f Make the forceOnePlayerNameCase much quicker and isolate it in an Engine class. 2013-08-25 12:28:20 +02:00
Olof Larsson
7f7f5db99d Remove old stuff in player util that nowadays we use Mixin for. 2013-08-25 11:41:49 +02:00
Olof Larsson
d9d9b926c1 Force one player name case. Prevents bugs with offline mode servers and case sensitive file systems. 2013-08-23 10:05:41 +02:00
Olof Larsson
443c800a90 Fix indent 2013-08-22 13:53:19 +02:00
Olof Larsson
8b7b19fada Adding in our own per recipent chat event through PlayerConnection wrapping. 2013-08-22 13:36:37 +02:00
Olof Larsson
0fd2fc5bf5 More sound stuff and a hearsound command available to everyone. 2013-08-18 13:13:00 +02:00
Olof Larsson
b679c94892 An ArgReader for Bukkit Sound. 2013-08-18 12:41:21 +02:00
Olof Larsson
0dbe943cfe Make this possible NPE more clear. 2013-08-09 08:35:28 +02:00
Olof Larsson
d4317583b6 Avoid Bukkit error with water potions. 2013-08-07 08:03:08 +02:00
Olof Larsson
0d5fb204a6 Add ability to require a presence in the mixin for commands. 2013-08-06 15:11:20 +02:00
Olof Larsson
ae2c1285d6 Static plz 2013-08-05 13:33:09 +02:00
Olof Larsson
f0dfc539ba CommandMixin plz 2013-08-05 13:30:32 +02:00
Olof Larsson
62b0e8f8b3 Improve upon the teleport mixin again. Lazy destination plz :) 2013-08-05 09:02:42 +02:00
Olof Larsson
e2e8a80de4 Add another constructor variant to VersionCommand. 2013-08-03 12:51:48 +02:00
Olof Larsson
f92f48cbd0 Workaround BUKKIT-4612 2013-07-27 10:07:56 +02:00
Olof Larsson
fa59f9f6cd Check the file ending. Fixes #11. 2013-07-27 09:44:08 +02:00
Olof Larsson
2f75fbdb1d Load permissionToTpdelay. Fixes #22. 2013-07-27 09:36:13 +02:00
Olof Larsson
db74b467b5 Made the permissionDeniedFormats lookups recursive. 2013-07-23 17:42:27 +02:00
Olof Larsson
fb03dae04c This is 6.4.4_dev for 1.6.2 2013-07-11 20:59:26 +02:00
Olof Larsson
a8bb0ed439 Rename back 2013-07-03 09:22:02 +02:00
Olof Larsson
0d38264cb0 Rename to temp, windows is wierd 2013-07-03 09:21:36 +02:00
Olof Larsson
504b479d31 Fix the protocol lib integration. Thanks @aadnk 2013-07-02 21:37:13 +02:00
Olof Larsson
c7d42419e0 This is 6.5.0_dev 2013-07-02 10:28:00 +02:00
Olof Larsson
94d2c1d46d Some users want to set the delay to 0? 2013-06-29 20:07:31 +02:00
Olof Larsson
b0f9eee41d Improve upperCaseFirst stability. 2013-06-28 07:31:15 +02:00
Olof Larsson
7ec866f458 This is 6.4.1_dev, Fix Vault NPE. 2013-06-23 09:27:36 +02:00
Olof Larsson
dc3cb5e1d1 Add destination desc to the event and rename parameters for PS teleport mixin. 2013-06-12 08:44:41 +02:00
Olof Larsson
b4095ed4ab Add a couple of Reqs I found useful. 2013-06-11 17:15:14 +02:00
Olof Larsson
7de7d30e28 Avoid method name clash 2013-06-11 09:13:30 +02:00
Olof Larsson
226fcfe32f Simplified the visibility mixin for now. 2013-06-11 07:21:11 +02:00
Olof Larsson
746ce7fb55 Add in a small async web util. 2013-06-07 09:31:14 +02:00
Olof Larsson
28f96fcab0 Add in pre/post detach/attach hooks and ensure entity contains all data before attachin on first load from remote. 2013-05-31 11:34:23 +02:00
Olof Larsson
cc75cb8e15 Eject passengers and unmount before teleporting. Wont work otherwise. 2013-05-29 14:44:12 +02:00
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
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