So I'm using InvMenu to create a chest inventory and whenever I do this
$menu = InvMenu::create(InvMenu::TYPE_CHEST);
Basically I have a task which spawns human entities every 5 minutes in another world and I had its scale set to 2 "$human->setScale(2)". Whenever...
That’s what I’m doing right now but block break event gets the damage before breaking the block and not the damage after breaking the block so the...
Let's say I have this pickaxe that shows how many blocks you mined in the lore.
Now in order to update the block mined count, I would have to...
I'm trying to prevent players from pearling into a certain area. I'm using ProjectileHitEvent but cancelling it doesn't work. How can I prevent...
I meant before the item entities spawn in the first place when a block explodes some items will drop
How do I despawn Item entities immediately after an explosion has happened?
Ah RIP alright ty!
Pretty dumb question but how do I add content without a button
Whenever I do $form->setContent("Text"); without a button it says this
I've seen a...
Alright thanks to everyone who replied
Title says it all
Thanks but how do I set it to a specific Human Slapper?
This may sound like a dumb question but how do I add a form to a slapper or any action without having to add a command to it?
I managed to fix it for some reason the VPS text editor had its encoding set to 1252 (ANSI - Latin I) instead of UTF-8
ty for replying btw
[Server thread/CRITICAL]: InvalidArgumentException: "(EXCEPTION) in "pmsrc/src/pocketmine/Player" at line 3627
Failed to encode form JSON:...
Also, I’m not sure if I should put my VPS ip instead of local host but when I do it says “Connection refused”
Separate names with a comma.