09-08-2014, 12:07 AM
Pages: 1 2
09-08-2014, 12:10 AM
Change the CommandBlocksEnabled setting under the Mechanics group of your world folder's world.ini configuration file.
09-08-2014, 12:11 AM
Do command blocks work, like in vanilla, or can they just run commands with no special options?
09-08-2014, 12:12 AM
Only console commands. No /testfor.
09-08-2014, 01:10 AM
The command blocks currently execute only console commands, and there's a blacklist of those that cannot be executed (such as "stop", "restart", etc.). We will need to rework them from the ground up, they need a completely new infrastructure, so you can consider them currently broken.
09-08-2014, 05:49 AM
And for the /testfor command they have to work with comperators .. which don't work either
01-08-2015, 10:58 AM
(09-08-2014, 12:10 AM)tigerw Wrote: [ -> ]Change the CommandBlocksEnabled setting under the Mechanics group of your world folder's world.ini configuration file.
this did not work for me.... YES i DID restart the server...

01-08-2015, 09:40 PM
I have a suggesttion for the CommandBlocks. What if we write a recursive parser for them with grammar and semantic? Because that would be an awesome thing to do and would speed up the further development process of the CommandBlocks, too.
01-09-2015, 12:18 AM
Is there a grammar to command blocks? It felt more like batch files to me.
01-09-2015, 12:42 AM
No, command blocks contain a single command line. But there are special commands such as /summon which require a special parser to work properly. The scanner has to look for the ~ (Tilda) symbols and other things like the .riding suffix of the command and convert all these into tokens. After that the parser has to interpret all the tokens.
Pages: 1 2