Interface WriteListener


public interface WriteListener
A listener for AnvilGUI that gets called whenever someone clicks the final item or closes the inventory
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onWrite(Player player, String text)
    Gets called when player is done writing
  • Method Details

    • onWrite

      void onWrite(Player player, String text)
      Gets called when player is done writing
      Parameters:
      player - The player who has been writing
      text - The text he wrote