So, I saw the "plugins don't have to be developed in java" thing, but I was wondering specifically what languages are supported (hoping for Python and/or C++). Anyone know? Thanks!
Python is incredibly easy to learn; I learned it in a single day at work. On the other hand, compared to Java, I don't really care for it much.
If they're taking the route I think they are (which would be having a TCP server or something so you can interact with the mod), any language with a network library could be used to script for bukkit. Of course, I don't know how they're going to do it so you'll have to wait for a developer.
But still keep in mind that adding a lot of plugin languages doesn't support the performance in the worst case.. especially if you have to send your "plugins" through a set of parsers, which may not lead to the wished gaming experience. Regards
Dinnerbone: Plugins are handled through a PluginLoader Dinnerbone: We can write PluginLoader to handle all interaction with a given language
But the question is how many will actually be supported. Of course people won't (and shouldn't) spend their time writing middleware for eleventy billion languages. In other words, how many plugin languages are there concrete, definite plans to support? I've seen several people push C# and Lua, (I couldn't agree more,) for Python (I don't know it, but it seems great,) a few for C/C++ (eurgh) and since there are dozens of more or less suitable languages, assuming that they'll all work is probably going to lead to bad surprises.
Apple Script! lol. I am not a developer, but have been really tempted to try. If they can make it so at least one really easy/simple language is usable, I will be content lol.
C/C++ vote here. Although I'm content with any decent OO language as well. I think scripting should be avoided. It's just a little slow considering some servers can have up to 100 players.
This is kind of early -- Bukkit is still very early in its development -- so no one has seriously considered supporting another language yet. Feel free to pick the job up though
Is C# a viable language for this? I'm currently learning it and would love to start developing plug-ins
Depends on how Bukkit will be implemented I guess. If it is a native code DLL and we decide to hax0r Notch's code, we can make it run using any DLL capable language, well, on Windows only. I don't think Notch will like having a whole new modified server released though...
i am a learning c# programmer and i always wanted to make plugins for hMod but that was java if this supports c# i can't thank the developers of bukkit more than i will do
By the sounds of it, we probably be able to code in just about any language we want, someone just needs to code the right hooks and intereters for it. Brainf*ck and Befunge anyone?
See, torrentails, that's exactly what I'm saying: Lolcode ftw! xD In any case, I'd be happy to program plugins in C++, Java, Python or Lua. I suppose I never really thought of PHP for writing plugins (I've always thought of it as web-page stuff, but I suppose it IS a scripting language), but I'd be pretty happy programming in that, too. I'd be happy just programming in general. It's what I do for fun xD
asm any language will do, really - most of the object orientated languages share enough syntax to be pretty easy to learn once you have an initial base language.
Yes, that's true. So i suppose any c based language will do for me (As i am not that familiar with c just yet)
I'll opt for just Java. Since the minecraft server and minecraft itself is written in Java. Best support imho.
+1 for Python. If you're going the TCP route for the core plugin might I suggest ZeroMQ instead of a raw protocol? It's somewhat higher level and there are tons of libraries for different languages so you'd get interop basically for free.