MLG-Fortress / PopulationDensity

The now-official repository of the PopulationDensity Bukkit plugin
https://dev.bukkit.org/projects/population-density
10 stars 10 forks source link

Display invite notification to invitees #16

Closed zedwick closed 7 years ago

zedwick commented 7 years ago

Re-added Messages.InviteNotification and Messages.InviteInstruction which were removed in 5.6.

Also added Messages.InviteAlreadySent as an optional variation on the InviteConfirmation message shown if the invitee has already been invited by the inviter. Default is the same as InviteConfirmation. If invitee has already been invited, they are not shown any inviteNotification nor inviteInstruction.

Resolves #9

RoboMWM commented 7 years ago

Huh. Player#invitee only holds one inviter (i.e. can't be invited by multiple players)?

zedwick commented 7 years ago

Yeah, I was a little surprised by that. Guess it's just the most recent invite, presumably because you're expected to use your invite soon after receiving it anyway.