Skip to content

Commands

Samp edited this page Dec 2, 2026 · 1 revision

SampPhysics Commands (1.0.0)

Everything in SampPhysics lives under /sampphysics. It doesn't touch or add anything to vanilla commands.

Permissions: /sampphysics, /sampphysics status, and /sampphysics help can be run by anyone. Everything else needs operator level 2.


Pod Selectors

Anywhere a command asks for <pod> or <pods>, you can pass either a pod's UUID or a selector:

Selector Picks
@e Every loaded pod
@n The closest pod
@r A random pod
@v The pod you're looking at
@l The newest pod
@t The pod you're standing on
@i The pod this spot belongs to

You can narrow a selector down with brackets [...]:

Option What it filters Example
distance= Distance in blocks @e[distance=..20]
mass= Weight of the pod @e[mass=100..]
speed= Speed in blocks per second @e[speed=1..]
name= The pod's name @e[name="My Ship"]
sort= nearest or furthest @e[sort=nearest,limit=3]
limit= Max number of pods to pick (whole number above 0) @e[limit=1]

Each option can only be used once per selector. If a command only accepts a single <pod> (like info or goto), use a single-pod selector like @n or @v, or add limit=1.


Status & Finding Pods

/sampphysics or /sampphysics status

Shows the SampPhysics version, which native physics library loaded, and how many pods are loaded in your current dimension.

/sampphysics help

Lists all commands and selector syntax right in chat.

/sampphysics list [<pods>]

Lists loaded pods, nearest first, with their coordinates, distance, and weight.

/sampphysics list
/sampphysics list @e[distance=..50,mass=10..]

/sampphysics info <pod>

Shows one pod's UUID (click to copy), position, speed, block size, weight, and where its blocks live in zone space.

/sampphysics info @v

/sampphysics parked

Lists pods waiting in unloaded chunks, nearest first, with clickable coordinates to teleport there. Super handy when a pod drifts off and goes missing!


Moving, Naming & Managing Pods

/sampphysics goto <pod>

Teleports you to a pod.

/sampphysics goto @n

/sampphysics bring <pod>

Brings a pod right in front of you.

/sampphysics bring @n

/sampphysics move <pod> <position>

Moves a pod to the given coordinates.

/sampphysics move @v ~ ~10 ~

/sampphysics stop <pods>

Stops matching pods dead in their tracks.

/sampphysics stop @e[speed=5..]

/sampphysics name <pod> [set <name> | clear]

Shows, sets, or clears a pod's name.

/sampphysics name @v set "Coaster 1"
/sampphysics name @v clear

/sampphysics keeploaded <pods> [on | off]

Keeps pods loaded and moving even when nobody is nearby (and remembers across restarts). Use off to let them unload normally again.

/sampphysics keeploaded @v on
/sampphysics keeploaded @e off

/sampphysics remove <pods> [drop]

Removes matching pods. Add drop at the end if you want their blocks to drop as items.

/sampphysics remove @v
/sampphysics remove @e[distance=..10] drop

Assembling Pods

/sampphysics assemble connected <block> [<most>]

Turns all connected blocks starting at <block> into a pod. Optionally pass <most> to cap how many blocks it can grab.

/sampphysics assemble connected ~ ~-1 ~
/sampphysics assemble connected 10 64 -20 500

/sampphysics assemble box <from> <to>

Turns every block inside the box from <from> to <to> into a pod.

/sampphysics assemble box ~-2 ~ ~-2 ~2 ~3 ~2

Tuning Block Physics In-Game

/sampphysics block <block> [set <value> <amount> | reset [<value>]]

Shows a block's current physics values, or changes/resets them for this world. Changes save to sampphysics/block_changes.json inside your world folder and apply right away.

Available values and limits:

  • weight: 0 to 10000
  • fill: 0.01 to 1
  • bounce: 0 to 1
  • grip: 0 to 10
  • shatters: true or false
  • floats_as: floating material ID (set this before setting float_share)
  • float_share: 0 to 1

Examples:

/sampphysics block minecraft:oak_planks
/sampphysics block minecraft:oak_planks set weight 1.5
/sampphysics block minecraft:slime_block set bounce 0.9
/sampphysics block minecraft:oak_planks reset weight
/sampphysics block minecraft:oak_planks reset

Pod Data & Running Commands

/sampphysics data get|set|merge|remove <pod> ...

Reads or edits a pod's extra saved NBT data. data get with a path returns the value as the command result, so it works with vanilla /execute store.

/sampphysics data get @v
/sampphysics data merge @v {customFlag:1b}

/sampphysics run in|out|center <pods> <command>

Runs any command inside a pod's zone (in), back out in world space (out), or at the pod's center (center).

/sampphysics run center @v particle minecraft:flame ~ ~1 ~ 0.2 0.2 0.2 0.01 10

Update Check

/sampphysics updates [on | off]

Shows or changes whether SampPhysics checks GitHub for new versions on startup (off by default!). When running standalone, this only affects your game; on a dedicated server, run sampphysics updates on in the console or set checkForUpdates = true in config/sampphysics.properties.


Punch Attributes

How hard players push pods when hitting them is controlled by two vanilla attributes you can change with /attribute:

  • sampphysics:punch_strength
  • sampphysics:punch_cooldown
/attribute @s sampphysics:punch_strength base set 2.0

If you run into any command bugs or weirdness, open an issue on GitHub! :D