97 posts
Posted 17 October 2013 - 05:56 AM
First off sorry if it's in the wrong area as I'm not sure where to ask this.
I was wondering how to keep a program from running on a server as I'm working on a server and want it protected before I make it public. I've searched google and maybe searched the wrong terms for nothing to show up so is there a possible way for the server or put something into the core cc file to stop a program from running if a computer or turtle tries to run it?
Edit: Oh and can you stop a turtle from placing certain blocks down like tnt for example?
7083 posts
Location
Tasmania (AU)
Posted 17 October 2013 - 07:10 AM
How would you stop people running certain scripts? You block scripts by name, they only need to change the names and they've bypassed you. You block scripts by hash, and any edits to the script contents will do the same. It should be possible to allow only certain scripts (via modification of the shell), but then you've greatly neutered ComputerCraft as no one may write their own code without every change being manually approved.
97 posts
Posted 17 October 2013 - 07:15 AM
ah ok well what about placing certain blocks? like is there a plugin or a .ini file I can place file that won't allow certain blocks to be placed?
As for the scrips there's really only one script I want stopped. I don't want to place it here as I don't want others to learn about it.
Even if searching for a key word in the script or something will help.
724 posts
Location
Kinda lost
Posted 17 October 2013 - 07:23 AM
Problem is that every script can be rewritten to look different but do exactly same thing.
97 posts
Posted 17 October 2013 - 07:25 AM
ya I guess your right hmm.
But still is there a way to stop it from placing a certain block?
321 posts
Location
Melbourne, Australia
Posted 17 October 2013 - 08:13 AM
I believe you can set permissions for the "[Computercraft]" player, but don't quote me on that ;)/>
97 posts
Posted 17 October 2013 - 10:40 PM
Oh sweet never thought of that. thanks. Also does it have to be opped or what's the benefits/downsides of it being opped as on every server I've played on it's been opped. tekkit and ftb alike lol.
162 posts
Posted 17 October 2013 - 10:46 PM
I believe you can set permissions for the "[Computercraft]" player, but don't quote me on that ;)/>
You can definitely do this.