VortexDevelopment Docs
Github
  • Welcome
  • Projects
    • VortexPrisonCore
      • Commands and Permissions
      • AutoBlock
      • AutoSell
      • Backpack
      • Bombs
      • Boosters
      • Collections
      • Vouchers
      • Economy
      • Mines
      • Pickaxe
      • Ranks
      • Mine Treasures
      • Tips
      • Developer API
  • For Developers
    • VInject
    • VInject Intellij Plugin
    • VortexCore
Powered by GitBook
On this page
  1. Projects
  2. VortexPrisonCore

AutoBlock

The AutoBlock System allows players to automatically convert certain materials into their block form. This feature helps in inventory management and makes storage more efficient.

Players with the permission vortexprisoncore.autoblock can use /autoblock on/off to automatically compress mined resources into block form.

Configuration

AutoBlocks:
  - "COAL:COAL_BLOCK:9"
  - "RAW_COPPER:RAW_COPPER_BLOCK:9"
  - "RAW_IRON:RAW_IRON_BLOCK:9"
  - "RAW_GOLD:RAW_GOLD_BLOCK:9"
  - "COPPER_INGOT:COPPER_BLOCK:9"
  - "IRON_INGOT:IRON_BLOCK:9"
  - "GOLD_INGOT:GOLD_BLOCK:9"
  - "DIAMOND:DIAMOND_BLOCK:9"
  - "EMERALD:EMERALD_BLOCK:9"
  - "REDSTONE:REDSTONE_BLOCK:9"
  - "LAPIS_LAZULI:LAPIS_BLOCK:9"

Explanation

Each entry follows the format: MATERIAL_FROM:MATERIAL_TO:AMOUNT

  • MATERIAL_FROM: The item that will be converted.

  • MATERIAL_TO: The block it will be converted into.

  • AMOUNT: The number of MATERIAL_FROM items required to create one MATERIAL_TO block.

Example

- "DIAMOND:DIAMOND_BLOCK:9"

This means 9 Diamonds will automatically convert into 1 Diamond Block.

Customization

You can add more materials following the same format to allow additional conversions.

PreviousCommands and PermissionsNextAutoSell

Last updated 2 months ago