ty
This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
how to enable the function api http on a tekkit server?
Started by Mars, 09 January 2013 - 01:55 AMPosted 09 January 2013 - 02:55 AM
can some explain to me how to activate the function api http on a server step by step to be able to use the command pastebin plz?
ty
ty
Posted 09 January 2013 - 03:08 AM
Single player:
[indent=1]Windows:[/indent]
[indent=1]1. Windows Key + R (run) and type '%appdata%' and hit enter.[/indent]
[indent=1]2. Locate and open the folder called ".techniclauncher"[/indent]
[indent=1]3. Open the tekkit folder (in my case it's tekkitlite because that's the one I have)[/indent]
[indent=1]e.g. C:\Users\name\AppData\Roaming\.techniclauncher\tekkitlite[/indent]
[indent=1]4. In there, open the config folder and open ComputerCraft.cfg[/indent]
[indent=1]Look for this:[/indent]
[indent=1]
[indent=1]Change false to true[/indent]
I don't know about macs if you're using a mac.
Server:
[indent=1]1. Locate the Tekkit server folder - Example: (C:\Users\name\Documents\Game Stuff\Minecraft\Tekkit\Tekkit_Lite_Server_0.5.1\)[/indent]
[indent=1]2. Open the 'config' folder.[/indent]
[indent=1]3. Open ComputerCraft.cfg[/indent]
[indent=1]4. Look for this:[/indent]
[indent=1]
[indent=1]Change false to true.[/indent]
[indent=1]Windows:[/indent]
[indent=1]1. Windows Key + R (run) and type '%appdata%' and hit enter.[/indent]
[indent=1]2. Locate and open the folder called ".techniclauncher"[/indent]
[indent=1]3. Open the tekkit folder (in my case it's tekkitlite because that's the one I have)[/indent]
[indent=1]e.g. C:\Users\name\AppData\Roaming\.techniclauncher\tekkitlite[/indent]
[indent=1]4. In there, open the config folder and open ComputerCraft.cfg[/indent]
[indent=1]Look for this:[/indent]
[indent=1]
####################
# enableapi_http
####################
enableapi_http {
B:general=false
}
[/indent][indent=1]Change false to true[/indent]
I don't know about macs if you're using a mac.
Server:
[indent=1]1. Locate the Tekkit server folder - Example: (C:\Users\name\Documents\Game Stuff\Minecraft\Tekkit\Tekkit_Lite_Server_0.5.1\)[/indent]
[indent=1]2. Open the 'config' folder.[/indent]
[indent=1]3. Open ComputerCraft.cfg[/indent]
[indent=1]4. Look for this:[/indent]
[indent=1]
####################
# enableapi_http
####################
enableapi_http {
B:general=false
}
[/indent][indent=1]Change false to true.[/indent]
Posted 09 January 2013 - 03:11 AM
ty so much :)/>
Posted 09 January 2013 - 04:15 AM
That will NOT enable the API on the server. There should be a config folder in the server folder, open it up and open mod_computercraft.cfg. Then enable the API.
Posted 09 January 2013 - 04:32 AM
That will NOT enable the API on the server.
YES it will.
Posted 09 January 2013 - 04:36 AM
i think he meant if you only do it client side
in wich case it will not be enabled on the server you go to
in wich case it will not be enabled on the server you go to
Posted 09 January 2013 - 04:50 AM
That's why I told him how to do it for both client and server. Only people access to the server can enable it, obviously…
Posted 09 January 2013 - 04:55 AM
For future referenceI don't know about macs if you're using a mac.
1. Open a Finder window
2. Press Cmd + Shift + G, type "~/Library/Application Support" and hit enter
…
The rest is the same…