-
Notifications
You must be signed in to change notification settings - Fork 3
Install
Emma edited this page Dec 31, 2022
·
4 revisions
- Get the latest version of Xenon, either:
- Download the latest release of Xenon from the releases tab and save it as
startup.lua
on your turtle -
Or, if you're on SwitchCraft, run
pastebin run FTTBFDmZ9V startup.lua
- Download the latest release of Xenon from the releases tab and save it as
- Download the example configuration file
- Run
wget https://raw.githubusercontent.com/incinirate/Xenon/master/examples/config.lua
- Run
- Connect your monitor and chest(s) to the turtle.
- Modify config to suit your needs
- Open the config,
edit config.lua
- Required changes:
- Change
name
to the Krist Name you wish to use, for example, if you want people to buy from[email protected]
, you would setname
todomain
- Change
pkey
to the private-key of the address that owns your domain.- If you wish to use your raw private-key, but only know the Krist Wallet format's password (most people), you can find your private key by using this tool.
- If you really want to use just your KristWallet password, you must set
pkeyFormat
tokwallet
(Not Recommended).
- If you wish to have the storage chest directly adjacent to the turtle (left, top, etc.), then you must use the
chest
config option to specify this direction. - If you wish to have a chest on a wired network, setting
chest
orchests
is optional, but recommended. - If you wish to have the storage chest directly adjacent to the turtle (left, top, etc.), then you MUST set
self
to the cardinal direction in which the turtle is relative to the chest. For example, if the chest is directly east of the turtle, then you must setself
towest
. You cannot use relative directions likeleft
orright
here! However, for top/bottom setups, you can simply usetop
andbottom
. - You may set
monitor
to the network name of the monitor you wish to use, if this value is not supplied, Xenon will attempt to find the monitor itself, but if it is not working, then use this property to override this. - You must add the items you wish to sell to the
items
table. The first entry in the example config contains all possible options and therefore will not be explained here.
- Change
- Optional changes:
- Change
title
to something more meaningful thanMy Shop
, this value is never shown to customers, but rather for logging purposes. - Change
redstoneSide
to the side you wish for a redstone heartbeat to be emit, or remove this property from the config if you wish to disable the redstone heartbeat. - Change the refund messages in the
messages
table.
- Change
- Open the config,
- Download a layout and styles file, for example, to install the "modern" layout, do the following:
- Run
wget https://github.com/incinirate/Xenon/raw/master/examples/modern/layout.html
- Run
wget https://github.com/incinirate/Xenon/raw/master/examples/modern/styles.css
- Run
- Restart the computer, either with
Ctrl+R
or by typingreboot