Commit Graph

463 Commits

Author SHA1 Message Date
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
Olof Larsson
81e4aae209 Underp the Accessor reflection framework. 2014-11-13 09:08:51 +01:00
Olof Larsson
d986f2ba31 Remove and replace subcommands. 2014-11-12 11:36:04 +01:00
Olof Larsson
6e096e1a92 Java 1.6 compliance. 2014-11-07 08:40:44 +01:00
Olof Larsson
8fc5707061 Clean up player references even on exception. 2014-10-22 07:53:56 +02:00
Olof Larsson
b083182291 Fractional Digits Preparation Support 2014-10-22 07:49:51 +02:00
Olof Larsson
7f48580e51 Custom collections with special GSON behavior, and other stuffs... 2014-10-18 18:31:07 +02:00
Olof Larsson
c4a7a4988c Add PriorityLines 2014-10-15 14:36:17 +02:00
Olof Larsson
1332ef414e Shallow copy the help command chain to not permanently disturb it with modification. 2014-10-14 09:24:41 +02:00
Olof Larsson
d375ccccb6 Small extra stuffs. PS.getDistinctChunks and reverseIndex of map. 2014-10-13 11:42:25 +02:00
Olof Larsson
938efaeed4 Add a case insensitive treeset builder and commonly used sets of strings meaning nothing and remove. 2014-10-13 08:10:18 +02:00
Olof Larsson
af67dfbf0f Updated Particle Effect system. 2014-10-08 09:52:20 +02:00
Olof Larsson
bfd4b5c7b8 MStore fixes and don't confuse same priority with equality. 2014-10-07 12:29:50 +02:00
Olof Larsson
43ec0d3eb1 Loading speed improvement. 2014-10-06 14:46:12 +02:00
Olof Larsson
c11e2ba234 Add url based macro utility command. Also tweak TimeUnit a bit. 2014-10-06 13:06:01 +02:00
Olof Larsson
04f03eb14a The SenderEntity fixId does not have do be recursive. 2014-10-03 11:23:25 +02:00
Olof Larsson
8b45d2b71e Added Registerable interface. 2014-10-02 11:45:27 +02:00
Olof Larsson
45009a7f59 throw null pointer exceptions and silently accept detatching something detached. 2014-09-18 14:28:37 +02:00
Olof Larsson
6e669d376f Even more broken database suggestions. Fixes Factions#685. 2014-09-18 13:59:36 +02:00
Olof Larsson
8fda66ff8c Standardize method names 2014-09-18 13:41:02 +02:00
Olof Larsson
7065d5c824 Expand driver functionality 2014-09-18 00:17:42 +02:00
Olof Larsson
b732a26a9e Sorry could not shade. m2eclipse does not handle it well enough. 2014-09-13 10:24:26 +02: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