(S)ophie

(I)ncorporated

                                                                                                                   

(S)torage

(S)olution

Logo
## Features - Lua matching for inventories that are passed into AIL - Import all items from certain inventories (like ender storages for all of your farms) - Chatbox support for withdrawing and depositing items - Remote access via enderstorages ## RA SiSS has a remote access system that allows you to access your items via modem. To use it, first set up your config.lua correctly. After that you need to implement the tiny_ra_library into your program. You can download it by using `wget https://git.sad.ovh/sophie/storage-solution/raw/branch/main/tiny_ra_library.lua`. Example program: ```lua local ra = require("tiny_ra_library") local modem = peripheral.find("modem") -- modem, port, password ra.init(modem, 42420, "test123") print("withdraws 64 of dirt") ra.withdraw("minecraft:dirt") sleep(2) print("deposits 64 of dirt") ra.depositByItemName("minecraft:dirt") sleep(2) print("withdraws 12 dirt") ra.withdraw("minecraft:dirt", 12) sleep(2) print("deposits the first slot") ra.depositBySlots({1}) sleep(2) print("withdraws 32 dirt") ra.withdraw("minecraft:dirt", 32) sleep(2) print("deposits 16 items from the first slot") ra.depositBySlots({1}, 16) ``` ## How to use 1. First, in your /config.lua file, add the following: ```lua return { ["inventories"] = { -- REQUIRED!! Please set at least one inventory pattern. ".*barrel.*" -- Lua patterns to match all barrels }, ["import"] = { -- Not required, just don't set! "ender_storage_156" -- A inventory I want to move all items from into our storage }, ["chatbox"] = { -- Not required, just don't set! ["hartbreix"] = "manipulator_42" -- Chatbox support }, ["remote"] = { -- Access your items via modem, not required, just don't set! ["ender_storage"] = "ender_storage_493", -- Enderstorage that will be changed (set this to owner-only and computer-chanagable!) ["modem"] = "modem_1277", -- Modem to recieve messages ["remotes"] = { -- Remote access ["red/green/green"] = { ["port"] = 42420, ["password"] = "test123" -- Required! } } } } ``` 2. Run the following command: ``` wget run https://git.sad.ovh/sophie/storage-solution/raw/branch/main/src/.main-installer.lua ``` This will install storage-solution to /storage-solution. To make it start every time you turn on the computer, add ``` shell.run("wget run https://git.sad.ovh/sophie/storage-solution/raw/branch/main/src/.main-installer.lua") ``` to startup.lua ### [EXTRA!] You can also run `wget run https://files.sad.ovh/public/storage-solution/.beta-installer.lua`, which is quite unstable. You may experience issues while running the beta version, but also new juicy features :)