# Admin Guide

The system includes built-in administrative tools to monitor the economy and dynamically alter ATM locations across the map.

## 1. ATM Placement Mode (Raycast)

`src-bank` contains a Raycast tool allowing you to place ATM objects like `prop_atm_03` directly within the game, avoiding the need for external map editing software.

1. Type `/atmadmin` (`Config.AdminCommands.AtmAdmin`) in the in-game chat.
2. An exclusive administration panel notification will appear at the top-right corner.
3. Using the configured keyboard inputs (e.g., **L** as defined by `Config.AdminKeys.ToggleRaycast`), point at a surface with your mouse and place the ghosted ATM prop gracefully onto the environment.
4. Through the pop-up menu, select "Delete (`DeleteAtm`)" to entirely remove an already placed ATM from your server.

## 2. Credit & Record Mode (Loan Debug)

This command allows you to view the loan status, debt history, and registry of players who have defaulted, missed installments, or entered the blacklist without accessing the SQL database directly.

* Command Usage: `/loandebug [player_id]`
* (If `Config.AdminCommands.LoanDebug` has been modified, use your updated command).
* You can supervise the player's total loan balance, unpaid sum history, and record status dynamically from the Debug interface.

## 3. Authorization Standards

To prevent data manipulation, these panels rely on your framework's permission structure (Group System):

|                                       Framework                                      | Authorization Levels (Group) |
| :----------------------------------------------------------------------------------: | ---------------------------- |
|                                      `qbx_core`                                      | `'god', 'admin'`             |
|                                       `qb-core`                                      | `'god', 'admin'`             |
|                                     `es_extended`                                    | `'superadmin', 'admin'`      |
| *(Configurations can be modified to match custom groups using `Config.AdminGroups`)* |                              |

***

*Developers can efficiently interlock using the (Open/Shared) exports. Don't forget to examine the Export/API sections for customized integration specifics.*


---

# 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.sourcedev.pro/advanced-banking-system/admin-guide.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.
