Raspbery Pi GPIO plugin
#4
The description wasn't too clear on this, so I assumed it only worked by the players manually flipping switches. Having circuits in MC that can be "debugged" by real-world LEDs, or even MC circuits actually driving the RasPi outputs, that's cool. Now we need a robotics project, with a robot being controlled by MC redstoneBig Grin

Lua has predefined path on each platform where it searches for require-d libraries. See Lua docs about package.path and package.cpath. We can add the plugin's folder to those paths, so that including a binary within the plugin will work. However, personally I don't like the idea of binaries in plugins much, because MCS is too multi-platform and the binaries will make the plugins work only on some platforms. It's okay for a project like this that is very specific, but doing for example a DB driver this was would be quite unfortunate.

No, there's only Lua bindings. We've had other languages in the past, but they were dropped because the maintenance cost was too high and there was no added benefit for keeping them, everyone was using Lua anyway. There are no plans to change this in the foreseeable future., Lua is pretty fast and is good at what it does. If you believe otherwise, please supply a use-case that would support such an argument.

----
Njn, poprve jsem si to uvedomil u "Plugins/Moje", to jeste neni nic moc usvedcujiciho, ale treba https://github.com/matemat13/MCserver-Ra...n.lua#L261 uz ano. Jinak ja su prazak Smile Za chvili uz nas tu bude dost na to, abychom udelali prazsky MCServer-con Smile
Reply
Thanks given by:


Messages In This Thread
Raspbery Pi GPIO plugin - by Matouš - 02-13-2014, 08:33 PM
RE: Raspbery Pi GPIO plugin - by xoft - 02-13-2014, 10:06 PM
RE: Raspbery Pi GPIO plugin - by Matouš - 02-13-2014, 10:46 PM
RE: Raspbery Pi GPIO plugin - by xoft - 02-14-2014, 12:00 AM
RE: Raspbery Pi GPIO plugin - by worktycho - 02-14-2014, 02:56 AM
RE: Raspbery Pi GPIO plugin - by bearbin - 02-14-2014, 04:32 AM
RE: Raspbery Pi GPIO plugin - by tigerw - 02-14-2014, 04:55 AM
RE: Raspbery Pi GPIO plugin - by xoft - 02-14-2014, 06:34 AM
RE: Raspbery Pi GPIO plugin - by tigerw - 02-14-2014, 10:13 AM
RE: Raspbery Pi GPIO plugin - by bearbin - 02-15-2014, 03:10 AM
RE: Raspbery Pi GPIO plugin - by worktycho - 02-15-2014, 03:45 AM
RE: Raspbery Pi GPIO plugin - by xoft - 02-15-2014, 06:20 AM
RE: Raspbery Pi GPIO plugin - by tigerw - 02-15-2014, 09:16 AM
RE: Raspbery Pi GPIO plugin - by Matouš - 02-16-2014, 02:13 AM
RE: Raspbery Pi GPIO plugin - by NiLSPACE - 02-16-2014, 02:16 AM
RE: Raspbery Pi GPIO plugin - by bearbin - 02-16-2014, 02:18 AM
RE: Raspbery Pi GPIO plugin - by xoft - 02-16-2014, 02:27 AM
RE: Raspbery Pi GPIO plugin - by xoft - 02-18-2014, 08:14 AM
RE: Raspbery Pi GPIO plugin - by xoft - 03-02-2014, 03:25 AM
RE: Raspbery Pi GPIO plugin - by Matouš - 03-02-2014, 04:14 AM
RE: Raspbery Pi GPIO plugin - by worktycho - 03-02-2014, 05:11 AM
RE: Raspbery Pi GPIO plugin - by xoft - 03-02-2014, 05:19 AM
RE: Raspbery Pi GPIO plugin - by bearbin - 03-02-2014, 05:55 AM
RE: Raspbery Pi GPIO plugin - by xoft - 04-25-2014, 04:13 AM
RE: Raspbery Pi GPIO plugin - by Matouš - 04-25-2014, 04:17 AM
RE: Raspbery Pi GPIO plugin - by xoft - 04-25-2014, 06:47 AM
RE: Raspbery Pi GPIO plugin - by Matouš - 04-25-2014, 07:34 AM
RE: Raspbery Pi GPIO plugin - by tigerw - 04-26-2014, 06:36 AM
RE: Raspbery Pi GPIO plugin - by mieciu0077 - 06-01-2016, 05:51 AM
RE: Raspbery Pi GPIO plugin - by Matouš - 06-01-2016, 06:41 AM



Users browsing this thread: 1 Guest(s)