Wiki 9Minecraft Wiki 9Minecraft
Waystones Item Cost Extended Wiki › Guides › How to Set Multiple Item Costs for Waystone Teleportation

How to Set Multiple Item Costs for Waystone Teleportation

By default, Waystones teleportation fees are limited in how they charge items. With the Waystones Item Cost Extended Mod, you can combine multiple different item types into a single travel fee so players must carry more than one resource to warp.

Editing the Warp Requirements

This mod integrates directly into the standard Waystones warp requirement settings, allowing you to chain several item costs together for a single destination.

1. Open your Minecraft instance folder and locate the Waystones configuration file or your world warp settings.

2. Find the warpRequirements entry in the file.

3. Add multiple add_item_cost lines inside the bracketed list, specifying the item ID and the quantity needed for each.

For example, to charge a player three emeralds and two oak logs for a single teleport, format the entry like this:

`toml

warpRequirements = [

"add_item_cost(minecraft:emerald, 3)",

"add_item_cost(minecraft:oak_log, 2)"

]

`

Applying and Using the Rules

1. Save the configuration file after adding your desired items.

2. Restart your game client or server so the new travel rules take effect.

3. In-game, interact with a Waystone to open the destination menu. You will see both items listed as required for the warp.

4. Make sure all required items are in your inventory, then click the destination to teleport. The specified amounts of each item will be deducted automatically upon arrival.