GithubHelp home page GithubHelp logo

bperipherals's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bperipherals's Issues

[FEATURE] Fabric Port to CC:R

I am mainly asking this as i would love to see mods that support/add blocks that act as peripherals to CC:R,

The hardest part about porting in this mods current state is block registration and player interactions as we did our best to keep the peripheral code 1:1 with CC:T

[FEATURE] Allow to get mag card data and write new on the same swipe.

It would be cool if the mag_write event would return the data previously on the card or both 'mag_swipe' and 'mag_write' events fired.
I know this feels useless, and can easily get worked arround, but i wanted to register how many times the card was used, or for an one use ticket system, stored on the card. I'm the only one on my friends server that knwo how to use computercraft and this would make things easier than sharing info between computers to knwo that the card has been used.

Add Diffie–Hellman key exchange function [FEATURE]

So there's already a function to generate RSA Keys, and a function to encrypt/decrypt with AES,
so if you exchange two public RSA keys, you could use the Diffie–Hellman key exchange method to both generate a secrete key to use with the AES, without ever exchanging the key,
and I really want to do this, and I've been researching how to implement RSA DHKE in lua but Im totally stuck
So it would be nice if it was included in the mod itself as a function :3

Im sure as the developer of a computer cryptographic mod you already knew about the DHKE but just in case it does this:
ecdh(a.priv, b.pub) == ecdh(b.priv, a.pub)
That way both parties can result in the same shared key over a network, without actually sharing anyway to get the key to other people
Then use the key with AES Encryption and boom you're sharing secure encrypted messages without having to secretly send the other person anything

Also, I second the use the cryptographic accelerator on pocket computers/phones, that would be amazing, secure texting :D

Lastly, thanks for developing this so I don't go crazy trying to figure how to implement all these functions in pure lua xD

Keyboard

Can you please add a keyboard for computers in this mod? There are no other peripherals mod for 1.15.2, and it would be very usefull, thanks for the attention

Feature Request: Add an extra optional boolean parameter to the (Mag Card Reader).write method

Feature Request

Add the ability to set a optional boolean parameter to the write method on the Mag Card Reader/Writer

write(data,secure)
'secure' would be default to True
Would allow you to disable ByteArray encryption from your Mag Cards.

I have been trying to implement this myself but sadly not working because the parameter gets set to a String type when data is written.
<Line 36>: BPeripherals/src/main/java/fr/bastoup/bperipherals/peripherals/magcardreader/PeripheralMagCardReader.java
eclipse_20-01-37-34{AM}

<Line 87>: BPeripherals/src/main/java/fr/bastoup/bperipherals/peripherals/magcardreader/TileMagCardReader.java
eclipse_20-01-32-10{AM}

Code_20-01-14-04{AM}
javaw_20-01-13-50{AM}

World Scanner

A worlscanner is a peripheral that would be able to detect the blocks around it in a given radius. It would take coordinates of either a single block , a radius or a 3 dimensional area given as 2 sets of xyz coordinates. it will go through the blocks and return a table or a single entry for the blocks it found in its environment. Maybe also include blockstates or NBT Data. It could additionally take in Forge Energy to increase its search radius

[FEATURE] Memory limit of database disk.

Well I gess we still need more info about database...
Did database disk has any memory limit? And how can I get it if it exists...
I want to run your mod no server so that why I asked that...
If DB disk has no memory limit I am more than sure that someone tries to shutdown the server overloading the memory with useless stuff in DB disk...

Please add the info about memory limit on wiki or add memory limit for your disks if it not exists (like for the normal floppy disk (125KB or more but no more than 1MB))...

[IDEA] New textures, already posted in discussions

The textures for the items seem like they are just pixelated .pngs found when searching, so maybe updating those textures may be beneficial to this mod. Like other items, such as the floppy disk, it may also be an improvement if the items had a color overlay, to allow them to be dyed for customizability, especially the mag card. I made some textures for a texture pack for an adventure map I am making, and the overlay, which sadly cannot be added in a resource pack. I have attached the textures and my overlay testing textures on here, just in case you could use them, whether it be just making them the new textures or inspiring some new textures, I would have been glad to have contributed something to this project which I will most likely use a lot in the future.

mag_cardButLarger
database_diskButLarger

here are actual size images and overlays
database_disk
database_disk_overlay
mag_card
mag_card_overlay

[FEATURE] Configurable options

Description

Currently with the mag card reader thingy you can only write 32 characters, I would like to be able to expand that limit.

Possible solution

Adding a config file (server side) could be a solution to this.


Thanks ^^

[FEATURE] Transaction control database

It would be very nice if it was possible to mantain a database connection, maybe with a connection object on lua side, for then to be able to use transaction control.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.