Описание
# TPA Command Mod
## Mod Introduction
TPA Command is a mod that allows players to send teleport requests to each other and interact through the chat interface.
## Features
- Supports the `/tpa ` command to send teleport requests
- Accept/Decline buttons appear in the chat interface for quick responses
- Supports canceling pending teleport requests
- Configurable to automatically accept teleport requests
- Configurable to block teleport requests
## How to Use
### Sending a Teleport Request
Use the `/tpa ` command to send a teleport request to another player. For example:
```
/tpa Steve
```
### Responding to Teleport Requests
When you receive a teleport request, the chat bar will display `[Accept|Decline]` buttons. Click the corresponding button to handle the request.
### Canceling a Teleport Request
After sending a request, you can use the `/tpa _cancel` command to cancel any pending teleport request.
## Command Descriptions
- `/tpa ` - Sends a teleport request to the specified player
- `/tpa config` - Opens the configuration interface
- `/tpa config autoAccept [on|off]` - Enable/disable automatically accepting teleport requests
- `/tpa config blockRequests [on|off]` - Enable/disable blocking teleport requests
- `/tpa _accept` - Accept a teleport request (usually triggered by clicking the button)
- `/tpa _deny` - Decline a teleport request (usually triggered by clicking the button)
- `/tpa _cancel` - Cancel a teleport request
## Configuration Options
Use the `/tpa config` command in-game to open the configuration interface, where you can see the following options:
- **Auto Accept** - Automatically accept all teleport requests
- **Block Requests** - Block all teleport requests
## Compatibility
- Dependency: Fabric API