Cuberite Forum
Cross Plugin Compatability - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html)
+--- Thread: Cross Plugin Compatability (/thread-508.html)

Pages: 1 2 3


RE: Cross Plugin Compatability - l0udPL - 09-12-2012

In easiest implementation it would require some kind of bridge: opened local port to send and recieve commands to/from plugin, which would be running as independent application written in PHP (using sockets to communicate). PHP is just not suitable to that applications.


RE: Cross Plugin Compatability - FakeTruth - 09-12-2012

(09-12-2012, 04:21 AM)l0udPL Wrote: In easiest implementation it would require some kind of bridge: opened local port to send and recieve commands to/from plugin, which would be running as independent application written in PHP (using sockets to communicate). PHP is just not suitable to that applications.

AFAIK it's completely possible to embed PHP into MCServer so you don't need any sockets or anything.. but still it's too much trouble


RE: Cross Plugin Compatability - xoft - 09-12-2012

Too much trouble for too little effect. Php is a language aimed primarily for web development, not for game engine embedding. It's good for manipulating strings, but where woud you use that in a mcs plugin?


RE: Cross Plugin Compatability - NiLSPACE - 11-14-2012

(09-12-2012, 08:22 AM)xoft Wrote: but where woud you use that in a mcs plugin?

i had in mind that you could create websites with it. so you can use the webserver for more than just webadmin.



RE: Cross Plugin Compatability - FakeTruth - 11-14-2012

You don't create websites with PHP, you create websites with HTML. PHP can be a programming language behind a website, but you can just as well use Lua


RE: Cross Plugin Compatability - NiLSPACE - 11-14-2012

Than html and php? I think if you add more program languages more people will come.


RE: Cross Plugin Compatability - ThuGie - 11-14-2012

Why would he need to add php support when you have lua ?
lua gives you pretty much access to anything and allows you the ability to serve webpages like the webadmin does..

MCServer isnt suppose to become a webserver:p.


RE: Cross Plugin Compatability - Taugeshtu - 11-14-2012

Quote:I think if you add more program languages more people will come.
What are plugins? They are just alteration of existing mechanics. Writing an alteration in one language is good thing, because you'll have plenty of examples and could just read other plugins code to understand how to use API.

More languages won't really help, because it's common for programmers to be multilingual - sometimes it's enough to just spend one day with google and samples to understand language (and lua is tiny-tiny-tiny-tiny, thus it's super-fast to learn).


RE: Cross Plugin Compatability - NiLSPACE - 06-15-2013

I placed a thread on the minecraft forum about MCServer, and someone was pretty interested. He was just wondering if he could create plugins in C++.


RE: Cross Plugin Compatability - tonibm19 - 06-15-2013

(06-15-2013, 07:19 PM)STR_Warrior Wrote: I placed a thread on the minecraft forum about MCServer, and someone was pretty interested. He was just wondering if he could create plugins in C++.
I think more people should know MCServer. It would be nice to make a video showing MCServer. If other people know MCServer, and like it, maybe someone more become a MCServer developer or make plugins.