This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
baselsayeh's profile picture

commands execvdoes not work in server

Started by baselsayeh, 24 April 2015 - 09:06 AM
baselsayeh #1
Posted 24 April 2015 - 11:06 AM
hello
im trying out commands.exec
commands.exec('say test')
but nothing work
false
{
"UNKNOWN COMMAND, TRY /HELP
error message
but running it in local save does work
with same mods

server:cauldron-1.7.10-1.1370.01.0-server
enable-command-block=true
computercraft 1.73
HPWebcamAble #2
Posted 25 April 2015 - 01:01 AM
Make sure the SERVER's config has commond blocks enabled


Does this work?

commands.exec("help")
Edited on 24 April 2015 - 11:02 PM
Bomb Bloke #3
Posted 25 April 2015 - 01:30 AM
I don't believe the command block config affects command computers in any way. I could be wrong on that, but if it did, then odds are you wouldn't be able to place the computer in the first place.

I think it most likely that Cauldron is the problem here. Anything that alters how MineCraft's commands system works stands to interfere with Command Computers.

What does commands.list() return?
baselsayeh #4
Posted 25 April 2015 - 06:00 AM
Bomb Bloke #5
Posted 25 April 2015 - 07:24 AM
Looks like you should be able to get by with tellraw.
HPWebcamAble #6
Posted 25 April 2015 - 07:35 AM
Guide on how to use tellraw, just in case:

http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/351959-1-8-raw-json-text-examples-for-tellraw-title-books