# 9 - Arena(Senior Function)

## Introduction

I will introduction more function regarding to arena to you

## Set watching point

You can type **/dt a sw \<Arena editname>** to set the watching point at you current location and enable the watching game function

Type **/dt a rw \<Arena editname>** to disable it

After setting the point.Players can watch a game being held by **/dt watch \<Arena editname> .**&#x59;ou can also view all the arena's real-time INFO by **/dt ainfo**

## Start or End a game compulsively

| Command                                          | Action                    |
| ------------------------------------------------ | ------------------------- |
| /dt game \<Arena Editname> \<Player1> \<Player2> | Start a game compulsively |
| /dt stop \<Arena Editname>                       | End a game compulsively   |

## Whitelist of the worlds which allow player to start a game

```
WorldLimit:
  Enable: true
  Worlds:
    - 'example_pvp_world1'
    - 'example_pvp_world2'
```

## Timetable allow player to start a game

```
Timetable:
  Searching:
    - 8:30-9:30
    - 14:30-15:30
    - 20:00-21:00
  Invite:
    - 0:00-23:55
```

## Item limit

If you don't want player have a game with some items.You can limit the items by material or lore

```
ItemLimit:
  Material:
  - SNOW_BALL
  - FISHING_ROD
  Lore:
  - '&aTest lore'
```

## Set the min times for broadcasting winning streak

The winning streak of a player must more than a value,or it will not be broadcast

In the config.yml

```
Broadcast-Winning-Streak-Times: 3
```

### Set the material of the ARENA CREATING TOOLS

In the config.yml

```
Arena-Creator-Material: STICK
```

## Commands which can be executed when a game start

You can set some commands which will be executed in different identities when a game start.

Usage: **/dt a commands add \<Arena editname> \<Way(op/player/console)> \<context>**

For example: **/dt a commands add test console effect\_{player}\_speed\_30\_2**

You can replace blank with "\_" and replace player name with "{player}"


---

# 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://1392847363.gitbook.io/dantiao-plugin/9.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.
