GJ
79b96c380d
Move handlePartyChangeEvent to PartyManager
2013-02-07 22:01:14 -05:00
GJ
3ccf79cff5
Make /party join into a subcommand.
2013-02-07 21:46:19 -05:00
GJ
3550c25b7d
targetParty could have been null going into the PartyChangeEvent.
2013-02-05 09:59:03 -05:00
TfT_02
1c328e7ac7
Fixed a bug which made it impossible to join other players' parties.
2013-02-05 14:47:09 +01:00
TfT_02
433c99e239
Clean up
2013-02-05 14:47:08 +01:00
TfT_02
6d5ce1357e
More party members = more XP share bonus
...
Sorry, broke your party settings in config.yml. So now when there are
more party members near, the party share bonus is increased. :)
2013-02-04 17:41:31 +01:00
GJ
b21dc8631a
Remove unused imports.
2013-02-04 00:55:17 -05:00
Glitchfinder
6498c711ba
Updating the permissions for the /ptp command and fixing the event it files to properly show who is teleporting where.
2013-02-03 15:40:29 -08:00
bm01
b048cc1e55
Missed that one (formatting issue with /party kick)
2013-02-03 16:49:22 +01:00
bm01
3c94074533
Fixed minor formatting issue with /party owner
2013-02-03 16:47:30 +01:00
bm01
2de8962887
Fixed possible "array overflow" with /party kick
2013-02-03 16:46:46 +01:00
bm01
e37e913f6a
Fixed minor formatting issue with /party invite
2013-02-03 16:37:41 +01:00
bm01
51305118fa
Moving party stuff from PlayerProfile to McMMOPlayer
2013-02-03 16:27:59 +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
bm01
bd3db4a425
Fixed Xp not being awarded in parties because of XpShareMode.NONE
2013-02-03 05:25:02 +01:00
NuclearW
ebca9fc2da
Change getString to use varargs
2013-02-02 02:55:49 -05:00
GJ
d1f499f6fd
Moved around a few more commands.
2013-02-02 00:09:47 -05:00
bm01
610bc42815
Fixing no Xp gain from previous commit
2013-02-02 05:06:47 +01:00
bm01
2006356ccd
Fixing Xp share awarding full Xp to the original player
2013-02-02 05:00:39 +01:00
bm01
63e827aefb
isEmpty() is prettier <3
2013-02-02 04:42:24 +01:00
bm01
1898537149
Fixed double rounding of shared Xp, rounding up final result instead
2013-02-02 04:33:26 +01:00
Glitchfinder
60033d47ec
Adding support for both display names and sender names in the chat API.
2013-02-01 18:59:22 -05:00
GJ
2762a9d1fd
Fix NPE on startup relating to old party files without an xp share mode
...
set.
2013-02-01 07:57:00 -05:00
TfT_02
56617a1c1c
Minor cleanup
...
No need for this here since .addXp() also does xpCheckSkill()
Also, thank you @bm01 for the cleanup! :)
2013-02-01 10:15:28 +01:00
bm01
77e048471e
Forgot to use the ShareHandler enum here
2013-02-01 06:51:02 +01: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
cd35df17ec
Fix a handful of Javadoc issues - need to check through the rest later to ensure that we actually have updated JDs for everything
2013-01-30 19:44:35 -05:00
GJ
01c8b8ad4a
Builder > Buffer
2013-01-30 18:58:31 -05:00
GJ
fc5dda78f5
Fixed javadoc issue, also fixed bug where we were trying to compare the Player and a string, rather than the player's name.
2013-01-30 18:49:14 -05:00
GJ
599bbe73b4
More major refactoring. My OCD is better now.
2013-01-30 11:53:51 -05:00
GJ
852872f55c
Custom mod support refactoring.
2013-01-30 11:35:33 -05:00
GJ
62a037a4fd
Minor cleanup of new party stuff.
2013-01-30 11:25:44 -05:00
TfT_02
9a89c7c49f
Added party XP sharing.
2013-01-30 15:17:54 +01:00
TfT_02
5bf1e49e43
Edit /mcc
information with new party commands
...
`/party password` can now be used to clear the parties password when no
argument is provided.
Also improved feedback messages when managing your party.
2013-01-29 13:17:38 +01:00
TfT_02
0a17bf69c0
Implementing ptp request timeouts.
...
Also fix and improve a few things as suggested by bm01
2013-01-28 21:24:55 +01:00
GJ
0692dd82ad
Cleaned up a few things in PartyCommand - removed unnecessary else
...
statements & function args, removed accidental usage of
Bukkit.getServer() command, fixed some spacing issues.
Added new CommandHelper function to take a player when checking
permissions to avoid double-checking when it's already been verified
that the sender is a player.
2013-01-28 09:16:19 -05:00
GJ
92262d0e47
Cleanup PtpCommand a bit, remove some useless argument passing and else
...
statements.
2013-01-28 08:36:12 -05:00
TfT_02
d744c6a46d
Party teleportation now requires the target player to confirm the teleport request before the teleportation takes place.
2013-01-28 00:52:51 +01:00
TfT_02
cb46040309
Because you can't join your own parties.
2013-01-28 00:35:06 +01:00
TfT_02
abd8223e41
Add /ptp toggle command
2013-01-27 23:35:46 +01: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
bm01
a8fa625b5c
Fixed parties not being loaded at startup
...
+ minor cleanup
2013-01-27 01:32:58 +01:00
bm01
bff7919c21
Major cleanup
2013-01-26 23:01:55 +01:00
TfT_02
f1075f800f
Cleanup, no need for this in PartyManager
2013-01-26 19:40:20 +01:00
TfT_02
473b9e8bbe
Add new party command /party rename
2013-01-26 19:31:17 +01:00
TfT_02
b91b88a74b
Better feedback when trying to join a password protected party.
2013-01-26 16:26:32 +01:00
TfT_02
d601496173
Reworked party commands.
...
Party commands are now all subcommands of /party. Use /party create
<party-name> to create a new party. To join an existing party, player
can now use /party join <player-name>. You can only join unlocked
parties. New parties are locked by default and require the party leader
to invite members.
2013-01-26 00:40:23 +01: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
a9c722de67
Wrapping up the localizations... though I'm sure there are probably
...
still some that got missed.
2013-01-17 11:02:55 -05:00
gmcferrin
e036b7ac70
We don't need that param.
2013-01-09 23:15:29 -05:00
Daniel Naylor
73a5143a17
Check to see if players are eligible to join a party before the mcMMOPartyChangeEvent is fired
2012-12-29 13:15:58 +00:00
Grant
36d5344ded
Cleanup formatting.
2012-12-24 16:56:25 -05:00
GJ
686bcd5308
Null check ALL the profiles.
...
We should probably find a more elegant way to do this, though.
2012-07-10 14:02:48 -04:00
GJ
9ba5360bfc
Cleaned up inSameParty method
2012-06-28 08:14:49 -04:00
GJ
32e9de6e9a
Fix for NPE on party checks due to CombatTag plugin.
2012-06-27 23:51:18 -04:00
nossr50
0b0390620e
Whoops :D
2012-06-24 13:26:49 -07:00
nossr50
24eb34c182
Back to the old way of doing things
2012-06-24 13:26:21 -07:00
nossr50
ab7b6ce460
Fixed bug that caused NPE when trying to compare null parties
2012-06-24 12:48:03 -07: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
5d0d89e74d
Changed party name restriction
2012-06-09 22:24:04 +02:00
bm01
e9c3583fd8
Added few forgotten things
2012-06-09 20:11:11 +02:00
bm01
81eadc1418
No longer use/save party name in database and users flat file
2012-06-09 19:48:18 +02:00
bm01
3732db2226
Reworked Party
2012-06-09 03:08:36 +02:00
bm01
90c8e57ed7
Reworked a little Users.java
2012-06-08 20:00:02 +02:00
GJ
2f15c71412
Because making it upper case broke all the things.
2012-06-06 18:02:22 -04: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
71446a12af
Static ALL the things!
2012-06-05 10:42:56 -04:00
GJ
1cca4de9e5
Cleanup!
2012-06-05 09:57:10 -04:00
GJ
1b37ba8daa
Fixed a few issues from the merge, added the mod directory to the zip
...
backup.
2012-05-05 13:51:54 -04:00
nossr50
d9b3eff18f
Changed how a few variables were initialized
2012-05-05 10:16:41 -07:00
bm01
354ed9ede0
Fixed NPE on /party
2012-05-04 11:04:05 +02:00
nossr50
47b7780c96
Refactor ALL THE THINGS!
2012-04-27 02:47:11 -07:00
bm01
b9c8fed01f
Made Party.isInParty safer
2012-04-27 08:17:02 +02:00
bm01
0234b0f6ce
Fixed Party class not being a real singleton
2012-04-27 07:12:49 +02: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
f94a617d94
Cleanup & refactoring, part 1.
2012-04-20 18:09:50 -04:00
GJ
77efbe39a9
Reverted to old locale strings in master - moved to new branch.
2012-04-17 10:28:13 -04:00
GJ
248f24d4b9
Locale changes, part 1.
2012-04-11 15:28:30 -04:00
nossr50
70ce762b5a
Removing unused imports
2012-04-03 08:51:34 -07:00
nossr50
e879153df7
Some updates.
2012-04-03 08:49:14 -07:00
GJ
b70e868b5c
*CLEANUP* - Party.java
2012-04-03 00:06:30 -04:00
GJ
aaa63a7f5d
Added McMMOPartyTeleportEvent for API usage - fires before a successful
...
teleportation would occur.
2012-03-27 15:57:37 -04:00
GJ
65e3384a96
Prep for mcLocale update.
2012-03-26 16:17:35 -04:00
GJ
f2be996e3d
Update to SpoutStuff.java
2012-03-20 22:33:58 -04:00
GJ
49bb3e0a3c
Misc. cleanup, removed old Logger.getLogger stuff.
...
Logger.getLogger() replaced with Bukkit.getLogger()
2012-03-12 17:28:13 -04:00
NuclearW
4805097a0c
Remove lots of redundant license prefixes from files
2012-03-07 16:53:54 -05:00
nossr50
7ad9b2ed58
Gutting out the old Party HUD. Lets make a new one.
2012-02-25 03:51:22 -08:00
GJ
f9e7ae22f2
Removed unused variables & imports.
2012-02-06 16:30:50 -05:00
TheYeti
f937e44018
Removal of alias variables and update of all commands
2012-01-31 00:36:07 -08:00
TheYeti
376048d5aa
Getting project ready for Maven
2012-01-09 11:00:13 -08:00