List of client commands: Difference between revisions

From Vintage Story Wiki
Split up and improved documentation of the /entity command.
No edit summary
(Split up and improved documentation of the /entity command.)
Line 149: Line 149:


<li>
<li>
<strong>/entity [spawn|countbytype|removebytype|countbyclass|removebyclass|listnearest] (entitycode)</strong><br/>
<strong>/entity</strong><br/>
Allows you to spawn, count or remove multiple entities. E.g. /entity removebytype drifter, or /entity spawn chicken-hen, or /entity removebyclass entityitem<br/>
Add, remove, and count (item drops, creatures, etc).<br/>
&nbsp;
<ul>
                        <li>
<strong>/entity spawn (entitytype)</strong><br/>
Spawn an entity by type.<br/>
The valid type names (as of 1.5.0.3) are:<br/>
<code>wolf-male</code>, <code>wolf-female</code>, <code>sheep-bighorn-male</code>, <code>sheep-bighorn-female</code>, <code>sheep-bighorn-lamb</code>, <code>pig-wild-piglet</code>, <code>pig-wild-male</code>, <code>pig-wild-female</code>, <code>drifter</code>, <code>strawdummy</code>, <code>chicken-hen</code>, <code>chicken-baby</code>, <code>chicken-rooster</code>
</li>
                        <li>
<strong>/entity countbytype (entitytype)</strong><br/>
Count how many entities of a given type exist.
</li>
                        <li>
<strong>/entity removebytype (entitytype)</strong><br/>
Remove all entities of a given type.
</li>
                        <li>
<strong>/entity countbyclass (entityclass)</strong><br/>
Count how many entities of a given class (such as <code>entityitem</code> or <code>entityagent</code>) exist.
</li>
                        <li>
<strong>/entity removebyclass (entityclass)</strong><br/>
Remove all entities of a given class.
</li>
                        <li>
<strong>/entity listnearest [x y z] (ver-range) (hor-range)</strong><br/>
This command exists, but is not completely implemented as of 1.5.0.3
</li>
</ul>
</li>
</li>


94

edits