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 179 commands...
NameFakeSpawn
Syntaxfakespawn [<entity>] [<location>/cancel] (players:<player>|...) (duration:<duration>) (mount_to:<entity>)
Short DescriptionMakes players see a fake entity spawn that didn't actually happen.
Full DescriptionMakes players see a fake entity spawn that didn't actually happen.
This means that the server will not track the entity, and players not shown the entity will not see it.

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, the entity will be shown to every player in the world it is spawned in, including any player that joins the server or enters that world while it is still around.

Optionally, specify how long the fake entity should remain for.
After the duration is up, the entity will be removed from the player(s).
If unspecified, the entity will remain until it is cancelled or the server stops.

Optionally, specify an entity to mount the fake entity to via mount_to:<entity>.
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 linked player, to that player alone.
- fakespawn creeper <player.location.forward[5]> players:<player>
Usage Example
# Use to show a fake creeper to everyone in the world it is spawned in.
- fakespawn creeper <player.location.forward[5]>
Usage Example
# Use to spawn and mount a fake armor stand to the player.
- fakespawn armor_stand <player.location> mount_to:<player>
Groupplayer
Sourcehttps://github.com/MINEZ/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/FakeSpawnCommand.java#L33