authors: [GreninjaPro321]
description: An ChatSpy command.
main: Leave it blank.
name: ChatSpy
load: postworld
version: 1.0
website: http://no.domain.this.time.xD
softdepend: [Vault, VanishNoPacket, TagAPI]
permissions:
  cex.allowspamcommands:
    default: op
    description: Allows players to repeat same command multiple times in a short time period without being stopped. Useful for admin purposes.
  cex.reload:
    default: op
    description: Allows player to reload CommandsEX configuration from disk (/cex reload).
  Listener.chatspy:
    default: op
    description: Placeholder for event function that allows player chat spying.
  Listener.savebackposition:
    default: op
    description: Placeholder for event function that saves last player position in the event of teleportation.
  cex.chatspy:
    default: op
    description: Allows player to see all chat (even private messages and local chat while being in global).
commands:
  cex:
    description: Displays version information and allows getting/setting configuration options.
    usage: |
           /<command>
           /<command> config -> lists available options
           /<command> config get <option>
           /<command> cg <option>
           /<command> config set <option> [add|remove <value>]
           /<command> cs <option> [add|remove <value>]
  cex_spy:
    description: Activates chat spy mode, showing the player all chat messages, local and private included.
    usage: /<command>
    permission: cex.chatspy
    permission-message: You don't have sufficient permissions to use this command.
    aliases: [spy]
# If you want everyone to use ChatSpy, you probably need to think about it.