Installing the gamemode
Installation Tutorial
Lilia is a versatile roleplaying framework for Garry's Mod. This tutorial will guide you through installing Lilia on your Garry's Mod server, ensuring a smooth setup for your roleplaying environment.
Prerequisites
Before you begin, ensure you have the following:
- A Working Garry's Mod Server: Ensure your server is properly set up and running without issues.
- Basic Knowledge of Server Administration: Familiarity with managing a Garry's Mod server is beneficial.
- Command Line Proficiency: Understanding the command line is necessary for certain installation steps.
- Admin Menu: We recommend using SAM for enhanced administrative capabilities.
- Code Editor (optional):
If you do not already have one, it is highly recommended to use a code editor to develop your scripts. Recommended editors include:
Step 1: Setting Up Your Garry's Mod Server
If you haven't already, set up your Garry's Mod server and ensure it is running smoothly before proceeding with the installation of Lilia.
Step 2: Downloading Lilia
-
Visit the Lilia GitHub Repository:
Navigate to the Lilia GitHub Repository.
-
Download the ZIP File:
- Download the latest release directly from here.
- Save the ZIP file to a convenient location on your computer.
Step 3: Extracting Lilia
-
Locate the Downloaded ZIP File:
Find the
Lilia.zip
file you downloaded. -
Extract the Contents:
- Right-click the ZIP file and select "Extract All."
- Choose a temporary folder for extraction.
-
Organize the Extracted Files:
- After extraction, you should see a folder named
lilia
. - Move the
lilia
folder to a separate location for easy access during the upload process.
- After extraction, you should see a folder named
Step 4: Uploading Lilia to Your Server
-
Connect to Your Server:
Use an FTP or SFTP client (e.g., FileZilla or WinSCP) to connect to your Garry's Mod server.
-
Navigate to the Gamemodes Directory:
Go to
garrysmod/gamemodes
within your server's file structure. -
Upload the Lilia Folder:
Upload the
lilia
folder you extracted earlier into thegamemodes
directory.
Step 5: Starting Lilia on Your Server
-
Start Your Garry's Mod Server:
Once you have uploaded Lilia and completed the configuration, start your Garry's Mod server.
-
Verify Lilia is Running:
- Monitor the server console for any error messages related to Lilia during startup.
- Look for a confirmation message indicating that Lilia has loaded successfully.
- Ensure there are no errors and that the server is running smoothly with Lilia active.
Step 7: Installing Roleplay Schemas
Enhance your roleplaying experience by installing a compatible roleplay schema for the Lilia framework. Follow the steps below:
1. Choose a Schema
Select a schema that fits your server theme:
-
Skeleton Schema
-
SCPRP Schema
2. Download the Schema
Visit the schema's GitHub repository or use the direct download link, and download the ZIP file or clone the repository.
3. Extract and Upload
Extract the schema files locally, then upload the extracted folder to your server:
4. Configure the Schema
Customize the following directories as needed for your server’s gameplay:
Factions: garrysmod/gamemodes/<SchemaName>/schema/factions/
Classes: garrysmod/gamemodes/<SchemaName>/schema/classes/
Items: garrysmod/gamemodes/<SchemaName>/schema/items/
Modules: garrysmod/gamemodes/<SchemaName>/modules/
5. Set the Startup Gamemode
Edit your server's startup parameters to set the gamemode:
Example:
6. Restart the Server
Restart your Garry's Mod server and verify that the schema loads correctly with all configurations applied.