Trigary / Iodine

A Minecraft mod - server plugin pair that adds custom GUIs and overlays. No more inventory and chat menus!
GNU General Public License v3.0
24 stars 0 forks source link

Create IodinePlayerStateChangeEvent #1

Closed Trigary closed 5 years ago

Trigary commented 5 years ago

An event should be created which is fired when the PlayerState of an IodinePlayer changes. This can be used by plugins to eg. send custom messages to the player thanking them for using Iodine. (Please don't do this, it sounds annoying.)

This event should also contain the reason of this state change. Example of reasons, as a guideline: 'outdated client', 'outdated server', 'invalid packet'. This also means that the ServerLoginFailed packet no longer needs to send whether the server or the client uses an outdated version since plugins can send a custom message instead.