Features
- Ability to compress blocks
- Smelting compressed blocks will give 9x more items
Commands & Permissions
Commands:
- /cp - Shows the list of subcommands
- /cp list - Shows the list of compressible blocks
- /cp reload - Reloads the plugin
Permissions:
- cpblocks.comp - Allows the player to run /cp
- cpblocks.list - Allows the player to run /cp list
- cpblocks.admin - Allows the player to run /cp reload
Configuration
Config.yml:
Code (YAML):
#Config.yml - Compressible Blocks
console-prefix
:
"[CompressibleBlocks] "
# Compressed block ItemStack format
compressed-block:
name
:
"&9Compressed %material_type% Block"
lore
:
-
"&7This is a compressed &e%material_type% &7block"
-
"&7Place this in a crafting table to get 9 &e%material_type% &7blocks"
#list of materials that can be compressed
#uses the spigot class Material here is a list https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
compressible-blocks
:
- STONE
- BRICKS
Language.yml:
Code (YAML):
#Language.yml - CompressibleBlocks
messages:
message-prefix
:
"&c[&6CompressibleBlocks&c] "
help
:
-
"&8&m---------------------------------"
-
"&e&lCompressibleBlocks"
-
"&7▪ &e/cp &7- Displays this list"
-
"&7▪ &e/cp list &7- Opens the compressible blocks list"
-
"&8&m---------------------------------"
no-permission
:
"&cYou don't have the permission needed to execute that command."
reloading-plugin
:
"&ePlugin reloaded successfully!"
page-error
:
"&cThere is no next/previous page."
opening-page
:
"&eOpening the compressible blocks list!"
sounds:
click-sound
: CLICK
Support & Contact
Found a bug? Don't leave a bad review, report it
here instead!
Need any help? Contact me on discord
Gio#0404