SportBukkit icon indicating copy to clipboard operation
SportBukkit copied to clipboard

Identifiables

Open jedediah opened this issue 7 years ago • 0 comments

  • Extract common interface Identifiable for things identified by a UUID, i.e. Entitys and OfflinePlayers.
  • Add ConnectedPlayer interface between OfflinePlayer and Player in the inheritance hiearchy, which adds a field for IP address. Use this to carry info in pre-login events.
  • Add Event#getInvolved() that returns a list of all Identifiables involved in the event.

This seems like a better approach than EntityAction and PlayerAction, and we may remove that patch if this one serves our needs.

jedediah avatar Oct 06 '16 06:10 jedediah