Installation

Guide

Quick install — Add resource to your server

A minimal, common install flow for resources:

  • Clone or download the repository.
  • Place the folder (for example sc_package) into your server's resources directory.
  • Add this line to your server.cfg to enable it:
ensure sc_resource
Note: Install any required dependencies listed in the resource README or documentation before starting the resource. Only upload SQL files to your database if the resource explicitly requires it (and after reviewing the SQL contents / compatibility with your database).
You can also add the repository directly from the server console using git, curl or wget — see the "Install on the Server — via console (Linux)" section below for examples.

Install on the server — via console (Linux)

Directly on the server via the terminal. Write permissions (sudo/root) are required for /usr/local/bin or another system path.

Using curl (recommended)
sudo curl -L -o /usr/local/bin/scube-script https://raw.githubusercontent.com/ScubeScripts/scube/main/scube.sh
sudo chmod +x /usr/local/bin/scube-script
scube-script --help
Using wget
sudo wget -O /usr/local/bin/scube-script https://raw.githubusercontent.com/ScubeScripts/scube/main/scube.sh
sudo chmod +x /usr/local/bin/scube-script
Using git (clone repository)
git clone https://github.com/ScubeScripts/scube.git
cd scube
sudo cp scube.sh /usr/local/bin/scube-script
sudo chmod +x /usr/local/bin/scube-script
Note: Replace the URLs with the actual file/repo URLs if necessary. Verify permissions and run scube-script with sudo if needed.

Install via SSH client (e.g. PuTTY, OpenSSH)

If you access the server via SSH from your local machine, two common approaches are: upload the file and move it on the server, or download it directly on the server.

Upload file from local machine (scp) and install
# on your local machine:
scp path/to/scube.sh user@server:/tmp/

# on the server via SSH:
ssh user@server
sudo mv /tmp/scube.sh /usr/local/bin/scube-script
sudo chmod +x /usr/local/bin/scube-script
scube-script --help
Download directly on the server via SSH
ssh user@server
# then on the server:
sudo curl -L -o /usr/local/bin/scube-script https://raw.githubusercontent.com/ScubeScripts/scube/main/scube.sh
sudo chmod +x /usr/local/bin/scube-script
Note: On Windows, PuTTY works for SSH and WinSCP can be used for file transfers. Check firewall/port (usually 22) and required SSH access permissions.