Chat Fetchers

Chat Fetchers

Chat Fetcher: Prompts the player for text input in chat. Useful for setting amounts, entering custom strings, etc.

Usage Example:

codeclick-events:
  chat-fetcher:
    message: "&ePlease type the amount in chat!"
    conditionFailMessage: "&cInvalid number!"
    conditions:
      is-integer:
        value: '%input%'
    click-events:
      money-remove:
        amount: '%input%'
      message:
        message: "&aYou withdrew %input% from your bank!"

Last updated