# Open Source

All Free Scripts can also be found directly on our github:&#x20;

{% embed url="<https://github.com/TWH-Scripts>" %}

{% tabs %}
{% tab title="Scratchcards" %}
twh\_lottery is a feature-rich script that allows you to create an engaging and dynamic lottery system using scratch cards on your server.

**Key Features:**

* Create multiple scratch card items, offering a variety of chances and prizes for players.
* Easily customize chances and prices for each scratch card, providing a tailored lottery experience.
* Set up NPCs to exchange cards with players or deliver winnings directly to them.
* Integration with webhooks and localization ensures seamless communication and customization.

Add excitement and opportunity to your server with twh\_lottery, a customizable and entertaining lottery system that keeps players engaged and eager to try their luck.

{% embed url="<https://github.com/TWH-Scripts/twh_lottery>" %}
{% endtab %}

{% tab title="Trashcans" %}
twh\_trashcan is a practical and immersive script that allows server admins to set up trashcans with clear dates, item limits, restrictions, and dynamic spawning. Customize each trashcan with individual models or opt for a no-model approach.

**Key Features:**

* Set up trashcans with clear dates, ensuring a clean and well-maintained environment.
* Establish item limits and restrictions for each trashcan, providing better control over the items players can discard.
* Customize each trashcan with individual models or go without any model for a minimalist approach.
* Dynamically spawn and despawn trashcan objects, allowing for smooth and efficient performance.

Bring a touch of realism to your server with twh\_trashcan, a script that enables you to manage trashcans effectively while enhancing the overall player experience by maintaining a clean and orderly game environment.

{% embed url="<https://github.com/TWH-Scripts/twh_trashcan>" %}
{% endtab %}

{% tab title="Interactable Props" %}
twh\_searchProps is a versatile and immersive script that enables players to search props and interactable objects such as drawers or chests for loot in your server. It offers easy language and configuration setup.

**Key Features:**

* Set up individual props that can be searched, allowing for a more interactive environment.
* Customize animations, chances, and loot for each prop or use default settings.
* All lootable props are reset and can be searched again at server restart.
* Enable loot when interacting with drawers, chests, or other interactable objects in the game world.
* Add as many objects as desired with custom chances and loot or use default settings.
* All lootable objects are reset and can be searched again at server restart.

Enhance the player experience on your server with twh\_searchProps, a script that brings added depth and realism to your game world by making props and interactable objects lootable and engaging.

{% embed url="<https://github.com/TWH-Scripts/twh_searchProps>" %}
{% endtab %}

{% tab title="Respawn" %}

Enhance your server's gameplay with `twh_respawn`, a dynamic and customizable respawn script designed for immersive and strategic player experiences.

**Key Features:**

* **Full twh\_social Integration:** Customize loot drops according to social levels, adding depth to your server's social dynamics.
* **Mega DoctorJob Compatibility:** Incorporate unique diseases on respawn, offering diverse gameplay challenges.
* **Flexible Respawn Options:**
  * **Lost and Found Recovery:** Players can retrieve their items at a lost and found bureau, adding a realistic twist with a cash payment system.
  * **On-Site Item Pickup:** Enable players to return to their death location to reclaim their belongings, creating a sense of urgency and adventure.
  * **Open Loot Recovery:** Allow anyone to pick up loot at the respawn location, fostering interactions and potential conflicts among players.
* **Configurable Settings:** Tailor the respawn experience with adjustable chances, blacklisted items, and more, to fit your server's unique style and gameplay.
* **Immersive Gameplay:** `twh_respawn` integrates seamlessly into the RedM environment, ensuring a natural and engaging player experience.
  {% endtab %}

{% tab title="StartTipps" %}
Enhance your server's loading screens with `twh_startTipps`. This simple, yet effective script allows you to display customizable quotes or tips during the loading screen, offering a unique way to educate or entertain players as they join.

**Key Advantage:**

* Engage and inform players right from the start with hints about server systems, gameplay tips, or just fun, thematic texts.

It's a straightforward, impactful way to set the tone for your players' in-game experience!
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.western-hills.de/resources/open-source.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
