CommandClip
⚪ Last updated 2024Preview

🔍 Analysis
- 🏆 #381 of 1317 bukkit mods in this game by downloads
📋 About This Mod
# CommandClip (https://img.shields.io/github/actions/workflow/status/notTamion/CommandClip/publish.yml)](https://github.com/notTamion/CommandClip/actions) (https://img.shields.io/maven-central/v/io.github.nottamion/commandclip)](https://central.sonatype.com/artifact/io.github.nottamion/commandclip/overview) A Command Framework for Bukkit Plugins ## Dependency ##### Gradle ```kotlin repositories { mavenCentral() } dependencies { compileOnly("io.github.nottamion:commandclip:1.1.0") } ``` ##### Maven ```xml <dependency> <groupId>io.github.nottamion</groupId> <artifactId>commandclip</artifactId> <version>1.1.0</version> </dependency> ``` To reduce the file size of your plugin its recommended to let spigot download the framework for you. This also removes the need to shade the framework into your plugin jar. ##### plugin.yml ```yaml libraries: - io.github.nottamion:commandclip:1.1.0 ``` ## Usage Documentation is currently being built at https://github.com/notTamion/CommandClip/wiki. For now just take a look at the example below. Here is an example utilizing basic features: ```java new BaseCommand("hello", this) .subCommand(new SubCommand("there") .executes((commandSender, s, strings) -> { commandSender.sendMessage(s + " there " + strings); }) .tabCompletes((commandSender, s, strings) -> strings.length == 1 ? Bukkit.getOnlinePlayers().stream().map(Player::getName).toList(): List.of()) .testArgs((commandSender, s, strings) -> { if (strings.length != 1) return "Please provide a valid playername"; if (!Bukkit.getOnlinePlayers().stream().map(player -> player.getName()).toList().contains(strings)) return "Player is not online"; return null; }) .permission("hello.there", "You aren't allowed to get a Welcome :(")) .alias("hi") .commandDescription("Welcomes you") .commandPermission("hello") .register(); ```
# CommandClip [!(https://img.shields.io/github/actions/workflow/status/notTamion/CommandClip/publish.yml)](https://github.com/notTamion/CommandClip/actions) [!(https://img.shields.io/maven-central/v/io.github.nottamion/commandclip)](https://central.sonatype.com/artifact/io.github.nottamion/commandclip/overview)
A Command Framework for Bukkit Plugins
## Dependency
##### Gradle ```kotlin repositories { mavenCentral() }
dependencies { compileOnly("io.github.nottamion:commandclip:1. 1. 0") } ```
##### Maven
```xml
To reduce the file size of your plugin its recommended to let spigot download the framework for you. This also removes the need to shade the framework into your plugin jar. ##### plugin.yml ```yaml libraries: - io.github.nottamion:commandclip:1. 1. 0 ```
Documentation is currently being built at https://github.com/notTamion/CommandClip/wiki.
For now just take a look at the example below.
Here is an example utilizing basic features: ```java new BaseCommand("hello", this) .subCommand(new SubCommand("there") .executes((commandSender, s, strings) -> { commandSender.sendMessage(s + " there " + strings); }) .tabCompletes((commandSender, s, strings) -> strings.length == 1 ? Bukkit.getOnlinePlayers().stream().map(Player::getName).toList(): List.of()) .testArgs((commandSender, s, strings) -> { if (strings.length != 1) return "Please provide a valid playername"; if (!Bukkit.getOnlinePlayers().stream().map(player -> player.getName()).toList().contains(strings)) return "Player is not online"; return null; }) .permission("hello.there", "You aren't allowed to get a Welcome :(")) .alias("hi") .commandDescription("Welcomes you") .commandPermission("hello") .register(); ```
📊 Mod Details
- Game
- Minecraft Plugins
- Author
- notTamion
- Version
- 1.1.0
- Downloads
- 287
- Endorsements
- 0
- Category
- bukkit
- Created
- 1/8/2024
- Updated
- 1/5/2024
- Game Versions
- 1.20.4
- Tags
- library
🔧 How to Install Minecraft Plugins Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Plugins →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Plugins commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Plugins versions does CommandClip support?
The author lists 1.20.4. Other versions may work but are untested by the author.
What is the latest version of CommandClip?
Version 1.1.0, published 2024-01-05 with 287 downloads recorded at the source.
Keep browsing — more Minecraft Plugins mods await