FastCommands 图标

FastCommands

作者:rebot | 分类:模组

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

Minecraft 版本: 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2 26.2

平台: paper purpur

标签: utility

资源介绍
Fast Commands

FastCommands is a lightweight and highly configurable Minecraft plugin that allows to create custom commands directly from a configuration file. The plugin supports permissions, cooldowns, tab completion, placeholders, command routing, delayed actions, and multiple execution types without requiring any programming knowledge.

⭐ Features

  • Create unlimited custom commands
  • Advanced command routes and arguments
  • Multiple action types (Text, Broadcast, Server Command, Player Command, Replace Command)
  • Per-command permissions
  • Per-command cooldowns
  • Tab completion support
  • Delayed actions
  • Placeholder support
  • HEX color support
  • Lightweight and optimized
  • Easy configuration
  • No coding required

? Commands

All commands and permissions are fully configurable

Command Default permission Info
/bc reload bettercommands.command.reload Reload plugin configuration

✅ Configuration Examples

Examples of what you can create.

Command Replacement

Replace an existing command with another command.

commands:
  core:
    permission: 'player.core'
    actions:
      action-1:
        type: 'replace'
        action:
          - 'essentials'

Example:

/core reload

Result:

/essentials reload

Broadcast Command

Create a custom broadcast command with arguments, permissions, delayed actions, and placeholders.

commands:
  broadcast:
    permission: 'admin.broadcast'
    permission-message: '&cYou cannot use this command!'
    completer: true

    actions:
      action-1:
        type: 'text'
        action:
          - '&cUsage: /broadcast <text>'

    routes:
      "[text]":
        actions:
          action-1:
            type: 'text'
            action:
              - '&#DBC7FFMessage sent to all players!'

          action-2:
            type: 'broadcast'
            delay: 30
            action:
              - '&aSent from {player}!'
              - '&a{0}'

Example:

/broadcast Hello everyone!

Output:

Sent from Norbit4!
Hello everyone!

Advanced Routes & Arguments

Create advanced command structures using routes and arguments.

commands:
  rank:
    permission: 'admin.rank'
    completer: true

    actions:
      help:
        type: 'text'
        action:
          - '&6Rank Commands'
          - '&e/rank set <player> <rank>'
          - '&e/rank remove <player> <rank>'

    routes:
      "set <player> <rank>":
        actions:
          action-1:
            type: 'server_command'
            action:
              - 'lp user {1} parent set {2}'

          action-2:
            type: 'broadcast'
            action:
              - '&6{player} &eset rank of &6{1} &eto &a{2}&e.'

      "remove <player> <rank>":
        actions:
          action-1:
            type: 'server_command'
            action:
              - 'lp user {1} parent remove {2}'

Examples:

/rank set Steve admin

Executes:

lp user Steve parent set admin

and broadcasts:

Norbit4 set rank of Steve to admin.
/rank remove Steve vip

Executes:

lp user Steve parent remove vip

Placeholders

Plugin includes built-in placeholders that can be used in messages and commands.

Placeholder Description
{player} Name of the player executing the command
{0} First route argument
{1} Second route argument
{2} Third route argument
{3} Fourth route argument
... Additional route arguments

Example configuration:

routes:
  "give <player> <amount>":
    actions:
      action-1:
        type: 'server_command'
        action:
          - 'give {1} minecraft:diamond {2}'

Example command:

/reward give Steve 64

Result:

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Atlas

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

查看详情
FoBlackmarket

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

查看详情
More Advancements!!!

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

查看详情
Trusty Trousers

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

查看详情