![[IMG]](/proxy/image?url=https%3A%2F%2Fi.imgur.com%2Frf9COjh.png)
Allows you to play custom sounds when players craft specific items. With CraftSound, you can add a new level of immersion to your gameplay and create unique audio cues to accompany your custom recipes. Simply define the sound mappings in the plugin's configuration file and CraftSound will handle the rest.
To install the plugin, download the jar file and place it in your server's plugin folder. Then, restart the server to load the plugin.
Commands
- /craftsoundreload (operators only) - Reloads the configuration of the plugin.
- /craftsoundtoggle (craftsound.toggle) - Allows players to toggle the sound effect on or off.
Config.yml
Code (Text):
# Set this to true if you want messages to be printed in the console when a player crafts an item
console-message: false
# Set the master volume of all sounds (from 0 to 1)
master-volume: 0.5
# Map item material to sound effect (item: sound volume pitch)
sound-mappings:
DIAMOND_SWORD:
sound: ENTITY_PLAYER_ATTACK_SWEEP
volume: 0.8
pitch: 1.2
DIAMOND_PICKAXE:
sound: BLOCK_ANVIL_USE
volume: 0.5
pitch: 0.5
DIAMOND_AXE:
sound: ENTITY_PLAYER_ATTACK_SWEEP
volume: 1.0
pitch: 0.8
I would greatly appreciate your valuable feedback, suggestions, or bug reports in the thread. Don't hesitate to share your thoughts and help me improve the plugin!