Commit Graph

468 Commits

Author SHA1 Message Date
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