r/ComputerCraft • u/TheNicestRaccoon • Jul 31 '21
Censor systems and data gathering
I recently started playing Computer Craft on my server with a few friends, it’s 1.16.5 so technically it’s CCtweaked but I’m not sure if there really is any big differences. Basically, I’m wondering if there’s some way of making censor systems to detect certain things like players in a region or inventory etc. I found OpenCC Censors online however it’s extremely outdated. It’s open source so technically I think I could port it to my version however I have no clue where to even start with that.
Additional info: Forge 1.16.5 server Create mod Computer craft Optifine That’s it it’s just a small server with me and some buddies
1
u/TheNicestRaccoon Jul 31 '21
UPDATE: I found a mod called Advanced Peripherals, I haven’t had time to really look at it since I’m doing this in between working but it is for 1.16.5. At first glance however it says it has functionalities for chat, so you could just type something in chat and it would remotely run code? At least that’s what I got from it at first glance, and that seems to be a bit op
1
u/CiroGarcia Jul 31 '21
It is an amazing mod that I like to have. It adds a chat box that can read and send text to the chat, an environmental box, that can give you info about the weather, a player box, that can give you information about players (like coordinates or the players in a range) and a few more stuff that is really awesome. I think I will fulfill your needs.
Some other features are the AR Goggles and the AR Controller, that allow you to draw stuff onto the players screen, like a HUD, and the inventory manager, that allows you to move stuff in and out of a players inventory with an unlimited range.
2
u/TheNicestRaccoon Jul 31 '21
Yeah I will definitely check it out and most likely add it to the server. Is there any form of inventory checker for it? Like if a player goes over it or next to it or something it will return data about what’s in their inventory?
1
u/wojbie Aug 01 '21
There is https://docs.srendi.de/peripherals/inventory_manager/ but that one is not range based. You program yourself into it and it always connects to you. It also allows moving things around in inventory and even out of it so its good its not range based.
1
u/TheNicestRaccoon Aug 01 '21
What if I wanted to do like a security type inventory scanner. Like a security checkpoint where I can see what’s in their inventory before the proceed to wherever it is they’re going
1
u/CiroGarcia Aug 01 '21
Not possible. The player would have to right click an inventory memory card with their hand and insert it into the inventory manager in order for you to be able to see it, and no one will do that voluntarily because it gives you unlimited power over their inventory while the memory card is in the inventory manager.
1
u/djfdhigkgfIaruflg Aug 01 '21
It's only op if you learn to program and put up the time. Anyone would say a Redstone world-eater is op. Until they realize how hard of to make one of those... That said. It has computers and turtles for players interaction, world (climate and the like), Redstone, and machines
I use it to pull from RS all the armor and weapons I collect, repair everything, disenchant and sort the enchantment, extract apotheosis afixes, send some to my Mahou Tsukai circle of durability exchange, and recycle anything left. I use CC for reading the nbt out of the items
3
u/Chaosfox_Firemaker Jul 31 '21
Quick point, "sensor" not "censor", got confused until I realized what you meant.