A plugin for an advanced chat separator system with a multitude of possibilities.
Command (file commands.yml):
1: /separator
Small clarification regarding the translation messages (from the "translations" folder), you can either put send-message or send-messages, send-message = send only one message AND send-messages = send several messages.
Code (YAML):
# The "plugin" category allows you to modify settings related to the plugin. plugin: # The "translation" parameter is used to configure the translation system, to set the language of the plugin. # Languages are configurable from the translations folder. You can create your own languages and modify those already existing. # Here are your configuration options: # language file name without the .yml. translation: "en_US"# String [language file name without the .yml]. # The "update-check" parameter allows you to enable or disable the update system. # Here are your configuration options: # Setting the parameter to true enables the update system. # Setting the parameter to false disables the update system. update-check: true
# Boolean = [true/false].
Code (YAML):
# The "separators" category allows you to configure everything related to separators. # You can create as many as you want, but you must follow the default separator standard. # To create your own separator, you need to name it, set a separator, and define how many lines it will have. # Example: # sun: # separator: "&6&l━━━━━━━━━━━━━━━━━━━━━━━━━ &e&lSun &6&l━━━━━━━━━━━━━━━━━━━━━━━━━" # number-of-lines: 3 separators: # This corresponds to the name of the separator. # You can modify or delete the default separator. default: # The "separator" configuration allows you to define what the separator will send to the player. separator: "&6&l━━━━━━━━━━━━━━━━━━━━━━━━━ &e&l☐&6&l☐&e&l☐ &6&l━━━━━━━━━━━━━━━━━━━━━━━━━"# String. # The "number-of-lines" configuration allows sending the separator as many times as indicated. number-of-lines: 1
# Number = [1-10].
Code (YAML):
commands:
separator:
description: "This command allows you to separate messages." aliases: -
"ats" -
"sp" usage: "/<command>" command-executor-class: "commands.user.SeparatorCommand" tab-completer-class: "tabCompleters.user.SeparatorTabCompleter"