Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
Michiyo

OpenSecurity 1.7.10/1.10.2

Recommended Posts

i have a question about the security terminal: if i check isEnabled() it gives me true and getAllowedUsers() gives me just me. But everyone can break blocks within the Range of the securityterminal (Range is set to value 3). I am using a T3 screen, a T3 Computer with T3 CPU, T3 GPU, T3 HDD, 2x T3.5 RAM and T2 Redstonecard. 

Am I missing anything? 

 

OC MC1.12.2-1.7.4.153
OS MC1.12.2-1.0-22
Forge 14.23.5.2768

Share this post


Link to post
Share on other sites

Hello, I was wondering if anyone could point me in the direction of a sample code to interact with these machines, the card writer most importantly. I attempted and failed miserably, do not know how to copy and paste code from within the minecraft opencomputer system. I am a complete noob so bear with me.

Share this post


Link to post
Share on other sites
On 5/28/2020 at 10:28 AM, SavageNoob said:

Hello, I was wondering if anyone could point me in the direction of a sample code to interact with these machines, the card writer most importantly. I attempted and failed miserably, do not know how to copy and paste code from within the minecraft opencomputer system. I am a complete noob so bear with me.

OpenSecurity has a built in program for interfacing with the CardWriter it's *VERY* simple but shows the basic usage once you've connected a CardWriter you'll find it's been auto mounted and should be in /bin as 'cardwriter.lua'  That file is: https://github.com/PC-Logix/OpenSecurity/blob/1.12.2/src/main/resources/assets/opensecurity/lua/cardwriter/bin/cardwriter.lua   The Wiki on GitHub (And the manual in game) has the documentation for pretty much the entire mod https://github.com/PC-Logix/OpenSecurity/wiki

As for copying code from inside MineCraft out, you can't but what you *CAN* do is put a internet card in the computer and then use `pastebin put filename.lua` and you'll get a pastebin url that you can then share with people, you can also use `pastebin get` to copy files from pastebin to your in game machine.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.