This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
AliasXNeo's profile picture

Communicating with Bukkit (Tekkit)

Started by AliasXNeo, 16 May 2012 - 12:55 AM
AliasXNeo #1
Posted 16 May 2012 - 02:55 AM
Greetings,

I was just curious if this was at all possible. Can a ComputerCraft computer communicate with Bukkit plugins? For instance, lets say I'm running a simple economy plugin like IConomy and I want to deduct or credit some money with a computer application, is this at all possible? I understand that natively this isn't likely, but is it something that could possibly be coded in?

* EDIT *

I just realized how easily I can simplify this: Is it possible to run console commands from a CC program? Making this possible would literally open up an entire new dimension into SMP computer apps for CC.
Lyqyd #2
Posted 16 May 2012 - 03:04 AM
You'll want to look into creating a peripheral that can interact with bukkit that way, or see if anyone has already made one. Getting it configured as far as permissions go could be quite tricky, though.
AliasXNeo #3
Posted 16 May 2012 - 03:06 AM
You'll want to look into creating a peripheral that can interact with bukkit that way, or see if anyone has already made one. Getting it configured as far as permissions go could be quite tricky, though.

This is true, however simply running console commands as the server (which I know is possible as plenty of Bukkit mods offer this feature) would be a good start. I'd write the code myself, as I used to be a freelance Java coder, but that was years ago and I'm afraid I wouldn't even know where to start :P/>/>
ComputerCraftFan11 #4
Posted 16 May 2012 - 03:11 AM
One thing you can do is get a plugin that executes commands with redstone, and program the computer to activate a specific side/command
AliasXNeo #5
Posted 16 May 2012 - 03:20 AM
One thing you can do is get a plugin that executes commands with redstone, and program the computer to activate a specific side/command

Not ideal as I'm looking to interact with Bukkit from inside a program.