Name | ShowFake |
Syntax | showfake [<material>|.../cancel] [<location>|...] (players:<player>|...) (d:<duration>{10s}) |
Short Description | Makes the player see a block change that didn't actually happen. |
Full Description | Makes the player see a block change that didn't actually happen.
This means that the server will still register the block being what it was before the command, and players not included in the command will still see the original block. You must specify a location (or list of locations), and a material (or list of materials). The material list does not have to be of the same size as the location list (materials will be repeated automatically). Optionally, specify a list of players to show the change to. If unspecified, will default to the linked player. Optionally, specify how long the fake block should remain for. If unspecified, will default to 10 seconds. After the duration is up, the block will revert back to whatever it really is (on the server-side). Note that while the player will see the block as though it were real, the server will have no knowledge of this. This means that if the player, for example, stands atop a fake block that the server sees as air, that player will be seen as flying. The reverse applies as well: if a player walks through fake air (that is actually solid), the server will see a player walking through walls. This can easily lead to players getting kicked by anti-cheat systems or similar results. You can enable the player to walk through fake air via PlayerTag.noclip. Note as well that some clientside block effects may occur (eg fake fire may appear momentarily to actually ignite things, but won't actually damage them). Warning: extremely complex chunks (those with a significant variety of block types in a small area) might not be able to retain fake blocks over time properly. |
Related Tags | <PlayerTag.fake_block_locations> Returns a list of locations that the player will see a fake block at, as set by showfake or connected commands.
<PlayerTag.fake_block[<location>]> Returns the fake material that the player will see at the input location, as set by showfake or connected commands. (...)
|
Usage Example |
|
Usage Example |
|
Usage Example |
|
Synonyms (Search Aid) | fakeblock |
Group | player |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/ShowFakeCommand.java#L31 |