Command block connected to my alarm.

6 replies
3 posts
+2 Reputation
Hello,

I have recently come up with an idea for my secure house alarm which can be found at my house (/warp goombahouse).

I was wondering if it would be possible to connect a command block (wiring shown below) to my alarm so that when triggered, it would activate the command block and execute a command?


Command:

/m Goombaistic Alarm at GoombaHouse has been triggered.


So for me, it would show up as:

[Console->me] Alarm at Goombahouse has been triggered.


Lag?

The command block will not create lag as the pressure plates outside the doors to my house are connected to a 1-bit memory, which stores either a 1 or a 0, so that the alarm would have to be reset and triggered again to be able to send an output signal to the command block again. Therefore, the command block will not execute the command again until the alarm is reset and triggered again which will not create lag.


Spam?

No. Even in the unlikely event that that may happen, no one (other than me) will be affected. But to create spam, I will have to manually reset the alarm, trigger it, come back inside and reset it e.t.c. But, this will only (if this ever happened) send me about 1 message every 20 or so seconds. This is the worst case scenario and I doubt I will actually want to spam myself. Others will not be able to do this as I will, by that stage, have the 'Lever Toggle' flag on my region set to deny/false.


What if I don't want it?

If I want this feature to be disabled, the wiring (shown below) allows me to conveniently turn on/off this feature.


What If the command block is destroyed?

The command block will be completely safe from myself and other players. A small 3x3 region outside my own, could contain the command block. The redstone signal from my house could then connect to the command block so that it can not be destroyed. The region will not contain any members and only have the creator as the only owner. This way, I can have the my trusty alarm system safely connected to the command block and no one (other than OPs) will be able to tamper with it or destroy it.


Why do I want this?

I think that this will be very useful because in the past, I've come home to see my alarm ringing away and some of my items (in containers that can't be protected) stolen. But by the time I get there, the thief has long gone and I am left with stolen items and no evidence or clue about who could have done it. So this is why I would like to have a command block connected to my alarm.


Wiring:

Reset lever -> 1-bit memory <- Pressure plates

The memory is then connected to an AND gate which only gives an output signal if both the alarm has been triggered and the on/off switch is in the 'on' position.

This is where the command block comes in, there is another AND gate. This gate requires the output of the previous AND gate to be on, and the command feature lever to be in the 'enabled' position. This then is connected to the grand command block.



Thank you for taking the time to read this post and I hope that this can be done!

Thanks,
Goombaistic :)
goomba_signature.png
Posted Dec 26, 12 · OP
+1  Reputation
1
 Reputation
556 posts
+258 Reputation
Thing is. Command blocks can only be assembled by ops in creative. Only 3 ops Chance_FTW, felipepcjr, pablosky101. They are all SUPER busy so they wouldn't do this.
LC Main Status: Show
Posted Dec 26, 12
0  Reputation
3 posts
+2 Reputation
Thanks for your response. I know that they are busy, but a possibility could be that Chance isn't busy, and could take a look at this. I do know that I have been able to get Chance to do something simple like place water and lava so, I'm thinking that there might be a chance where Chance isn't busy and might be able to do this.
goomba_signature.png
Posted Dec 26, 12 · OP
0  Reputation
67 posts
+20 Reputation
true ^ sorry but this will most likely never been done because if you get a command block ALL will want one! however i wish you luck
eJw9jLEKwjAYhPc8xfkAUhQKOjm4VLClQ8H5t54m-DfRJFp8ezN1OO6D47sTZIJlJHIorS-I_wVPzDYgkc8El1emI29oynxANaUHrvQ2qO53WOMoHr3KSJzlK9VFMiO68pPmAu8PkwtmEUzrPMco92wGSzRO1WzresnmDwoGLuM~.png
mca.png

mca.png


Posted Dec 26, 12
0  Reputation
8 posts
+1 Reputation
Banned users
I am sure that in the future, its simple to bypass the block to make OP's in Creative only do it. I think that you can mess around with bukkit and enable it. Only thing is you will need to...buy it? Market...Maybe not. Maybe as one of the donor extra's you can have a command block.

Example: 1 Block for VIP.
2 Blocks for Premium
2 Blocks every month for Supporter?

Never really minds...not good at setting up how you would get it anyway. Point is though it can be done...I think :).
01-banana-gun-pistol.jpg
Posted Dec 27, 12
0  Reputation
407 posts
+356 Reputation
This probably wouldn't be allowed. Im not even allowed to use command blocks :)
/Locked
uOW12Kp.png
LC Main: Show
Posted Dec 27, 12
0  Reputation
754 posts
+1241 Reputation
Sorry but this wont happen. Once you get one, everyone will want one.
chance1_zps6320b1c9.png
Posted Dec 29, 12
+3  Reputation
3
 Reputation
LC'ER!

Get the LC'er Tag by having:

x5 Threads

x50 Posts

x25 Reputation
Top Posters
3415 Posts
2916 Posts
2779 Posts
2567 Posts
2521 Posts
2035 Posts
1977 Posts
1740 Posts
1658 Posts
1621 Posts
1594 Posts
1521 Posts
1509 Posts
1449 Posts
1408 Posts
Notices