Simple Chats Example

Example of just having chat commands

commands.yml
#  __         ______     ______     ______
# /\ \       /\  ___\   /\  __ \   /\  ___\
# \ \ \____  \ \  __\   \ \  __ \  \ \  __\
#  \ \_____\  \ \_____\  \ \_\ \_\  \ \_\
#   \/_____/   \/_____/   \/_/\/_/   \/_/
#
# Author : Smudge

# The permission used to check if a player is able to vanish.
vanish_permission: "leaf.vanishable"

commands:

  staffchat:
    type: "chat"
    enabled: true
    name: "staffchat"
    aliases: [ "sc" ]
    permission: "leaf.staffchat"
    # Should the messages be logged in console?
    log: true
    # %message% : The players message.
    format: "{server_formatted}&r {rank_colour}<player>&r &7: {vanish_colour}%message%"
  
  helperchat:
    type: "chat"
    enabled: true
    name: "helperchat"
    aliases: [ "hc" ]
    permission: "leaf.helperchat"
    log: true
    format: "{server_formatted}&r {rank_colour}<player>&r &7: {vanish_colour}%message%"

Last updated