Jump to content




how to enable the function api http on a tekkit server?


  • You cannot reply to this topic
7 replies to this topic

#1 Mars

  • New Members
  • 2 posts

Posted 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

#2 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 09 January 2013 - 03:08 AM

Single player:

Windows:

1. Windows Key + R (run) and type '%appdata%' and hit enter.

2. Locate and open the folder called ".techniclauncher"

3. Open the tekkit folder (in my case it's tekkitlite because that's the one I have)

e.g. C:\Users\name\AppData\Roaming\.techniclauncher\tekkitlite

4. In there, open the config folder and open ComputerCraft.cfg

Look for this:

####################
# enableapi_http
####################

enableapi_http {
    B:general=false
}

Change false to true


I don't know about macs if you're using a mac.

Server:

1. Locate the Tekkit server folder - Example: (C:\Users\name\Documents\Game Stuff\Minecraft\Tekkit\Tekkit_Lite_Server_0.5.1\)

2. Open the 'config' folder.

3. Open ComputerCraft.cfg

4. Look for this:

####################
# enableapi_http
####################

enableapi_http {
    B:general=false
}


Change false to true.



#3 Mars

  • New Members
  • 2 posts

Posted 09 January 2013 - 03:11 AM

ty so much :)

#4 Dlcruz129

    What's a Lua?

  • Members
  • 1,423 posts

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.

#5 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 09 January 2013 - 04:32 AM

View PostDlcruz129, on 09 January 2013 - 04:15 AM, said:

That will NOT enable the API on the server.

YES it will.

#6 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

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

#7 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

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...

#8 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 09 January 2013 - 04:55 AM

View PostremiX, on 09 January 2013 - 03:08 AM, said:

I don't know about macs if you're using a mac.
For future reference
1. Open a Finder window
2. Press Cmd + Shift + G, type "~/Library/Application Support" and hit enter
...
The rest is the same...





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users