๐Ÿ“ฆ Setting Up Stockpiles For A New Era

Supply stockpiles spawn automatically in the Gank & Goon Zone during raids. This walkthrough details how to register new stockpile chest coordinates for a specific Era and test them.

Plugins & Tools Used

  • Raid World Stockpiles: Skript command /stockpileadmin
  • Configuration File: /plugins/Skript/scripts/raid/config/stockpiles.yml

Step 1: Placing the Spawn Chest

  1. Fly to the coordinate in the Gank & Goon Zone where you want the stockpile to spawn.
  2. Place a standard Minecraft Chest block at the coordinate.

Step 2: Registering the Location

  1. Look directly at the chest you just placed.
  2. Run the command:
    /stockpileadmin add <id> [era]
    • Example: /stockpileadmin add gank_hill_01 era2
    • Note: If you omit the [era] argument, it defaults to the current active era.

[!IMPORTANT]
When you run the add command, the chest block will instantly disappear (turn to air). This is normal! The script has saved the chest's coordinates and deleted the block so it is ready to be spawned dynamically.


Step 3: Verifying the Configuration File

Verify that the coordinates are saved in the YAML configuration:

  1. Open /plugins/Skript/scripts/raid/config/stockpiles.yml.
  2. Locate the era section you added it to (e.g. eras.era2.locations.gank_hill_01).
  3. Verify that the x, y, z, and world coordinates match your placed chest location.

Step 4: Visualizing Stockpile Locations

To confirm where stockpiles are configured without waiting for a spawn event:

  1. Run /stockpileadmin show.
    This spawns concrete indicator blocks at all registered, inactive stockpile locations.
  2. Check your newly registered coordinate to make sure the indicator block is present.
  3. Once verified, run /stockpileadmin hide to clean up the indicator blocks.

Step 5: Testing a Spawn Event

To test that your new location can spawn successfully:

  1. Enable automatic spawning or manually trigger a summon event:
    /stockpileadmin summon
  2. If chosen by the random selection, a stockpile chest will spawn at your coordinates, complete with the progress hologram.

Step 6: Removing or Clearing Locations

If you need to make changes or clean up:

  • Remove a Single Location:
    /stockpileadmin remove <id> [era]
    • Example: /stockpileadmin remove gank_hill_01 era2
  • Clear All Locations:
    /stockpileadmin clear [era]
    • Example: /stockpileadmin clear era2 (deletes all stockpile coordinates for era2)

[!TIP]
Use /stockpileadmin list to see a summary of all active and inactive stockpiles registered in the current active era.