Just a small update. I updated the computercraft program that controls the front gate as part of my preparations to make the map more suitable for world download.
To those who don't know or don't remember, the computer uses a sensor from open peripherals to detect all of the users in range and compares the names to a whitelist and a blacklist to decide if the gate can be opened or not. Initially, I had hardcoded it to only respond to my username and some of the characters from Frozen (for fun). Now, I removed my own username from the hardcoded default and implemented a system which means you can add/remove as many users to both the blacklist and the whitelist (it should work fine on a server). You can also easily view both lists. You just need to go to the computer and interrupt the main loop by pressing any key and you can go into the list manager. When you have finished you can exit the list manager and the program resumes normally. There is no messing about with ctrl+t or ctrl+r or whatever and no manual edits are necessary. The lists are stored on a file on the computer so any changed settings will survive server restarts (assuming a crash didn't mess up computercraft that is!). It is also using the latest version of computercraft which is nice!
Here is a little screenshot of my primitive menu
I have not thoroughly tested out this new program yet, but when I am confident it works properly I will release it on pastebin. It is quite a nice thing to have although I might have to put it through another big update if I want to make the detection range more customizable without having to manually edit the program.
To those who don't know or don't remember, the computer uses a sensor from open peripherals to detect all of the users in range and compares the names to a whitelist and a blacklist to decide if the gate can be opened or not. Initially, I had hardcoded it to only respond to my username and some of the characters from Frozen (for fun). Now, I removed my own username from the hardcoded default and implemented a system which means you can add/remove as many users to both the blacklist and the whitelist (it should work fine on a server). You can also easily view both lists. You just need to go to the computer and interrupt the main loop by pressing any key and you can go into the list manager. When you have finished you can exit the list manager and the program resumes normally. There is no messing about with ctrl+t or ctrl+r or whatever and no manual edits are necessary. The lists are stored on a file on the computer so any changed settings will survive server restarts (assuming a crash didn't mess up computercraft that is!). It is also using the latest version of computercraft which is nice!
Here is a little screenshot of my primitive menu
I have not thoroughly tested out this new program yet, but when I am confident it works properly I will release it on pastebin. It is quite a nice thing to have although I might have to put it through another big update if I want to make the detection range more customizable without having to manually edit the program.