GJ
2d9dc92f83
Added methods to ChatAPI for retrieving the current chat mode of a
...
player. Fixes #641
2013-02-05 12:30:15 -05:00
bm01
35cdcb62b7
Removed needs for SkillType.ALL
...
Also apparently made /Skillreset work on offline players and fixed
missing permissions check
2013-02-04 16:33:34 +01:00
bm01
51305118fa
Moving party stuff from PlayerProfile to McMMOPlayer
2013-02-03 16:27:59 +01:00
bm01
97d47c19b7
Replaced deprecated calls to Users.getProfile in our APIs
2013-02-03 12:57:29 +01:00
bm01
a1ab6f286b
Made xp sharing less ugly by reworking McMMOPlayer xp methods
...
Notable consequence: checkXP and addLevel in ExperienceAPI are no longer
needed and became deprecated
2013-02-03 12:45:19 +01:00
GJ
d1f499f6fd
Moved around a few more commands.
2013-02-02 00:09:47 -05:00
Glitchfinder
60033d47ec
Adding support for both display names and sender names in the chat API.
2013-02-01 18:59:22 -05:00
bm01
7d83dd8283
Put McMMOPlayer to use where it made sense
...
It's basically a wrapper for anything related to players, as a
consequence Users.getProfile() is now depreciated.
Also removed SkillTools.xpProcessing() because of some redundancy with
McMMOPlayer.addXp().
+ some cleanup for consistency sake.
2013-02-01 06:38:25 +01:00
GJ
599bbe73b4
More major refactoring. My OCD is better now.
2013-01-30 11:53:51 -05:00
NuclearW
7ccadae489
Changes to the changes to the ChatAPI.
...
mcMMO will not pass null for any events that it creates about itself.
Older plugins which are using depricated methods in ChatAPI will be null.
Newer plugins passing null to ChatAPI will also be null.
Null guarantees that it is not from mcMMO, but from an external plugin that is not specified.
2013-01-26 22:13:49 -05:00
jgeboski
251c152efa
McMMOChatEvent: added a field to hold the dispatching plugin
...
Currently, there is no sane way to detect which plugin dispatched
an McMMOChatEvent. This is problematic for plugins using the ChatAPI
while also listening for McMMOChatEvents as it leads to a message loop
being created.
A "simple" solution is to store a reference to the dispatching plugin in
the McMMOChatEvent. This allows for a plugin to determine if it is an
event dispatched by itself, or some other plugin. In addition, this can
allow for better control within third party plugins to determine where
McMMOChatEvents are dispatched from.
This patch is backwards with existing interfaces.
2013-01-26 21:07:36 -05:00
bm01
bff7919c21
Major cleanup
2013-01-26 23:01:55 +01:00
GJ
85b909a7ab
Change some stuff around with ChatManager, change ChatAPI to route
...
through ChatManager.
2013-01-25 18:21:17 -05:00
GJ
6b0e7a9c61
Major refactoring. This WILL break any mcMMO-related plugin that
...
does not properly hook into the API classes.
This consolidates the skill-related classes into their own individual
packages, and moves several misc skill classes into the main Skill
package as well. This also moves all Party & Spout related files into
their own respective packages as well.
2013-01-22 12:43:25 -05:00
GJ
38a8a6f2ff
Fix possible NPE when using the PartyAPI to add a player to a party that
...
doesn't exist.
2013-01-17 11:26:55 -05:00
GJ
55f824e0c8
More work on localization update
2013-01-16 14:03:32 -05:00
Glitchfinder
974862a60a
Updating permissions for consistency.
2013-01-06 17:52:31 -08:00
GJ
5b8811bd09
More work on McMMOPlayer
2012-07-06 11:57:17 -04:00
GJ
1ba498c443
Because "final static" is just backwards.
2012-07-06 00:12:17 -04:00
GJ
b94085c5f4
Make 'em final
2012-07-05 09:33:57 -04:00
GJ
31d7bb2332
Javadoc fix
2012-06-26 08:03:19 -04:00
GJ
3d9c03c0c8
Added a few requested functions to the ExperienceAPI
2012-06-26 08:02:49 -04:00
GJ
4b93dede33
Add ability to check if any ability is enabled.
2012-06-25 10:35:47 -04:00
GJ
2559ea61d8
Added Ability API
2012-06-25 10:05:47 -04:00
bm01
5fe227b874
Forgot to change getParties
2012-06-11 08:26:22 +02:00
bm01
cbaf2f8370
More work on parties
2012-06-11 07:50:10 +02:00
bm01
3732db2226
Reworked Party
2012-06-09 03:08:36 +02:00
GJ
2f15c71412
Because making it upper case broke all the things.
2012-06-06 18:02:22 -04:00
bm01
f876fe8d25
Made API classes 'statics'
2012-06-06 22:04:21 +02:00
GJ
e5d2ed4bb2
Because lowercase class names are evil.
2012-06-06 14:49:07 -04:00
bm01
56aff1d191
Replaced playerName fields in PlayerProfile and Users by the Player object
2012-06-06 02:03:27 +02:00
GJ
7ada587df3
More Spout tool stuff.
2012-06-04 10:36:24 -04:00
GJ
1e58c32a5f
Change XP processing to use a single function.
2012-06-04 09:30:51 -04:00
GJ
2a27048174
Functions that start with capital letters are bad.
2012-06-04 09:08:41 -04:00
GJ
6637758ad0
Fixed Spout item checks.
2012-06-01 15:29:16 -04:00
GJ
41e9bd3cb5
WIP - Spout custom tool support
2012-05-31 16:02:11 -04:00
bm01
3e435c419a
Refixed NPE due to GainXp task
2012-05-06 09:47:25 +02:00
GJ
edaa51593b
Skills refactoring
2012-05-01 13:58:47 -04:00
nossr50
47b7780c96
Refactor ALL THE THINGS!
2012-04-27 02:47:11 -07:00
GJ
66b4388e64
More locale, command, and Party updates.
2012-04-22 15:36:48 -04:00
GJ
efc63b5230
Cleanup, locale, & party improvements.
2012-04-22 02:55:58 -04:00
GJ
c45cd56c78
Making our file path strings more user friendly.
2012-04-21 14:05:39 -04:00
GJ
e3267f2e0c
Added Iron Grip skill to Unarmed which gives players an chance to keep
...
from being disarmed.
2012-04-18 23:34:46 -04:00
NuclearW
46648e2547
Added ChatAPI
...
Allows an external plugin to send admin and party chat
In addition to previous events allows for full control of the chat channels
2012-04-18 13:18:25 -04:00
GJ
b70e868b5c
*CLEANUP* - Party.java
2012-04-03 00:06:30 -04:00
GJ
dd6082c8a1
Add ability to fire level-up event & notification with ExperienceAPI
2012-03-30 01:01:48 -04:00
GJ
f547523c3e
Heh, API functions shouldn't be static...
2012-03-29 23:08:51 -04:00
GJ
8bbee7fe06
Moved some stuff around, added a few functions to PartyAPI
2012-03-29 16:13:43 -04:00
GJ
6c1ee24101
Tweaked some stuff with adding XP, added an ExperienceAPI class.
2012-03-29 14:24:41 -04:00
GJ
3c9e38d7ad
Helps to include the new file.
2012-03-29 10:05:04 -04:00