Denizen Script Commands


Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen.
Learn about how commands work in The Beginner's Guide.


Showing 1 out of 161 commands...
NameFakeSpawn
Syntaxfakespawn [<entity>] [<location>/cancel] (players:<player>|...) (d:<duration>{10s})
Short DescriptionMakes the player see a fake entity spawn that didn't actually happen.
Full DescriptionMakes the player see a fake entity spawn that didn't actually happen.
This means that the server will not track the entity, and players not included in the command will not see the entity.

You must specify an entity to spawn and a location to spawn it at, or to remove a fake entity, specify the fake entity object and 'cancel' instead of a location.

Optionally, specify a list of players to show the entity to. If unspecified, will default to the linked player.

Optionally, specify how long the fake entity should remain for. If unspecified, will default to 10 seconds.
After the duration is up, the entity will be removed from the player(s).
Related Tags<PlayerTag.fake_entities> Returns a list of fake entities the player can see, as set by Command:fakespawn. (...)
<entry[saveName].faked_entity> returns the spawned faked entity.
Usage Example
#Use to show a fake creeper in front of the attached player.
- fakespawn creeper <player.location.forward[5]>
Groupplayer
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/FakeSpawnCommand.java#L31