Change Gamemodechange message?

Discussion in 'Plugin Development' started by Dreeass, May 7, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Dreeass

    I'm making my plugin VanillaPlus as configurable as it can be, so I'm adding a messages config where you can set the messages. The only problem that I'm facing is there's no method for the event PlayerGameModeChangeEvent that is able of changing the message it says when changing gamemode. Is this missing or is there a workaround?
     
  2. Offline

    Craftiii4

    Could you just not setCancelled(true), then change the gamemode with your own custom message?

    Just an idea and i do not know if it will work
     
  3. Offline

    Dreeass

    If I cancel the event then he won't change gamemode. :/
     
Thread Status:
Not open for further replies.

Share This Page