r/ComputerCraft • u/Admirable-Donkey-679 • Aug 13 '25
How do I enable this?
I'm trying to create a program in a server with this, but it says that I need http API. It says to enable it in the CC tweaked computer config but I'm not the host of the server. How do I enable this?
9
Upvotes
7
u/hobbitmax999 Aug 13 '25
Given your not the host your best bet is to find whoever is the host or another person moderating the server and talk to them
2
u/feldim2425 Aug 13 '25
Turns out full http access can be a bit dangerous on cloud hosted servers. I think this even led to a CVE on OpenComputers one time.
IIRC. CC:Tweaked disables the http api per default on multiplaye because of this. This can only be fixed by someone who can change the mod configs on the server.
1
u/FlightConscious9572 Aug 13 '25
There's a toml file somewhere in your world save, or in the server directory. It has cc or computercraft in the name probably. I don't know that you can enable it just for yourself
1
u/dirtywastegash Aug 15 '25
Are you the server admin? If not - you simply can't (and no sane person will turn this on for you) If you are - you should know how to edit a config.
1
u/Full_Conflict7132 Aug 15 '25
You gotta set http.enable to true in CC: Tweaked’s server config
1
u/No_Substance_9569 Aug 16 '25
HTTP is disabled by default, you have to ask the owner of the server to turn it on, and in case they dont want anything dangerous you can tell them about http rules to prevent anything malicious