3x3 Pickaxe (Skript)
This Skript script adds a special pickaxe that breaks blocks in a 3x3 area, making mining more efficient and faster.
Prerequisites:
- Bukkit/Spigot/Paper server
- Skript
- skBee (for advanced features)
- skReflect (for advanced features)
Features:
- 3x3 pickaxe that breaks blocks in a 3x3 area
- Compatible with many block types, including stone and ores
- Commands to obtain and reactivate the pickaxe
Commands and Permissions:
- /givehammer: Gives a 3x3 pickaxe to the player Permission: pioche3x3.give
- /items3x3: Reactivates the 3x3 pickaxe if the player is holding one Permission: pioche3x3.reactivate Note: This command can also be used if the pickaxe stops working after a server restart
Usage:
- Get a 3x3 pickaxe with the /givehammer command (requires permission)
- Use the pickaxe to mine normally, it will automatically break blocks in a 3x3 area
- If the pickaxe loses its enchantment or stops working after a server restart, use /items3x3 while holding it to reactivate it (requires permission)
Compatible blocks:
The 3x3 pickaxe works on many types of blocks, including:
- Stone, cobblestone, granite, diorite, andesite, etc.
- All types of ores (coal, iron, gold, diamond, etc.)
- Netherrack, basalt, prismarine, and more
Installation:
- Make sure you have Skript, skBee, and skReflect installed on your server
- Download the Skript file
- Place it in the plugins/Skript/scripts folder of your server
- Reload the scripts with /sk reload all or restart the server
Configuration:
No configuration is necessary. The script works directly after installation.
Permission management:
Make sure to grant appropriate permissions to players or groups who should have access to the commands:
- pioche3x3.give for the /givehammer command
- pioche3x3.reactivate for the /items3x3 command
You can use a permission management plugin like LuckPerms to configure these permissions.
warnings: Sorry for my poor English. Please note that the Skript is in French.
Upcoming Features:
- Customizable Block List:
- /hammer add: Add new blocks to the breakable list
- /hammer remove: Remove blocks from the breakable list
- /hammer list: View the current list of breakable blocks
- Improved Performance:
- Light cleanup function to manage dropped items and reduce lag
- Automatic cleanup timer based on player activity
- Enhanced Command System:
- Tab completion for the /hammer command
- Permission-based access to hammer management commands
- Dynamic Block Type Detection:
- Ability to work with all block types in the game
- Optimized Breaking Algorithm:
- Improved 3x3 breaking function for better performance
These upcoming features will provide more flexibility and control over the 3x3 pickaxe functionality, as well as improve overall performance and user experience.
Support:
If you encounter any problems or have suggestions, feel free to leave a comment or contact me directly.
Enjoy your new super-efficient pickaxe!