76 posts
Posted 24 May 2014 - 04:42 PM
I'm trying to use a commandblock to run "region addmember…" commands, but nothing happens, the command is changed on the block when i use setCommand(bla) but then nothing, there is no indication that the command has worked or not and the region file does not update.
Im wondering if the problem is the fact that the commandblock is not considered a player
If anyone has any suggestions or even better a plugin for CC, that would be amazing.
Cheers
570 posts
Posted 24 May 2014 - 06:16 PM
You're not giving enough information. We can only guess.
Are you calling runCommand()? Are command blocks even enabled?
259 posts
Posted 25 May 2014 - 01:31 AM
You have to go into the computercraft.cfg file and enable command blocks. Then use the
command block api to use it.
76 posts
Posted 25 May 2014 - 01:49 AM
Command blocks are enabled on both server.properties and CC.cfg, I use command blocks to run other commands just fine, its just the region commands that I am having difficulty with.
259 posts
Posted 25 May 2014 - 02:09 AM
And you are using runCommand() right?
7508 posts
Location
Australia
Posted 25 May 2014 - 02:22 AM
Command blocks are enabled on both server.properties and CC.cfg, I use command blocks to run other commands just fine, its just the region commands that I am having difficulty with.
please post the code you're trying to use
76 posts
Posted 25 May 2014 - 02:47 PM
Command blocks are enabled on both server.properties and CC.cfg, I use command blocks to run other commands just fine, its just the region commands that I am having difficulty with.
please post the code you're trying to use
http://pastebin.com/3KitN41x