Command-triggered IC
LadyCailinBot opened this issue ยท 6 comments
CRAFTBOOK-2614 - Reported by pmpmpm
Hello,
Well, to have a better communication between CommandBlocks/Plugins with CraftBooks ICs, I just had the idea of a command-triggered IC. Basically you set the name of the IC on the third line (Like "C-IC1337K") and with commands such as /cb cic [name] [ON/OFF] you can set the IC to a new state. Maybe a network system to trigger multiple ICs at once? And a duration one?
So, for the details:
- IC:
Command-Set
[C-IC]
C-IC1337K
(Network)
- Commands:
/ic cic (name/network)[,(name/network)[,...]] [ON/OFF/CHANGE] (duration?)
So you can
- Put multiple names/networks in one command;
- Make those ICs change state to ON or OFF;
- Make those ICs change state whatever their original state is (ON to OFF and vice-versa);
- Make this modification last for a given number of ticks (a cool thing would be to be able to set the duration unity (good word?) we want. For example: 15 is 15 ticks, while 20s is 20 seconds);
So there, thanks for reading! I hope I'm not doubling up something existing ^.^'
Comment by me4502
It would take a lot of effort to get it right, as I'd have to store a copy of every entered command.. And somehow delegate them
Comment by pmpmpm
I don't understand. I may be kinda naive but I just saw this as a DB containing the different ICs/networks, their location and their state. You'd basically manipulate those states...
Comment by pmpmpm
Well would there be anyway to trigger one or more signs using a command? It really would be extremely useful to use that with command blocks, or plugins...
Comment by me4502
Not really. ID have to store every entered command, and there is no way of checking permissions at that stage, so it'd work even if the player didnt have perms. Plus, if none of those IC's were loaded or used that command, the stored size would increase and crash the server.