Commit Graph

530 Commits

Author SHA1 Message Date
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
1c42916d5b Dodge NPE in ItemStackAdapter 2015-01-14 23:26:32 +01:00
Olof Larsson
b2bdd68069 Make ModuloRepeatTask extend EngineAbstract. Add ARList. 2015-01-13 09:52:18 +01:00
Olof Larsson
7d0eba1665 Make IdData more immutable. 2015-01-10 13:03:00 +01:00
Olof Larsson
d65323efb1 More utilities and alterations to the progress bar system. 2015-01-09 15:46:23 +01:00
Olof Larsson
b857df8763 Another minor performance improvement. 2015-01-08 10:00:13 +01:00
Olof Larsson
8dac1eeece Minor performance improvement in MassiveCoreEngineCommandRegistration 2015-01-08 09:22:40 +01:00
Benjamin
16c3a15cdc Corrected minor Grammatical mistake
found by Flashera while debugging Derius
2015-01-07 20:15:40 +01:00
Olof Larsson
f53c353981 Better StackTrace formatting and reflection get accessible. 2015-01-07 15:54:48 +01:00
Olof Larsson
47086252b0 Some more reflection util content. 2015-01-05 13:29:22 +01:00
Olof Larsson
160d908a5b Add basic ReflectionUtil 2015-01-05 12:29:21 +01:00
Olof Larsson
ed58b3185a Break out some sub routines within the command system. 2015-01-05 11:39:12 +01:00
Magnus Ulf
22cef1d9da Tab list with subcommands
Now when using tab it should suggest subcommands (if any available) instead of players/senders.

Conflicts:
	src/main/java/com/massivecraft/massivecore/cmd/MassiveCoreBukkitCommand.java
2015-01-04 15:26:34 +01:00
Olof Larsson
014815d227 Merge pull request #190 from magnusulf/patch-1
Fixed ambigious method
2015-01-04 12:11:25 +01:00
Olof Larsson
48291b7c4d Rework the MUtil.getOnlinePlayers slightly again. 2014-12-31 11:18:55 +01:00
Magnus Ulf
da3549da0e Hacky command support
Some plugins (PerWorldPlugins) use a hacky command structure like MassiveCore does.
Their command strcuture aims to limit commands per world.
This will make it a tiny bit easier, so they don't need,
special support system for MassiveCore, and don't have to update it.
Other plugins might also use this, but atleast it doesn't hurt us.
2014-12-31 10:32:58 +01:00
Olof Larsson
559d907118 Move WorldExceptionSet from Faction to MassiveCore. Closes MassiveCraft/MassiveCore#197. 2014-12-19 11:54:20 +01:00
Olof Larsson
61df6a2242 Use implicit string based lazily evaluating sets instead of explicit enum sets. Fixes MassiveCraft/Factions#730. Fixes MassiveCraft/Factions#733. 2014-12-16 02:06:54 +01:00
Olof Larsson
e834964baa Updated ParticleLib. Fixes MassiveCraft/Factions#723. 2014-12-12 10:28:18 +01:00
Olof Larsson
42914f48a0 The methods only make sense for players. Modify them to be for players only. 2014-12-11 10:44:11 +01:00
Olof Larsson
c1db14eebe Various sender reference improvements. Fixes MassiveCraft/Factions#726. 2014-12-10 10:28:10 +01:00
Olof Larsson
1eaf1cbfe5 Merge pull request #195 from magnusulf/master
Extended material facts
2014-12-07 23:08:11 +01:00
Benjamin
a7703e83f4 Whitespace fix 2014-12-07 12:37:08 +01:00
magnusulf
e1c3dfad49 Extended material facts 2014-12-07 12:20:25 +01:00
Olof Larsson
5f63d829e4 Avoid NPE on trying to delete non existant entity. Fixes MassiveCraft/Factions#722. 2014-12-05 00:37:53 +01:00
Olof Larsson
8ec05472fd Catch both Exceptions and Throwables. 2014-12-04 19:10:36 +01:00
Olof Larsson
05bd60df90 Swap if statements into more probably order and remove syso debug. 2014-12-03 02:23:51 +01:00
Olof Larsson
84aa54218e Compile against Spigot 1.8 API. Provide inhouse getOnlinePlayers method using reflection as a fallback. Fixes #192. 2014-12-03 02:10:05 +01:00
Olof Larsson
495e839351 Color Int Code 2014-12-02 23:52:46 +01:00
Harry
09c263d4b1 Link pom.xml version to plugin.yml version 2014-12-02 15:59:18 +00:00
Madus
b34943197a Update Txt.java 2014-11-29 22:00:31 +01:00
Madus
cc672d1ea6 Support for norwegian & danish vowels
The norwegian & dansih alphabet contains "æ" & "ø" which was not a part of the vowels set.
TBH I have no clue if this makes any difference.
2014-11-29 21:58:43 +01:00
Madus
1636f83b84 Fixed ambigious method
This method showed up as ambigious in Eclipse. This should be a fix
2014-11-29 17:57:48 +01:00
Olof Larsson
f82a80a12b Fixes MassiveCraft/MassiveBooks#3 2014-11-25 19:33:27 +01:00
magnusulf
438f251b00 Support for gamemode numbers
Adding the gamemodes numbers as a way to gather the gamemode.
2014-11-25 16:31:59 +01:00
magnusulf
61a29a96a5 Minor Change
Turning a method returning boolean if(something) into a single line.
2014-11-21 23:28:11 +01:00
Olof Larsson
6aa2bd5ee4 This is 2.7.1 2014-11-21 11:24:23 +01:00
Olof Larsson
4b570f5de9 Supply the Plugin upon registration of a MassiveCommand. 2014-11-21 10:48:05 +01:00
Olof Larsson
36303b66bb Remove unnecessary base command aliases. Especially "mc" too often collided with other plugins. Fixes #185. 2014-11-21 09:31:04 +01:00
Olof Larsson
ccd470dc6e Ignore the idnamecache.json if empty. Fixes #139. Fixes #130. 2014-11-21 09:23:41 +01:00
Olof Larsson
284debd11c This is 2.7.0. Sync with Factions versions. 2014-11-19 13:42:30 +01:00
Olof Larsson
4f7ebd9a7c This is 8.0.0 2014-11-19 11:41:24 +01:00
Olof Larsson
8e697bb286 Cleaning up the main MassiveCore file a little bit. 2014-11-18 09:48:32 +01:00
Olof Larsson
50ccfc73fa Maintain detailed types of superclass actual type arguments. 2014-11-13 11:40:20 +01:00