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:
config.yml (EN)
#############################
# 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"config.yml (RU)
#############################
# 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:
Screenshots
Using HEX colors
EN
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.
RU
Формат 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
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta