Skip to content

Navatusein/GTNH-OC-Teleposer-Control

Repository files navigation

GTNH-OC-Teleposer-Control

Content

Information

The program is designed to automate the transfer of Teleposition Focus to Teleposer from Blood Magic. It is also possible to send messages to Discord about out of service situations. And there is also the possibility of auto update at startup.

Controls

Q - Closing the program

Interface

Interface

How to add Teleposition Focus

To add new Teleposition Focuses, put them in the chest, go into the monitor and press S to update the list. Note: the name that appears in the list corresponds to the name of the Teleposition Focus. Use the anvil to change it.

Teleposition Focus in chest

Installation

Caution

If you are using 8 java, the installer will not work for you. The only way to install the program is to manually transfer it to your computer. The problem is on the java side.

To install program, you need a computer with:

  • Graphics Card (Tier 3): 1
  • Central Processing Unit (CPU) (Tier 3): 1
  • Memory (Tier 3.5): 2
  • Hard Disk Drive (Tier 3) (4MB): 1
  • EEPROM (Lua BIOS): 1
  • Internet Card: 1

Computer setup

Install the basic Open OS on your computer. Then run the command to start the installer.

pastebin run ESUAMAGx

Then select the Teleposer Control program in the installer. If you wish you can add the program to auto download, for manual start write a command.

main

Note

For convenient configuration you can use the web configurator. GTNH-OC-Web-Configurator

Setup

Components

To build a setup, you will need:

  • Transposer: 1
  • Redstone I/O: 1

Description

Set the transposer next to it with a chest for Teleposition Focuses and Teleposer. Set the redstone I/O next to the Teleposer.

Example setup

Example setup 1 Example setup 2

Configuration

Note

For convenient configuration you can use the web configurator. GTNH-OC-Web-Configurator

General configuration in file config.lua Enable auto update when starting the program.

enableAutoUpdate = true, -- Enable auto update on start

In the timeZone field you can specify your time zone.

In the discordWebhookUrl field, you can specify the Discord Webhook link so that the program sends messages to the discord about emergency situations. How to Create a Discord Webhook?

logger = loggerLib:newFormConfig({
  name = "Teleposer Control",
  timeZone = 3, -- Your time zone
  handlers = {
    discordLoggerHandler:newFormConfig({
      logLevel = "warning",
      messageFormat = "{Time:%d.%m.%Y %H:%M:%S} [{LogLevel}]: {Message}",
      discordWebhookUrl = "" -- Discord Webhook URL
    }),
    fileLoggerHandler:newFormConfig({
      logLevel = "info",
      messageFormat = "{Time:%d.%m.%Y %H:%M:%S} [{LogLevel}]: {Message}",
      filePath = "logs.log"
    })
  }
}),

In the teleposerSide field you specify side of the transposer witch connected to teleposer.

In the storageSide field you specify side of the transposer witch connected storage chest.

In the redstoneSide field you specify side of the Redstone I/O witch connected to teleposer.

teleposer = teleposer:newFormConfig({
  teleposerSide = sides.east, -- Side of the transposer witch connected to teleposer
  storageSide = sides.up, -- Side of the transposer witch connected storage chest
  redstoneSide = sides.up -- Side of the Redstone I/O witch connected to teleposer
})

About

Program to automate the shifting of Teleposition Focus to Teleposer from Blood Magic

Topics

Resources

License

Stars

Watchers

Forks

Languages