/lambda-web

Game server administration system on goldsource.

Primary LanguagePHP

Lambda

GitHub last commit GitHub Issues or Pull Requests GitHub Issues or Pull Requests Static Badge

About Lambda

A system of interaction with game servers based on the GoldSource engine, realizing the following tasks:

  • Granting roles and permissions and privileges on the game server.
  • Management blocking and punishment of players.
  • Keeping game statistics.

The application is based on the following stack:
PHP Laravel Inertia.js Vue.js Tailwind CSS

Requirements

To install Lambda you need:

  • PHP 8.1 or higher.
  • Composer - For dependency management.
  • MySQL-enabled server - For the database (MariaDB 10.10+, MySQL 5.7+, PostgreSQL 11.0+).
  • Node.js and npm - To work with frontend dependencies (Vue and Tailwind CSS).

Deployment

Detailed instruction on how to deploy the application (click)
  1. Clone the Repository
    Clone the project from GitHub:

    git clone https://github.com/d3m37r4/lambda-web.git
    cd lambda-web
  2. Install Dependencies
    Install dependencies using Composer and npm:

    composer install
    npm install
  3. Configure Environment
    Copy the .env.example file to .env:

    cp .env.example .env

    Open the .env file and configure database connection settings:

    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=your_database
    DB_USERNAME=your_username
    DB_PASSWORD=your_password 
    
  4. Generate Application Key
    Generate the application key:

    php artisan key:generate
  5. Create Database
    Create the database in MySQL or another supported DBMS.

  6. Run Migrations
    Run migrations to create tables in the database:

    php artisan migrate
  7. Start the Server
    Start the built-in server:

    php artisan serve

    Your application should now be accessible at http://localhost:8000.

  8. Additional Settings
    Set permissions for the storage and bootstrap/cache folders:

    chmod -R 775 storage
    chmod -R 775 bootstrap/cache

To send requests from your game server, you must use a package based on AMX Mod X, which can be found here: Lambda-AMXX.
This package is designed to organize the communication between your game server and the Lambda application.
Be sure to follow the documentation provided in the repository for proper implementation and use.

Contribution and support

If you have any thoughts or suggestions to improve the product, contact me at one of the following places:
Github Issues
Github Discussions
Telegram

License

The product is open source software licensed under the MIT license.