main/Commands

The listed commands are linked to the "CaveOreVeins" permission, by default assigned to all the server admins. Most of them were introduced in version 2.0
Users can send commands to the plugin through either the server console or from inside the game.
All the coordinates represent world coordinates.
Commands are case insensitive.

  • CaveOreVeins_SpawnOre:
    Manually spawns ore in a world, taking into account your world/biome configurations.
    Please be aware that the plugin will clean up the ores specified in the config, but it won't clean up the special vein impurities, such as mob rooms or chests. Don't perform this operation more than twice on the same zone.
    Usage: /CaveOreVeins_SpawnOre worldName xCenter zCenter xLength zLength
  • CaveOreVeins_ReInitialize:
    Reinitializes the plugin, reloading the configuration file in the process. This could take up to several seconds if the plugin is processing other requests. This command will not clear down the world states though.
    Usage: /CaveOreVeins_Reinitialize
  • CaveOreVeins_ClearWorldRequestStates:
    Resets the state of the specified world, allowing the processed areas to be repopulated with ore.
    Be aware that when the plugin reprocesses the areas, the special vein impurities, such as mob rooms or chests, will not be cleaned up. Don't perform this operation more than twice.
    Usage: /CaveOreVeins_ClearWorldRequestStates worldName
  • CaveOreVeins_ClearAllRequestStates:
    Resets the state of all the worlds.
    Be aware that when the plugin reprocesses the areas, the special vein impurities, such as mob rooms or chests, will not be cleaned up. Don't perform this operation more than twice.
    Usage: /CaveOreVeins_ClearAllRequestStates
  • CaveOreVeins_CheckUpdates:
    Performs a check for the latest version of the plugin. This command is harmless, as the plugin will not update itself.
    Usage: /CaveOreVeins_CheckUpdates
  • CaveOreVeins_ClearOre:
    Clears a zone of ore and resets the state of the areas inside or overlapping the given coordinates.
    If you wish to just reset the state of the world(s), consider using CaveOreVeins_ClearWorldRequestStates or CaveOreVeins_ClearAllRequestStates instead.
    Be aware that only the ores in the config will be cleaned up, and not the special vein impurities, such as mob rooms or chests.
    Usage: /CaveOreVeins_ClearOre worldName xCenter zCenter xLength zLength
  • CaveOreVeins_MaterialPicker:
    Introduced in 3.0, it turns on or off the material picker mode, which allows for easier gathering of block definitions. After activating this mode, open your inventory, pick the item you're interested in, and drop it in the quick bar. Afterwards, clicking on it there will display a message with details on how to define it in the definitions file. Alternatively, right click on the blocks in the world. This way you can gather explicit information about how they were set up, which may expose different data values than the ones presented in the inventory. For example, in case of a torch, this is the only way of getting the data value for its orientation.
    Usage: /CaveOreVeins_MaterialPicker
  • CaveOreVeins_XRay:
    Not available when running under MCPC+ 1.4.7. and later versions.
    Added in 3.1, it turns on or off the X-Ray mode, useful for tweaking the configuration settings, without having to install client-side mods to see the results.
    Usage:
  1. Prepare a test server.
  2. Download the ProtocolLib plugin and drop it into the plugins folder, alongside with the CaveOreVeins plugin.
  3. Activate the fast rendering mode in the plugin configuration ( enableFastRenderingMode: true).
  4. Start the server and enter a world with your client.
  5. Switch the game into CREATIVE mode (/gamemode CREATIVE).
  6. Execute /CaveOreVeins_XRay
  7. The current area will be shown, using the glass material for the unnecessary blocks. For best results, switch to a texture pack where glass appears transparent, such as the Sphax PureBDcraft texture pack.
  8. I also recommend drinking a Night Potion after issuing the command, as the light won't be strong enough to penetrate deep down. You can find it in the inventory.
  9. Now you can tweak the configs at your heart's content, and actually see the results, without the pain of searching for a working X-Ray client mod.
  10. When you're happy with your work, simply copy the configuration file from the test server over to the live server. Don't forget the CaveOreVeins_Reinitialize command, which is required if you want the plugin to reload the changed configs.
    X-Ray with the plugin configured to process 5x5 wide areas