Skip to content

Getting Started

Cade edited this page Apr 27, 2023 · 4 revisions

To get started, you gotta first install the server:

Server Setup

  1. Go to the server.lua in the server folder on the github
  2. click Raw and copy the url
  3. On the computer, run wget -f urlforserver server.lua
  4. Run the server once
  5. Close the program and enter "edit settings.txt"
  6. Set the port to whatever port you want (recommend 4 digit port, never choose 180 or 199)
  7. Set the cryptKey to whatever you want (if you leave it as 1,2,3,4,5, you can choose default crypt key in other programs)
  8. Save the file and start the server up again
  9. That's it!

The server has an auto sync function on it if you press enter, scroll to "show port", and select it by pressing enter. It will both show the port on the top right of the server and programs will auto select the port. If this is hidden, you will have to manually set the port yourself on programs.

Database Setup

The database is necessary to modifying configurations and using the modules. It works using both MineOS and OpenOS!

MineOS installation

  1. Install MineOS on the computer
  2. Go to app store
  3. find Servertine Database
  4. install it
  5. Run the database. first time setup puts you into offline mode. There, if needed, you can change the cryptKey or port number in the database to match the server's. If any settings must be changed, perform the changes then save changes
  6. Click the X to close the database and run the program again.
  7. In order to sign in, the username is "admin" and the password is "password" plus the port at the end, so if the port is 1234, the password would be "password1234". This will let you in with full privileges (don't worry! As soon as you make an account, this login will no longer work!)
  8. Click the dev module and go into manage users
  9. Enter the username and password for your new account and add user.
  10. Click the user on the far left.
  11. Enter "all" into the permission field on the right, then add it. This will give this account full access to everything on the database.
  12. Restart the database app and sign in to the new account.

OpenOS Installation

  1. Run the command wget -f https://raw.githubusercontent.com/cadergator10/Opencomputers-servertine/main/database/Boot.lua boot.lua
  2. Run the installed program
  3. Let it install all the files. For first setup, it should install compat, all gui dependencies, then install all Servertine database files
  4. first time setup puts you into offline mode. There, if needed, you can change the cryptKey or port number in the database to match the server's. If any settings must be changed, perform the changes then save changes
  5. Click the X to close the database and run the program again.
  6. In order to sign in, the username is "admin" and the password is "password" plus the port at the end, so if the port is 1234, the password would be "password1234". This will let you in with full privileges (don't worry! As soon as you make an account, this login will no longer work!)
  7. Click the dev module and go into manage users
  8. Enter the username and password for your new account and add user.
  9. Click the user on the far left.
  10. Enter "all" into the permission field on the right, then add it. This will give this account full access to everything on the database.
  11. Restart the database app and sign in to the new account.

Any time you want to start the database, ensure you run the boot program rather than the downloaded Database.lua program. This will ensure that error handling is enabled, the compat library is initialized correctly, and that updates for Servertine are checked for.

Module installation

  1. Click dev again and go to manage modules.
  2. Move the modules from the left list you want to install to the right list. If modules have requirements, they will be moved automatically.
  3. When you have all the modules you want, press setup modules on the right. This will install all the modules needed on the server and database.
  4. Restart server and database app
  5. All modules should be working and installed!
Clone this wiki locally