Skip to content
@altv-crc

alt:V Cross Resource Community

Building tools for cross-resource viability

alt:V Cross Resource Community

This is an experimental project that will allow users to quickly drag / drop resources into a structured server infrastructure.

Think of each resource as a micro-service for your gamemode.

Ideology

  • TypeScript
  • Very small resources
  • Maximum performance with least overhead
  • Shared database so credentials automatically are associated with all other resources
  • Near one-click solutions for most server components
  • Cross resource compatability

Installation

Discussions & Help

Development Stack

TypeScript
Visual Studio Code
MongoDB

Recommended Infrastructure

Below is a general mindmap that shows what resources need to exist to create a login flow that leads a player to the eventual game loop.

Every section with crc- should be considered an individual resource that has been built, or needs to be built.

The * means the resource has not been built.

graph TD
    classDef pending fill:#6b384c
    classDef ready fill:#205991

    category((category))
    not_created[* = Pending]:::pending

    %% Initial Category
    altv_crc_core[[altv-crc-core]]:::ready
    altv_crc_core --> cat_core
    altv_crc_core --> cat_utility

    %% Core
    cat_core((Server Flow))
    cat_core --> crc_db:::ready
    cat_core --> crc_db_sql

    %% Database
    crc_db(crc-db):::ready
    crc_db --> crc_login
    crc_db --> crc_discord_login
    crc_db_sql(crc-db-sql*):::pending
    crc_db_sql --> crc_login
    crc_db_sql --> crc_discord_login

    %% Authentication
    crc_login(crc-login):::ready
    crc_discord_login(crc-discord-login):::ready
    crc_login --> crc_ban_handler(crc-ban-handler):::ready
    crc_discord_login --> crc_ban_handler
    crc_login --> cat_character
    crc_discord_login --> cat_character
    
    %% Appearance
    crc_appearance(crc-appearance):::ready
    crc_appearance --> crc_default_clothes(crc-default-clothes):::ready
    crc_char_create --> crc_appearance
    crc_spawn --> crc_appearance
    crc_char_preview --> crc_appearance
    crc_respawn --> crc_appearance

    %% Character
    cat_character((Character))
    cat_character --> crc_char_select(crc-select-character):::ready
    crc_char_select --> crc_char_preview(crc-preview-character):::ready
    crc_char_select --> crc_char_create(crc-create-character):::ready
    crc_char_select --> cat_spawn
    crc_char_create --> cat_spawn
    crc_char_create --> crc_char_preview

    %% Spawn
    cat_spawn((Spawn))
    cat_spawn --> crc_spawn(crc-spawn):::ready
    cat_spawn --> crc_respawn(crc-respawn*):::pending
    crc_spawn --> cat_game_loop
    crc_respawn --> cat_game_loop

    %% Game Loop
    cat_game_loop((Game Loop))
    cat_game_loop --> cat_behavior
    cat_game_loop --> cat_banking
   
    %% Behavior
    cat_behavior((Behavior))
    cat_behavior --> crc_auto-save(crc-auto-save):::ready

    %% Banking
    cat_banking((Banking))
    cat_banking --> crc_paychecks(crc-paychecks*):::pending
    cat_banking --> crc_atm(crc-atms*):::pending
    cat_banking --> crc_banks(crc-banks*):::pending
    cat_banking --> cat_jobs

    %% Jobs
    cat_jobs((Jobs))

    %% Utility
    cat_utility((Utility))

    cat_utility --> crc_instructional_buttons(crc-instructional-buttons):::ready
    crc_instructional_buttons --> crc_native_menu(crc-native-menu):::ready

    cat_utility --> crc_chat(crc-chat*):::pending

    cat_utility --> crc_voice(crc-voice*):::pending
Loading

Built with mermaid.live

Pinned Loading

  1. altv-crc-core altv-crc-core Public

    The core TypeScript project to load other crc based repositories into for alt:V

    JavaScript 1

  2. crc-db crc-db Public

    A MongoDB database resource with cross-resource compatability.

    TypeScript

  3. crc-login crc-login Public

    alt:V login resource with cross resource compatibility

    TypeScript 2

  4. crc-discord-login crc-discord-login Public

    alt:V discord login resource with cross resource compatibility

    TypeScript 2

  5. crc-native-menu crc-native-menu Public

    A native menu built for alt:V

    TypeScript 1

  6. crc-resource-template crc-resource-template Public

    A resource template for starting a fresh crc plugin

    TypeScript 1

Repositories

Showing 10 of 20 repositories
  • crc-discord-login Public

    alt:V discord login resource with cross resource compatibility

    altv-crc/crc-discord-login’s past year of commit activity
    TypeScript 2 0 0 0 Updated Aug 1, 2023
  • crc-preview-character Public

    Spawn a pedestrian preview of a character based on the Appearance interface.

    altv-crc/crc-preview-character’s past year of commit activity
    TypeScript 0 0 0 0 Updated Aug 1, 2023
  • crc-select-character Public

    A character selection plugin for altv-crc

    altv-crc/crc-select-character’s past year of commit activity
    TypeScript 2 1 0 0 Updated Jul 16, 2023
  • .github Public
    altv-crc/.github’s past year of commit activity
    0 0 0 0 Updated Jul 16, 2023
  • crc-auto-save Public

    Automatically save health, armour, and position for a player.

    altv-crc/crc-auto-save’s past year of commit activity
    TypeScript 0 0 0 0 Updated Jul 16, 2023
  • altv-crc-core Public

    The core TypeScript project to load other crc based repositories into for alt:V

    altv-crc/altv-crc-core’s past year of commit activity
    JavaScript 1 0 0 0 Updated Jul 16, 2023
  • lib-cross-resource-cache Public

    A library that allows for cross-resource database synchronization with alt:V

    altv-crc/lib-cross-resource-cache’s past year of commit activity
    TypeScript 2 1 0 0 Updated Jul 16, 2023
  • crc-default-clothes Public

    Set a set of default clothes the player starts with after they spawn.

    altv-crc/crc-default-clothes’s past year of commit activity
    TypeScript 0 0 0 0 Updated Jul 16, 2023
  • install Public

    A collection of install scripts for different systems.

    altv-crc/install’s past year of commit activity
    PowerShell 0 0 0 0 Updated Jul 15, 2023
  • crc-native-menu Public

    A native menu built for alt:V

    altv-crc/crc-native-menu’s past year of commit activity
    TypeScript 1 0 0 0 Updated Jul 15, 2023

Top languages

Loading…

Most used topics

Loading…