MonitoringMinecraft MonitoringMinecraft

EasyAlias

Плагин PaperPurpur

Плагин для серверов Майнкрафт: простое создание алиасов для команд.

84 скачивания 0 подписчиков
Оцените первым

Aliases

This plugin lets you create aliases for your minecraft commands. Any number of commands can be mapped to one alias, allowing you to easily use multiple commands at once.

Aliases are able to overwrite other registered commands. You can use the overwritten command with namespacing (Generally something like /<name of the plugin>:<command>)

Aliases cannot have any parameters.

Commands

  • /easyalias help: Prints the help message
  • /easyalias reload: Reloads the config and registers/unregisters any commands.
  • /easyalias get <alias>: Prints part of "/easyalias list" for a specific alias
  • /easyalias list: Lists all of the commands available to the player and what they do.

help message

The Config

All commands should be defined under the "commands" section of config.yml.

commands:
  <alias>:
    permission: <required permission>
    run_as_console: <true|false>
    executes:
      - <list of commands to run>
  • alias is the name of the command that executes the alias. The command can be run with <alias>.
  • permission is the permission required to run the alias. If not specified, any player can use the command.
  • run_as_console is a boolean that determines if the command will run as the player or as the console.
  • executes is the list of commands that the alias will run. The commands should not have the forward slash ("/") at the beginning of each line. It can also be a string if only one command needs to be executed

Example Config:

commands:
  example1:
    permission: easyalias.example
    executes:
      - tellraw @p "hello!"
      - tellraw @p "this is an example alias!"
  example2:
    executes:
      - tellraw @p "hello!"
      - tellraw @p "this is another example alias!"
  example3:
    run_as_console: true
    executes:
      - tellraw @p "hello!"
      - tellraw @p "this is another example alias!"
version: "1.0.0"

When running /easyalias reload then /easyalias list, this is what you'll see:

example config

Смотри также

Похожие подборки плагины — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
1071 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
AxisMine - ВаниллаPlus
6 онлайн
1.21.4 — 26.1.2 версия
Ванильный мир с сотнями уникальных механик и справедливой игрой! /free, pat-pat, emotecraft, Voice.
MigosMc
MigosMc Java + BE
1244 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
CLOUDWORLD
0 онлайн
1.16.5 — 1.21.11 версия
Пвп, Арены, Дуэли, Кейсы, донаты, /free, приваты, спавн,
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат