List of server commands/entity

From Vintage Story Wiki
Revision as of 06:45, 8 August 2020 by Tyron (talk | contribs)
  • /entity [spawn|countbytype|removebytype|countbyclass|removebyclass|listnearest|debug]
    Spawn, remove, and count entities (item drops, creatures, etc).
    • /entity spawn [entitytype]
      Spawn an entity by type. Valid types can be found in the survival mod assets folder /entities.
    • /entity countbytype [entitytype]
      Count how many entities of a given type exist. entitytype can use wildcards, eg drifter-* counts drifters of any type.
    • /entity removebytype [entitytype]
      Remove all entities of a given type. entitytype can use wildcards.
    • /entity remove [entitytype]
      Short hand for /entity removebytype
    • /entity countbyclass [entityclass]
      Count how many entities of a given class, such as EntityItem or EntityAgent, exist.
    • /entity removebyclass [entityclass]
      Remove all entities of a given class.
    • /entity listnearest [x y z] (ver-range) (hor-range)
      Show a summary of all nearby entities at given range. If x/y/z coords are not supplied, the current player position is taken
    • /entity debug [0|1]
      Enable entity debug mode, this will send continous debug information to all connected clients, which are displayed above the entity if the client used the command .clientConfig showEntitydebuginfo 1