Warp System

Create named teleport points for quick navigation around your world or server.

What is a Warp?

Warps are named locations that players can instantly teleport to. Perfect for:

Basic Warp Setup

Method 1: Simple Aliases (Quick)

The fastest way to create warps:

/addcommand add spawn tp ${player} 0 65 0
/addcommand add hub tp ${player} 500 100 -500
/addcommand add arena tp ${player} 1000 65 1000
/addcommand add shop tp ${player} -500 65 250

Method 2: Using Custom Syntax (Flexible)

For a more elegant system, use custom syntax patterns:

Edit config/CommandMaker/syntax.json:

{
  "warp": {
    "pattern": "/warp <name>",
    "description": "Teleport to a named warp point"
  },
  "setwarp": {
    "pattern": "/setwarp <name>",
    "description": "Create a warp at your current location"
  }
}

Edit config/CommandMaker/aliases.json:

{
  "spawn": "tp ${player} 0 65 0",
  "hub": "tp ${player} 500 100 -500",
  "arena": "tp ${player} 1000 65 1000",
  "shop": "tp ${player} -500 65 250"
}

Advanced: Warp with Particles

Make warping more visually impressive:

{
  "spawn": "particle end_rod ~ ~ ~ 0.5 0.5 0.5 0.1 50 normal && tp ${player} 0 65 0 && particle end_rod ~ ~ ~ 0.5 0.5 0.5 0.1 50 normal"
}

Alternative Particle Effects

Particle Effect Use Case
end_rod Purple rods Mystical warping
flame Fire/flames Hot lava world
white_smoke Smoke puff Magical disappear
soul_fire_flame Blue flames Nether theme
enchant Magic sparkles Enchanted feel

Warp with Sound Effects

{
  "spawn": "playsound entity.enderman.teleport master @s && tp ${player} 0 65 0"
}

Popular Teleport Sounds

Complete Warp System Example

{
  "spawn": "say Warping to Spawn... && playsound entity.enderman.teleport master @s && particle end_rod ~ ~ ~ 0.5 0.5 0.5 0.1 30 && tp ${player} 0 65 0 && particle end_rod ~ ~ ~ 0.5 0.5 0.5 0.1 30",
  "hub": "say Warping to Hub... && playsound entity.enderman.teleport master @s && tp ${player} 500 100 -500",
  "arena": "say Warping to Arena... && playsound entity.enderman.teleport master @s && tp ${player} 1000 65 1000"
}

Warp Permissions

Restrict warps to specific players:

{
  "vip_area": "execute if entity @s[name=VIPPlayer] run tp ${player} 2000 100 2000 || say You don't have permission to warp here"
}

List Warps Command

Create a command that lists available warps:

/addcommand add warps say Available warps: spawn, hub, arena, shop

Warp Descriptions

Give players information about warps:

/addcommand add spawn say [SPAWN] Main spawn point for all players
/addcommand add hub say [HUB] Central hub world with games and shops
/addcommand add arena say [ARENA] PvP fighting arena for battles

Multi-World Warping

For servers with multiple worlds:

{
  "spawn_nether": "execute in the_nether run tp ${player} 0 65 0",
  "spawn_end": "execute in the_end run tp ${player} 0 65 0"
}

Safe Warp (Checks for blocks)

Advanced: Teleport to a safe location near the warp:

{
  "spawn": "execute at 0 65 0 unless block ~ ~ ~ #replaceable unless block ~ ~1 ~ #replaceable run tp ${player} ~1 65 ~ || tp ${player} 0 65 0"
}

💡 Pro Tip

Use /addcommand reload to instantly apply changes without restarting!

Warp System Ideas