Full Transcript
Command Items
Bind commands to items. This time, done right.
COMMAND BINDING Simple command binding using commands and snappy configuration!
The plugin allows you to define commands which are run when a player right clicks an item! Absolutely zero fuss.
Simple configuration comes straight from the box! After all, we're just binding commands to items. No complex config needed!
CUSTOMIZABLE
This plugin is customizable to the max. We mean it.
This plugin integrates the fully customizable messages protocol. Send clickable components, make chat menus, send URL's and more!
How to Install Command Items (Plugin)
Command Items by masecla22 is verified for Bukkit, Paper, Purpur, Spigot across Minecraft versions 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1 (latest release: 1.19.1, file size: 1.5 MB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1) and platform (Bukkit, Paper, Purpur, Spigot).
- Make sure you have the compatible loader or environment installed for Bukkit, Paper, Purpur, Spigot.
- Move the downloaded Command Items file into your Minecraft
.minecraft/pluginsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 22 | ||||
| 2mo ago | 11 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 3 | ||||
|
R
Bugfixes
|
2mo ago | 3 | |||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
|
R
Bugfixes
|
2mo ago | 1 | |||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 |
Here's what an item looks like now
[code]
items:
basic_item:
consume: true # If the item should be consumed when used
event-cancel: true # If the event should be cancelled when used (e.g. right-clicking a block)
# This is the list of allowed clicks. The allowed options are:
# RIGHT_CLICK_AIR, RIGHT_CLICK_BLOCK, LEFT_CLICK_AIR, LEFT_CLICK_BLOCK, SHIFT_RIGHT_CLICK_AIR, SHIFT_RIGHT_CLICK_BLOCK, SHIFT_LEFT_CLICK_AIR, SHIFT_LEFT_CLICK_BLOCK, ALL
allowed-clicks:
- RIGHT_CLICK_AIR
- RIGHT_CLICK_BLOCK
- LEFT_CLICK_AIR
- LEFT_CLICK_BLOCK
- SHIFT_RIGHT_CLICK_AIR
- SHIFT_RIGHT_CLICK_BLOCK
- SHIFT_LEFT_CLICK_AIR
- SHIFT_LEFT_CLICK_BLOCK
- ALL
# permission: "somepermission.for.item" # The permission required to use the item
item:
amount: 1 # The amount of the item
type: RED_BED
name: "&cSimple Test Item"
lore:
- ""
- "&7Click me to run"
# custom-model-data: 1234 # The custom model data of the item
commands:
# forceOp: false # If the player should be opped when the command is executed
byplayer:
- "say Hello from CommandItems!"
- "give %player% diamond 1"
As always, and especially now as 1.20.6 changed a lot of things, please join the discord and let us know if there are any issues!
This also fixes a small issue in the plugin with regards to how items were being built.
This update removes a small field used for reflection which is no longer used by the API.
- Fixed titlebars not being properly translated in lower versions
- Fixed particles not working in 1.9
With that, full 1.20.4 support should be here!
As always, if anything goes wrong, let us know through the Discord server!