How can I make something like the vanilla /fill command inside my plugin?
#2
Hi, welcome to the forum!

We've got a page explaining how to write your first Cuberite plugin here: https://api.cuberite.org/Writing-a-Cuberite-plugin.html Perhaps that will clear things up.

I'm not sure what /fill does, but if you want to change blocks the cWorld:SetBlock is a way to do it. There is also cBlockArea, but that's a bit more advanced.

I believe commandblocks can only execute console commands in Cuberite. They need a pretty large rewrite to become useable.
Reply
Thanks given by:


Messages In This Thread
RE: How can I make something like the vanilla /fill command inside my plugin? - by NiLSPACE - 02-18-2021, 07:28 PM



Users browsing this thread: 1 Guest(s)