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!
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
|
R
Bugfixes
|
9h ago | 1 | |||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
|
R
Bugfixes
|
9h ago | 1 | |||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h ago | 1 | ||||
| 9h 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!
For more information check out the wiki
https://panel.masecla.dev/wiki/General%20Options/Messages%20File
Specifically, this brings a performance increase in all versions between 1.12 and 1.16
Specifically, this brings a performance increase in all versions between 1.12 and 1.16
This has been thoroughly tested, however if any issue show up, please let us know!
We've also updated the definitions for items to 1.20 so it should now be 100% supported
This update brings full compatibility with all the features that this brings.
Please join our discord at https://discord.gg/FdMjWSP to report any issues you might have with any of the plugins in 1.20
Previously PAPI was only being applied on player messages, and should now be also applied on commands being run.
A bug which causes configs to sometimes restart on server reload has now been fixed.
This update brings a full patch to all of it!
This update brings a full patch as well as adding years as a potential time unit.
- Fixed an issue where the pointer file would be interpreted as an old config for migration
- All plugins now have a messages.yml file which points to the correct location
- Fixed an issue with skull serialization