Integrating with Minecraft

Looking to build a team or have a job to offer?

Post » Tue Nov 22, 2016 10:18 pm

Hello,

I work in both Minecraft and Construct 2. I would love to have the ability to communicate between the 2.

I think this could be done with MySQL (I'd be using Skript) But as long as I could send commands to Minecraft, and run a command to send data back, I could take it from there.

Any one out there have some experience, that could give me a quote?
Thanks
Justin
Eat ALL THE BACON!
B
47
S
17
G
3
Posts: 290
Reputation: 5,068

Post » Wed Nov 23, 2016 2:36 pm

My only experience in this field would lead to a server that parses PHP that runs C++ code to take control of the game. But, that'd take a LONG time to implement.
ImageImage
B
46
S
13
G
2
Posts: 253
Reputation: 6,352

Post » Wed Nov 23, 2016 6:13 pm

Take control of the game?

I'm saying on a plugins level, although that would also be pretty sweet, but less uses for me. :P
Eat ALL THE BACON!
B
47
S
17
G
3
Posts: 290
Reputation: 5,068

Post » Sat Dec 03, 2016 2:29 pm

This would be fairly easy to do, id be happy to give out a few ideas better suited but a fairly general way to do it would be to setup a PHP API


so in construct you would do a GET request to "www.MyWebsite.com/MinecraftInteraction?Action=RunCommand&Command=say hello there!"
The php script would then save the command to a mysql database
Your script would then (using skUtilities) do a get request to "http://www.MyWebsite.com/MinecraftInteraction?Action=GetLatestCommand" (This would output "say hello there!") and return it to your skript where you would simply run whatever you got back as an command or do error checking

This would make it possible for you to do commands directly or interact in other ways (You could use this for any data transfer between your server, website and construct 2 programs)

Now there are other ways to do this but no matter how you do this you need to include some sort of authentication to ensure only your application can send commands to the server!

Id be happy to talk more on this and possibly help you code it in if you are unfamiliar with php :)

Contact info:
steam: kentbakk
skype: [email protected]
email: [email protected]
B
14
S
3
Posts: 25
Reputation: 799

Post » Fri Dec 09, 2016 9:28 pm

If anyone else is wondering how this turned out....

Kent did an AMAZING job of setting up exactly what I needed. (PHP To access a MySQL database) Super fast to work with, and great documentation and bug fixes.

I would highly recommend him if your need some back-end work done. He is a rare breed of dev, with lightning fast, quality code.

Thanks Kent!
Eat ALL THE BACON!
B
47
S
17
G
3
Posts: 290
Reputation: 5,068


Return to Job Offers and Team Requests

Who is online

Users browsing this forum: No registered users and 3 guests