Cuberite Forum
Command block - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: Command block (/thread-2101.html)



Command block - DrMasik - 09-07-2015

It is not worked for command and worked for pistons.
I'm try to use '/time day' and '/time night' but it's not worked. When I use game console - time changed.
Any help me?


RE: Command block - xoft - 09-07-2015

command blocks are not implemented yet.


RE: Command block - DrMasik - 09-07-2015

(09-07-2015, 02:43 PM)xoft Wrote: command blocks are not implemented yet.

Thank you.


RE: Command block - tigerw - 09-10-2015

But they really should be: https://github.com/cuberite/cuberite/blob/master/src/BlockEntities/CommandBlockEntity.cpp
Must be a bug.


RE: Command block - DrMasik - 09-10-2015

I'm last wrote in C++ 12 years ago. And do not think, I can fast understood how can help Sad (OpenGL)


RE: Command block - xoft - 09-10-2015

Judging from the source code, you need to use the commands without the leading slash ("time") and you need to specify the world (for now), because the commands are executed as if in the server console. That means that the command itself has no knowledge of the world in which it is executing. I believe the proper format for the console command is either "time day <worldname>" or "time set day <worldname>", try those.


RE: Command block - flow969 - 01-22-2016

The @p doesn't work in a command block Sad how to ?


RE: Command block - NiLSPACE - 01-22-2016

Any @ isn't implemented yet I'm afraid.


RE: Command block - flow969 - 01-22-2016

uh uh too bad Sad