> For the complete documentation index, see [llms.txt](https://duddzy-scripts.gitbook.io/duddzy-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://duddzy-scripts.gitbook.io/duddzy-scripts-docs/scripts/duddzy-jail/showcase.md).

# Showcase

Heres a brief overview of the features:

***

### Jail Menu

#### /jail - (Opens the jail menu)

Here the player can type the prisoners user ID, the amount in minutes they will be sentenced and also set their bond amount. Only players with the job specified in the config can use this menu.

{% columns %}
{% column %}

<figure><img src="https://2958011398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl5z87maVNAxcmUYPwx6D%2Fuploads%2FOPUHg9BCa61jSDGxCA1i%2Fjailmenu.png?alt=media&amp;token=a5729b37-6cb3-498d-8214-663fd815b5ef" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}
Typing **/unjail** followed by the prisoners ID will immediately release them from jail. Handy if you set the wrong sentence duration or jail the wrong player by accident. They will get back their belongings and outfit as normal.

<figure><img src="https://2958011398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl5z87maVNAxcmUYPwx6D%2Fuploads%2FU35TQ7Wk24qizKndJGp7%2Funjail.png?alt=media&amp;token=72c332e3-bf51-4f7e-bdd2-7ddf8b64ce8b" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

Once the jail menu is confirmed they will immediately be teleported to the prison or whatever coordinates you define in the configuration file.

***

### Inside prison

Once inside prison the player will automatically be given the prison outfit set up in the config and will also be able to see how long they have left on their sentence in a simple text UI on the right side of their screen which will count down every minute.

{% columns %}
{% column %}

<figure><img src="https://2958011398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl5z87maVNAxcmUYPwx6D%2Fuploads%2FA9CtWBlLDyBrCeHQHeJS%2Fjailoutfit.png?alt=media&amp;token=359925b4-2d41-4091-a212-197baf79bbf8" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

<figure><img src="https://2958011398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl5z87maVNAxcmUYPwx6D%2Fuploads%2Fdd06CJkVhg4MIAwjk34j%2Fjailcounter.png?alt=media&amp;token=7acae634-4ab6-411d-85bf-e642a6969123" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

***

### Bail Bond System

The Bail NPCs location can be defined in the config.

Like mentioned before the player can set a bond amount in the jail menu when sentencing the prisoner which can be paid by another player (The prisoners friend or something) at the Bail NPC.

{% columns %}
{% column %}

<figure><img src="https://2958011398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl5z87maVNAxcmUYPwx6D%2Fuploads%2FuBh7OToGWk9V1rrjyxmM%2Fbailmenu.png?alt=media&amp;token=01407bb7-0a1f-49d0-a440-8149f3600b0d" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

<figure><img src="https://2958011398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl5z87maVNAxcmUYPwx6D%2Fuploads%2FNY7vRS2V2zur8xwecPFm%2Fbailpay.png?alt=media&amp;token=c80c3a5c-6281-4406-b0e8-a6fc96d7f335" alt=""><figcaption></figcaption></figure>

{% endcolumn %}
{% endcolumns %}

Once the bond is paid the prisoner will be released immediately and given back everything they had like a normal release.

***

### Medical NPC

It's a good idea to have this doctor NPC inside the prison somewhere incase the prisoner somehow gets injured during their sentence.&#x20;

(Attacking keybinds are disabled for the prisoner when in prison but just incase)

<figure><img src="https://2958011398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl5z87maVNAxcmUYPwx6D%2Fuploads%2FzUox2b0g73cB0vVJpfZK%2Fmedical.png?alt=media&amp;token=ad02584e-07d5-4cf7-9dd0-9eab4056ed56" alt=""><figcaption></figcaption></figure>

Like all the other NPCs the location of the doctor can be defined in the config.

***

### Car Rental NPC

Once the player is released from prison it's ideal to have a car rental NPC just outside the gates so when they are released they can get back to the city without comitting another crime to steal a car.

The cost to rent the cars and also the types of cars they can rent can be defined in the config.

**Side Note:** You could technically use this system to place a bunch of car rental NPCs around your city  if you don't have a system like this in place already.

<figure><img src="https://2958011398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl5z87maVNAxcmUYPwx6D%2Fuploads%2FFTO74Ja8G8f9j4i4fe22%2Frentvehicle.png?alt=media&amp;token=f381b824-300b-45b1-955c-c71f5165e965" alt=""><figcaption></figcaption></figure>

**Be sure to set up your fuel system correctly in the config to make sure your rental cars spawn will a full tank of gas.**

***

<h4 align="center"><strong>And thats everything covered! If you find any bugs or have suggestions for features I could add reach out to my discord!</strong></h4>
