Config

The configuration for SpaceChat is split up into different sections. They are self-explanatory.

Chat Formats

In a chat format, there are different fields to pay attention to, and modify.

Note: You need to know the basic format for all chat formats: [prefix][name color][username][suffix][separator][chat color][chat message]

  • priority
    • This is an integer from -2147483648 to 2147483647
    • Usually the default format is set to 0
    • This governs which format will be shown based on priority
      • If GamerYT has the default format with priority 0, and the staff format with priority 100, GamerYT will have the staff format active because it has a higher priority
  • prefix
    • This is text shown before the player's name
    • It has a sub-property below the fields called prefix_hover which determines the text that will be shown on hover, and the command that will be executed on click
  • name_color
    • This is the color of the player's name
  • username
    • This is the player's username
    • It is usually a placeholder like %player_displayname%
    • It has a sub-property below the fields called username_hover which determines the text that will be shown on hover, and the command that will be executed on click
  • suffix
    • This is the player's suffix, which is text that will be shown after the player's name
    • It has a sub-property below the fields called suffix_hover which determines the text that will be shown on hover, and the command that will be executed on click
  • separator
    • This is the separator between the suffix (or username if no suffix) and the chat message
  • chat_color
    • This is the color of the player's chat message

Join Formats

In a join format, there are different fields to pay attention to, and modify.
  • priority
    • This is an integer from -2147483648 to 2147483647
    • Usually the default format is set to 0
    • This governs which format will be shown based on priority
      • If GamerYT has the default format with priority 0, and the staff format with priority 100, GamerYT will have the staff format active because it has a higher priority
  • shown
    • This is text shown on join
    • It has a sub-property below the fields called hover which determines the text that will be shown on hover, and the command that will be executed on click

Leave Formats

In a leave format, there are different fields to pay attention to, and modify.
  • priority
    • This is an integer from -2147483648 to 2147483647
    • Usually the default format is set to 0
    • This governs which format will be shown based on priority
      • If GamerYT has the default format with priority 0, and the staff format with priority 100, GamerYT will have the staff format active because it has a higher priority
  • shown
    • This is text shown on join
    • It has a sub-property below the fields called hover which determines the text that will be shown on hover, and the command that will be executed on click

Default Config.yml

###########################
# SpaceChat configuration #
###########################
# Comments:
# - THIS PLUGIN REQUIRES 'PlaceholderAPI' TO FUNCTION
########################################################################
######## Chat formats below ########
# Formatting explained:
# [prefix][name color][username][suffix][chat color][chat message]
# Permissions explained:
# spacechat.chatformat.<NAME>
# Example: For default format, it would be "spacechat.chatformat.default" ... ... For staff format, it would be "spacechat.chatformat.staff"
chat-formats:
default:
priority: 0 # Higher number = higher priority
# Text related below
prefix: "&8[&7Member&8] " # The text before the player's name
name_color: "&7" # The color of the player's name
username: "%player_displayname%" # The player's username
suffix: "" # The text after the player's name
separator: "&7| " # The chat separator (usually "|" or ">" or ">>" or ":")
chat_color: "&7" # The color of the player's chat
# Hovering below
prefix_hover:
text:
- "&7%player_displayname% &bis a &8[&7Member&8]"
- "&7Current ping: %player_ping%"
command: '' # Commands that will be executed when you click on the player's prefix
username_hover:
text:
- "&7%player_displayname%"
- "&fClick to message!"
command: "$suggest$/msg %player_name%" # Suggests command
suffix_hover:
text: []
command: "$url$https://www.yakovliam.com/" # opens URL
staff:
priority: 100 # Higher number = higher priority
# Text related below
prefix: "&8[&cStaff&8] " # The text before the player's name
name_color: "&c" # The color of the player's name
username: "%player_displayname%" # The player's username
suffix: "" # The text after the player's name
separator: "&7| " # The chat separator (usually "|" or ">" or ">>" or ":")
chat_color: "&f" # The color of the player's chat
# Hovering below
prefix_hover:
text:
- "&7%player_displayname% &bis a &8[&cStaff&8]"
- "&7Current ping: %player_ping%"
command: '' # Commands that will be executed when you click on the player's prefix
username_hover:
text:
- "&7%player_displayname%"
- "&fClick to message!"
command: "$suggest$/msg %player_name%"
suffix_hover:
text: []
command: ''
mvp:
priority: 5 # Higher number = higher priority
# Text related below
prefix: "&b[MVP] " # The text before the player's name
name_color: "&b" # The color of the player's name
username: "%player_displayname%" # The player's username
suffix: " &6[RANKED]" # The text after the player's name
separator: "&7| " # The chat separator (usually "|" or ">" or ">>" or ":")
chat_color: "&7" # The color of the player's chat
# Hovering below
prefix_hover:
text:
- "&7%player_displayname% &bis a &b[MVP]"
- "&7Current ping: %player_ping%"
- "&fClick to open the store!"
command: "$url$https://www.yakovliam.com/" # Command that will be executed when you click on the player's prefix
username_hover:
text:
- "&7%player_displayname%"
- "&fClick to message!"
command: "$suggest$/msg %player_name%"
suffix_hover:
text: []
command: ''
########################################################################
######## Join formats below ########
# Permissions explained:
# spacechat.joinformat.<NAME>
# Example: For default format, it would be "spacechat.joinformat.default" etc
join-formats:
default:
priority: 0 # Higher number = higher priority
# Text related below
shown: "&8[&7Member&8] &f%player_displayname% &bhas joined!" # The text
# Hovering below
hover:
text:
- "&7%player_displayname% &bis a &8[&7Member&8]"
command: '' # Command that will be executed when you click
staff:
priority: 10 # Higher number = higher priority
# Text related below
shown: "&8[&cStaff&8] &f%player_displayname% &bhas joined!" # The text
# Hovering below
hover:
text:
- "&7%player_displayname% &bis a &8[&cStaff&8]"
command: ''
########################################################################
######## Leave formats below ########
# Permissions explained:
# spacechat.leaveformat.<NAME>
# Example: For default format, it would be "spacechat.leaveformat.default" etc
leave-formats:
default:
priority: 0 # Higher number = higher priority
# Text related below
shown: "&8[&7Member&8] &f%player_displayname% &bhas left!" # The text
# Hovering below
hover:
text:
- "&7%player_displayname% &bis a &8[&7Member&8]"
command: '' # Command that will be executed when you click
staff:
priority: 10 # Higher number = higher priority
# Text related below
shown: "&8[&cStaff&8] &f%player_displayname% &bhas left!" # The text
# Hovering below
hover:
text:
- "&7%player_displayname% &bis a &8[&cStaff&8]"
command: '' # Command that will be executed when you click
########################################################################
# PERMISSIONS ARE IN SETTINGS.YML