I wanna update block temporarily without saving (visual), for example: block A transition in block B about 10 seconds. And can this block be different for each player?
theres a plugin, that changes a wools color/basically block every random time interval, try to find it and study the source
Use Level::sendBlocks(). It will send some UpdateBlockPacket to the player without modifying the data known by the Level. In other words, PocketMine knows nothing about what blocks you have sent; it just sends them. Note that anti-hack code may be triggered because nothing else on the server is notified of these block changes you make.
Somehow with LDX's Land Protect, you can place a block client side walk on it, but to everyone else your floating in gm 0. And the anti cheat doesn't get triggered.
Well said. I forgot to mention that if the player can get on those blocks that they would probably get kicked because they are basically flying in the eyes of anti-cheat plugins.
thx, work fine for me https://github.com/pmmp/PocketMine-MP/blob/master/src/pocketmine/level/Level.php#L795 Lets try - https://github.com/AndroidHackPro/P...d636/ToyBox/src/aliuly/toybox/MagicCarpet.php