EasyAlias 图标

EasyAlias

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/easyalias
资源信息

Minecraft 版本: 1.21.11

平台: paper purpur

标签: management utility

资源介绍

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

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Profanity Filter

价格:0 墨喵币
下载量:0

查看详情
Just Boss Swords

价格:0 墨喵币
下载量:0

查看详情
No Wolf ❌

价格:0 墨喵币
下载量:0

查看详情
Bouncing Balls

价格:0 墨喵币
下载量:0

查看详情