SimpleCustomCommands icon

SimpleCustomCommands -----

Easy way to create custom commands with text/title/actionbar answer



Description: Easy way to create custom commands with text/title/actionbar answer
Commands:
  • Plugin don't have own commands

Plugin has only one configuration file:
Code (YAML):

#############################
#    SimpleCustomCommands   #
#     Made by GameDoctor    #
#           2024            #
#############################

settings
: # General settings
  timeStringFormat
:
    # If true, only the highest value is displayed. For example, not 1 day 12 hours 5 minutes 13 seconds, but only 1 day.
    displayOnlyHighest
: true
    seconds
: "s."
    minutes
: "m."
    hours
: "h."
    days
: "d."

commands
: # Setting up commands (You can add as many as you want)
  test
:
    # The right to use the command. Specify '-' if not required
    permission
:
      name
: "-"
      # A message if the rights are not enough
      noPermMessage
: "&cYou don't have enough rights"
    aliases
: # Alternatives to this command
      enable
: true
      list
:
       - "test1"
        - "test2"
        - "test3"
    cooldown
: # Setting the delay for command execution
      # Waiting time in seconds. Set to 0 if not required
      amount
: 10
      message
: "&cYou will be able to use this command in &e%time%"
    # Actions to be performed
    actions
:
      msg1
:
        # Sends messages to the player (Any of the messages can be disabled)
        type
: MESSAGE
        data
:
          chat
:
            enable
: true
            lines
:
             - "&7Test chat message"
          title
:
            enable
: true
            line1
: "&a&lTitle"
            line2
: "&e&lSubtitle"
            fadeIn
: 20 # 1 sec
            stay
: 60 # 3 sec
            fadeOut
: 20 # 1 sec
          actionBar
:
            enable
: false
            message
: "&7Test message"
          sound
:
            enable
: true
            name
: "ENTITY_EXPERIENCE_ORB_PICKUP"
      connect1
:
        # Connects the player to the specified BungeeCord server
        type
: BUNGEE_CONNECT
        data
:
          server
: "TEST"
 
Code (YAML):

#############################
#    SimpleCustomCommands   #
#     Made by GameDoctor    #
#           2024            #
#############################

settings
: # Общие настройки
  timeStringFormat
:
    # Если true - отображается только самое большое значение. Например, не 1 день 12 часов 5 минут 13 секунд, а только 1 день.
    displayOnlyHighest
: true
    seconds
: "с."
    minutes
: "м."
    hours
: "ч."
    days
: "д."

commands
: # Настройка команд (Можно добавить сколько угодно)
  test
:
    # Право на использование команды. Укажите '-', если не требуется
    permission
:
      name
: "-"
      # Сообщение, если прав недостаточно
      noPermMessage
: "&cУ вас недостаточно прав"
    aliases
: # Альтернативы этой команде
      enable
: true
      list
:
       - "test1"
        - "test2"
        - "test3"
    cooldown
: # Настройка задержки на выполнение команды
      # Время ожидания в секундах. Установите на 0, если не требуется
      amount
: 10
      message
: "&cВы сможете воспользоваться этой командой через &e%time%"
    # Действия, которые будут выполнены
    actions
:
      msg1
:
        # Отправляет сообщения игроку (Любое из сообщений можно отключить)
        type
: MESSAGE
        data
:
          chat
:
            enable
: true
            lines
:
             - "&7Тестовое сообщение в чат"
          title
:
            enable
: true
            line1
: "&a&lТайтл"
            line2
: "&e&lСубТайтл"
            fadeIn
: 20 # 1 sec
            stay
: 60 # 3 sec
            fadeOut
: 20 # 1 sec
          actionBar
:
            enable
: false
            message
: "&7Тестовое сообщение"
          sound
:
            enable
: true
            name
: "ENTITY_EXPERIENCE_ORB_PICKUP"
      connect1
:
        # Подключает игрока к указанному серверу BungeeCord
        type
: BUNGEE_CONNECT
        data
:
          server
: "TEST"
 
In provided example we create command /test with aliases /test1, /test2, /test3 and make it return messages in chat, actionbar and title

Demonstation:
2023-08-23_02.53.31-2.png %D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82-22-08-2023%2019_49_34.jpg %D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82-27-04-2024%2004_37_08.jpg
The HEX color format in the plugin is similar to the one used in the infamous Essentials plugin. For the convenience of generating HEX text gradients, there is a website https://spigot.kosfarix.ru/hex

But keep in mind that variables (%player%, %color%, and so on) cannot be converted to this format.
Формат HEX цветов в плагине похож на тот, что используется в небезызвестном плагине Essentials. Для удобства генерации HEX градиентов текста существует сайт https://spigot.kosfarix.ru/hex

Но имейте в виду, что переменные (%player%, %color% и так далее) нельзя переводить в этот формат.

Note: If you want additional functionality to be added to the plugin, just write about it in the discussion

Installation:
Download, drop it in plugins folder and restart your server
Resource Information
Author:
----------
Total Downloads: 127
First Release: Aug 22, 2023
Last Update: Apr 27, 2024
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings