bm01
ccedd23342
Fixed NPE on /party join when the sender isn't in a party
...
Also cleaned up PartyManager.joinParty since it's no longer supposed
to create any party.
2013-02-09 16:21:13 +01:00
bm01
46b5746dcc
Fixed bad player names displaying when using /party
2013-02-09 15:54:03 +01:00
bm01
317a39177b
Fixed NPE on /party invite when used without a second argument
2013-02-09 14:51:36 +01:00
bm01
73924543df
Fixed /party invite trying to invite "invite"
2013-02-09 14:50:03 +01:00
bm01
c659f8a9a9
Party now store OfflinePlayer instead of String
2013-02-09 14:34:53 +01:00
TfT_02
74df4a4fb6
Add random item share mode for parties.
...
Use /party itemshare random to enable random item sharing. Disable with
/party itemshare [none | false | off]
Whenever a party member picks up an item, everyone has a chance of
receiving that item instead of the player who picked it up.
2013-02-09 12:24:02 +01:00
GJ
a2cbfa2668
We only need the name here, avoids NPE issues in /party create.
...
Fixes #655
2013-02-09 00:57:00 -05:00
GJ
340c47eebd
Switch /party invite to a subcommand
2013-02-08 16:56:54 -05:00
GJ
ae5f39253e
Make this work properly, finally.
2013-02-08 16:30:34 -05:00
GJ
4957366beb
Yet another stupid error.
2013-02-08 14:55:09 -05:00
GJ
27e4a2c290
This is a more applicable error message.
2013-02-08 13:28:58 -05:00
GJ
a424d36e96
This is less costly.
2013-02-08 13:27:28 -05:00
GJ
9c0518f251
Fix NPE on PartyJoin - Fixes #653
2013-02-08 13:16:12 -05:00
GJ
794071efb8
Not just for XP sharing.
2013-02-08 11:54:09 -05:00
GJ
787c4e5b73
Just in case they type it wrong.
2013-02-08 11:54:09 -05:00
GJ
33d3cd0522
Had the naming backwards, it's actually /party expshare
2013-02-08 11:54:09 -05:00
GJ
e14f8ad93c
Convert /party shareexp to a subcommand
2013-02-08 11:54:08 -05:00
GJ
7a357634c7
We've already verified that they're in a party by this point.
2013-02-08 11:54:08 -05:00
GJ
ef5f72f56c
Invert this check for clarity's sake.
2013-02-08 11:54:08 -05:00
GJ
ae3a95dd34
Convert /party quit to a subcommand
2013-02-08 11:54:07 -05:00
GJ
35f243a6e6
No reason to use the SAME CODE in three different clases.
2013-02-07 23:59:02 -05:00
GJ
291393d45d
Update /party create to be a subcommand
2013-02-07 22:54:15 -05:00
GJ
3cc5cd4a04
Fixed playerParty never being initialized.
2013-02-07 22:10:31 -05:00
GJ
70ba4a0f3d
Change /party accept to a subcommand.
2013-02-07 22:09:43 -05:00
GJ
9de6b4724a
Changed names to refer to partyInvite for the sake of clarity.
2013-02-07 22:05:08 -05:00
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
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
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
Glitchfinder
60033d47ec
Adding support for both display names and sender names in the chat API.
2013-02-01 18:59:22 -05: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
01c8b8ad4a
Builder > Buffer
2013-01-30 18:58:31 -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