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

# 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}"
