Помогите CommandCooldown,откат команд не работает

impossible1770

Активный участник
Пользователь
Баллы
76
Приветствую!
Есть проблема с плагином - https://www.spigotmc.org/resources/commandcooldown.5544/
К примеру я прописал команду /feed (Покормить) -
Пишу еще раз /feed ,и вот кулдаун работает.
Но вот если допустим я пишу /sban name Это кастомная комманда с MyCommand,кулдаун не появляется!
А если тупо написать /sban (без ника) кулдаун появляется!
Помогите с этой бодягой,может есть аналоги?
Версия 1.10
 
Последнее редактирование:
Возможно просто плагин устарел...
Используй UralChat, там можно cooldown's делать.
Идёт под 1.5.2 - 1.10.2
 
В EssentialsX, в последнем билде есть функция кулдаунов.
YAML:
# Specify cooldown for both Essentials commands and external commands as well.
# All commands do not start with a Forward Slash (/). Instead of /msg, write msg
#
# Wildcards are supported. E.g.
# - '*i*': 50
# adds a 50 second cooldown to all commands that include the letter i
#
# EssentialsX supports regex by starting the command with a caret ^
# For example, to target commands starting with ban and not banip the following would be used:
#  '^ban([^ip])( .*)?': 60 # 60 seconds /ban cooldown.
# Note: If you have a command that starts with ^, then you can escape it using backslash (\). e.g. \^command: 123
command-cooldowns:
  feed: 50
  heal: 80
  home: 90
  sethome: 200
  spawn: 120

https://ci.drtshock.net/job/EssentialsX/
 
В EssentialsX, в последнем билде есть функция кулдаунов.
YAML:
# Specify cooldown for both Essentials commands and external commands as well.
# All commands do not start with a Forward Slash (/). Instead of /msg, write msg
#
# Wildcards are supported. E.g.
# - '*i*': 50
# adds a 50 second cooldown to all commands that include the letter i
#
# EssentialsX supports regex by starting the command with a caret ^
# For example, to target commands starting with ban and not banip the following would be used:
#  '^ban([^ip])( .*)?': 60 # 60 seconds /ban cooldown.
# Note: If you have a command that starts with ^, then you can escape it using backslash (\). e.g. \^command: 123
command-cooldowns:
  feed: 50
  heal: 80
  home: 90
  sethome: 200
  spawn: 120

https://ci.drtshock.net/job/EssentialsX/
А чем он отличается от обычного? И стоит ли его брать вместо обычного Essentials?
 
Я кое-какому админу пилил фиксы этого плагина. Если хочешь - могу дешево продать годную модификацию.
 
Возьмите плагин из сборки Minecade, также называется.
 
Назад
Верх Низ