Solved AsyncPlayerChatEvent

Discussion in 'Spigot Plugin Development' started by KrakenArtz, Jul 4, 2018.

  1. How I can make the players only write numbers.
    I am doing this to change cooldowns.
     
  2. Code (Java):
    StringUtils#isNumeric(String)
     
    That method checks if the String is a number.
     
    • Winner Winner x 1
  3. Thanks, it works well.