Sprache

CutCommand

CutCommand

Modrinth

Dynamic Shortcut Plugin Create permanent command shortcuts instantly with custom variables (like %block% or %item%), built-in tab-completion, smart -- delimiter support, and automated LuckPerms permissions. Highly optimized!

9 Downloads aktualisiert 13h ago
neueste v1.2 Modrinth
Bukkit Paper Spigot 1.20 – 1.21.11 Game-mechanicsManagementSocial

🚀 Dynamic Shortcut Plugin (1.13 - 1.21+)
A lightweight, high-performance, and professional plugin that allows server administrators to create custom permanent command shortcuts dynamically with advanced variable support, smart delimiters, and dynamic tab-completion.

✨ Features
Dynamic Creation: Create command shortcuts instantly in-game without restarting your server.

Smart -- Delimiter: Safely separate your custom shortcut syntax from the original target command to allow complex multi-argument bindings.

Dynamic Variable Engine: * Built-in Placeholders: Use %block%, %item%, %player%, %world%, or %mob% for native, real-time tab-completion lists.

Custom Placeholders: Create any variable you want (e.g., %amount%, %reason%). The plugin captures what the player types and injects it instantly into the final command!

Native Tab-Completion: Fully supports interactive tab-completions based on your variables, ensuring players type commands accurately.

Structured config.yml Storage: Cleans up your file hierarchy by grouping syntax, target commands, and permissions nicely together.

Cross-Version Support: Works flawlessly from older versions (1.13) up to the latest modern versions (1.21+).

💻 Commands & Usage
Managing your shortcuts is incredibly easy. Use the main command prefix /sc.

How to create a shortcut:
/sc add [variables] -- <original_command>

Examples:
WorldEdit Quick Set (With Built-in Block Variable):
/sc add a %block% -- /set %block%
(When a player types /a stone, the server will execute //set stone behind the scenes)

Custom Dynamic Give Command (With Built-in Item & Custom Amount Variables):
/sc add drop %item% %amount% -- give %player% %item% %amount%
(When a player types /drop diamond 64, it will give them 64 diamonds)

Dynamic TempBan Shortcut (With Custom Variables):
/sc add b %target% %time% -- tempban %target% %time% Breaking Rules

Admin Management Commands:
/sc list [page] — View a beautiful, paginated list of all active shortcuts and their permissions.

/sc delete — Completely deletes a shortcut from the server and the configuration file.

/sc reload — Instantly reloads the configuration and updates all active player tab-completions.

🔑 Permissions & LuckPerms Support
This plugin features a fully automatic, dynamic permission system that integrates perfectly with LuckPerms, UltraPermissions, and any Bukkit-compatible permission manager.

  1. Administrative Permission
    To allow staff or administrators to manage shortcuts, grant them:

shortcutplugin.admin — Allows the usage of /sc commands (Default: OP)

  1. Automatic Shortcut Permissions (For Players)
    Every time you create a new shortcut, the plugin automatically links a unique permission node based on the command's primary name:

shortcut.command.

💡 How to set it up in LuckPerms:
If you created a shortcut named /a (/sc add a %block% -- /set %block%), the permission node will be shortcut.command.a.

Grant a specific rank (e.g., Builder) access to use /a:
/lp group builder permission set shortcut.command.a true

Grant a group access to ALL shortcuts on the server:
/lp group admin permission set shortcut.command.* true

Note: If a player does not have the required permission for a shortcut, the command will be completely hidden from their Tab-Completion list!

⚙️ Configuration (config.yml)
The plugin generates a clean, readable hierarchical file structure inside plugins/ShortcutPlugin/config.yml. The permission node is saved perfectly right above the command:

YAML

ShortcutPlugin Configuration File

Define your shortcuts here manually, or use /sc add in-game!

shortcuts:
a_%block%:
permission: shortcut.command.a
syntax: a %block%
command: /set %block%
drop_%item%_%amount%:
permission: shortcut.command.drop
syntax: drop %item% %amount%
command: give %player% %item% %amount%
🛠️ Installation
Download the ShortcutPlugin.jar file.

Drop it into your server's plugins/ directory.

Restart or start your server.

Enjoy your brand new dynamic shortcuts!

No responsibility is taken for any malfunction that may occur.

Versionen

Release
1.2
bukkit, paper, spigot · 1.21, 1.21.1, 1.21.2 · 13h ago
🚀 What's New & Changelog Smart Dynamic Variables: Full support for placeholder variables that automatically remember and replace arguments in…
3
Release
1.1.1
bukkit, paper, spigot · 1.20, 1.20.1, 1.20.2 · 9d ago
Added Option to give access to short commands
3
Release
1.1.0
bukkit, paper, spigot · 1.20, 1.20.1, 1.20.2 · 9d ago
Creating shortcut commands
2

Kommentare 0

Noch keine Kommentare. Sei der Erste, der seine Meinung teilt.

Herunterladen CutCommand

Dateien werden direkt von der Originalquelle bereitgestellt. Modgrid hostet oder verändert sie nicht.