▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Spellwords
Spellwords

Spellwords

Turn words and phrases into commands.

Оцените первым
47
1

SpellWords

Turn words and phrases into commands.

Create custom chat triggers that execute commands when players send specific messages.

Features

  • Trigger commands from chat messages
  • Multiple trigger words per entry
  • Per-trigger cooldown system
  • Permission-based triggers (LuckPerms supported)
  • Optional canceling of original chat message
  • Cooldown and permission fallback commands
  • Fully server-side
  • Works with any language (including non-Latin scripts)

Configuration

Trigger Properties

PropertyDescriptionDefault
wordsList of words or phrases that activate the trigger[]
commandCommand executed when triggered ({player} supported)""
cooldownCommandCommand executed if trigger is on cooldown ({cooldown} supported)""
denyCommandCommand executed if player lacks permission""
exactMatchRequire full message matchfalse
ignoreCaseCase-insensitive matchingtrue
cancelMessageCancel original chat messagefalse
cooldownSecondsCooldown time in seconds0
runAsConsoleExecute command as server/consolefalse
permissionOptional permission node""

Example

{
  "triggers": [
    {
      "words": ["fireball"],
      "command": "execute as {player} at @s run summon fireball ~ ~1 ~ {ExplosionPower:30}",
      "cooldownCommand": "tellraw {player} \"Wait {cooldown} seconds before using this spell again.\"",
      "denyCommand": "tellraw {player} \"You are not a magician!\"",
      "exactMatch": true,
      "ignoreCase": true,
      "cancelMessage": true,
      "cooldownSeconds": 10,
      "runAsConsole": true,
      "permission": "spellwords.fireball"
    },
    {
      "words": ["badword", "anotherbadword", "плохое слово"],
      "command": "tellraw {player} \"Sorry, but that word is banned!\"",
      "cooldownCommand": "",
      "denyCommand": "",
      "exactMatch": false,
      "ignoreCase": true,
      "cancelMessage": true,
      "cooldownSeconds": 0,
      "runAsConsole": true,
      "permission": ""
    },
    {
      "words": ["AvAdA kAdAbRa"],
      "command": "kill {player}",
      "cooldownCommand": "",
      "denyCommand": "",
      "exactMatch": true,
      "ignoreCase": true,
      "cancelMessage": false,
      "cooldownSeconds": 0,
      "runAsConsole": true,
      "permission": "spellwords.awadakadabra"
    }
  ]
}

Note

This mod was originally created for a personal server and is shared publicly for anyone who wants to use it.

Updates are primarily driven by server needs.

Backports to older Minecraft versions are not planned, but may happen occasionally.

Feel free to report bugs, issues, or suggestions.

Porting to other Minecraft versions is allowed and welcome.

Партнёрский материал

Как поиграть с друзьями с модом Spellwords?

Мод Spellwords куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Spellwords будет готов за пару минут - BungeeHost сделает всё за вас.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Зависимости

Ссылки

Создатели

Детали

Лицензия:
Опубликован:4 месяца назад
Обновлён:4 месяца назад
Главная