-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the FastCrafting plugin wiki!
The only commands in this plugin are:
Shows plugin version.
Permission: fastcrafting.commands.info
(default: everyone)
Reloads the config.
Permission: fastcrafting.commands.reload
(default: op)
On the issues page on GitHub.
If you know Kotlin, you can help to fix bugs or add new features by creating PR-s.
In Minecraft, the client handles the creative directory and not the server.
Because of that, the InventoryClickEvent.isRightClick()
method doesn't work, so my plugin can't recognise it.
Default values are:
listeners:
inventory_opened: false
item_crafted: true
player_joined: false
item_clicked: true
item_pickup: true
use_nbt: true #since 1.1
messages:
info: |-
&7FastCrafting {VERSION} installed.
&9/fastcrafting [info] &r— shows this help message
&9/fastcrafting reload &r— reloads config
config_reloaded: "&aConfig reloaded!"
no_permission: "&cYou have no permission to run this command"
workbench_lore: "&7Click with right mouse button to open."
Specifies what events to listen to when changing lore to workbench_lore
.
inventory_opened
— runs when a container inventory is opened.
Includes chest, workbench, furnace, etc., but doesn't include player inventory.
It iterates through all items and changes the lore when necessary so it may be laggy if there are many players.
item_crafted
— runs when a workbench is crafted.
Doesn't scan all the items, just checks if the result is a workbench.
player_joined
— runs when a player joins the server, on their inventory.
item_clicked
— runs when an item is clicked in an inventory. Includes all types of clicks.
item_pickup
— runs when a workbench is picked up, e.g. after it drops from a broken block.
By default, the plugin uses NBT to allow e.g. changing the lore after some workbenches already have it.
Since the 1.1 update, it's possible to disable NBT tags. If the lore is kept the same, it should work fine, but if you're planning to change it, be aware that changing this option to false
may break older workbenches behavior. In that case, placing the workbench in the world and breaking it should repair it.
All the text shown by the plugin. Supports color codes.
info
— when /fastcrafting info
command is executed.
config_reloaded
— after the config is reloaded by /fastcrafting reload
no_permission
— if the player doesn't have the necessary permission to run a command
workbench_lore
— the lore added to the workbench. If empty, the lore will be removed.