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

Player Detector v2.0!

Started by Tamtam18_2, 16 November 2014 - 12:30 AM
Tamtam18_2 #1
Posted 16 November 2014 - 01:30 AM
I'm sure it works now.
lol yes it does, i've tested it extensively.

Needs Open Peripheral Addons and a 1.7 version of minecraft to run.

Plop a sensor to the right of the computer and run the program.

Configure for anything, especially for opening or closing doors.

Perfect for unwanted guests, or letting your base treat you with a warm welcome.

only detects players nearest to the computer and/or within the chunk of said computer.

I will be working on a Online Player Detector sometime in the future.

Have fun!

Player Detector v2.0
http://pastebin.com/C7jchGfd
Tamtam18_2 #2
Posted 16 November 2014 - 02:28 AM
There was a major bug within the code and am trying to fix it now. 2.0 works mostly.
Malzie #3
Posted 28 November 2014 - 07:53 AM
Would this work as a way to detect players entering a base on a multi-player server? I am facing a string of thefts from my base and I'd like to catch the person red handed.

If this wouldn't work, do you know of a program that would? Either way, reading through the program… it seems extremely well coded. :)/>