> ## Documentation Index
> Fetch the complete documentation index at: https://help.freakhosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Install C# and JS Modules in Alt:V

> Enable advanced scripting support on your Alt:V server by installing and configuring the C# and JavaScript engine modules for custom game logic.

## Empowering Your Server Logic

The core Alt:V server environment is a high-performance, lightweight engine. To implement custom game mechanics, economy systems, or interactive UI elements, you must install specific "Modules" that provide the execution environment for programming languages like JavaScript, TypeScript, or C#.

<CardGroup cols={2}>
  <Card title="Difficulty" icon="gauge-low">
    Intermediate
  </Card>

  <Card title="Time" icon="clock">
    5 Minutes
  </Card>
</CardGroup>

***

## Installation & Configuration

Follow these steps to enable the necessary scripting modules on your FREAKHOSTING server.

<Steps>
  <Step title="Upload Module Binaries">
    Place the appropriate module files into the `/modules/` directory of your server.

    * **Linux Environments (Recommended):** Use shared object files (e.g., `libjs-module.so`).
    * **Windows Environments:** Use dynamic-link library files (e.g., `csharp-module.dll`).
  </Step>

  <Step title="Update server.cfg">
    Open your `server.cfg` (or `server.toml`) and register the modules within the `modules` array.

    ```yaml theme={null}
    modules: [
      'csharp-module',
      'js-module'
    ]
    ```
  </Step>

  <Step title="Initialize the Environment">
    Restart your server and monitor the **Console** tab. You should observe log entries confirming that the selected modules have been successfully initialized and are ready for script execution.
  </Step>
</Steps>

***

## Selecting Your Development Path

Alt:V supports multiple languages to accommodate different development workflows.

<Tabs>
  <Tab title="JavaScript / TypeScript">
    This is the most popular choice for the Alt:V community. It uses the `js-module` and provides access to the vast NPM ecosystem, making it ideal for rapid prototyping and large-scale web-integrated systems.
  </Tab>

  <Tab title="C# (.NET Core)">
    Perfect for developers with a background in Microsoft's .NET ecosystem. The `csharp-module` offers strong typing, excellent performance for heavy mathematical calculations, and a familiar environment for enterprise-level logic.
  </Tab>
</Tabs>

<Warning>
  ### File Permission Requirements

  When managing a Linux-based environment, ensure your module files have the appropriate execution permissions (typically `chmod 755`). If you are using our Game Panel, these permissions are automatically managed during the upload process.
</Warning>

***

## Advanced Module Tips

<AccordionGroup>
  <Accordion title="Version Synchronization">
    It is important that your module versions exactly match your server binary version. A mismatch can lead to silent crashes or unexpected behavior during script execution.
  </Accordion>

  <Accordion title="External Module Support">
    Alt:V also supports third-party modules for languages like Python or Rust. While these follow a similar installation pattern, always consult the specific module's documentation for unique dependency requirements.
  </Accordion>
</AccordionGroup>

***

<Note>
  ### Need Extra Help?

  If you encounter any issues, our support team is ready to assist:

  * **Live Chat:** Quick assistance via our website.
  * **Support Ticket:** [Open a Ticket](https://freakhosting.com/clientarea/submitticket.php)
  * **Discord:** [Join our Community](https://discord.gg/freakhosting)
  * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)
</Note>

<Tip>
  ### Save on Your Hosting

  Ready to get a new server? Use code **KB20** at checkout for **20% off** your first month!
</Tip>

***

<div align="center">
  **Last Updated:** January 2026 | **Logic:** Powering your gamemode.
</div>
