> For the complete documentation index, see [llms.txt](https://docs.rainmad.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rainmad.com/resources/watch-admin-menu/features/events-polls-teams-and-markers.md).

# Events polls teams and markers

The **Community** tab of the menu and the Community pages of the web panel (Events, Polls, Teams, and the **Marker** tool on the Live map). Reading the lists needs moderator, changing them admin; move either in the group editor (category **Events, polls and teams**).

## Events

An event has a title, details, a start time and, optionally, a join point.

| Repeat          | What happens                                            |
| --------------- | ------------------------------------------------------- |
| Once            | Runs at the start time, then shows as done.             |
| Daily           | Every day at the time of the first run.                 |
| Weekly          | On the weekdays you tick, at the time of the first run. |
| Custom interval | Every N minutes from the first run, 30 or more.         |

* Times follow the game server's clock. A recurring event can have a last day.
* **Pause** stops a recurring event without deleting it. **Start now** runs any event at once.
* **Reminders:** up to four, in minutes before the start (for example `30, 10, 1`). Each is a notice on every player's screen, and everyone gets a "starting now" notice at the start.
* A run that falls while the server is off is skipped, not announced late.

**Join point:** everyone gets a blip to it from the first reminder until joining closes. After the start, players can join for the minutes you set (`cfg.community.joinMinutes` by default) with `/joinevent`:

* with **Teleport joiners** on, they are taken to the join point, a few metres apart;
* with it off, they get a waypoint.

Jailed players cannot join. The event shows who joined, **Close joining** ends the window early, and a team can take everyone who joined in one click.

## Polls

A poll has a title and one to five questions with two to eight answers each. A question can allow several answers. Pick how long it stays open (up to `pollMaxMinutes`) and:

* **Anonymous:** staff see the numbers, never who voted what.
* **Results at the end only:** players see the numbers when the poll closes.

Every player gets a notice when a poll opens. `/vote` opens the vote card (players can also bind a key, "Open the poll vote card"). One ballot per player; voting again before it closes replaces it. When it closes, by hand or on time, every player sees the result. Closed polls are kept for 180 days.

## Teams

Temporary teams for an event: a name, one of nine colours, and players added one by one or from an event's joiners. A player is in one team at a time.

| Setting         | Effect                                                                    |
| --------------- | ------------------------------------------------------------------------- |
| Blips           | Teammates see each other on the map, everyone sees the team, or no blips. |
| Tags over heads | The team name in its colour over members within `teamTagRange` metres.    |

**Give a kit** gives every member the same items (up to ten, by item name) through your inventory. **Teleport** moves the whole team to you (in game) or to a player (web). Teams end when the server restarts, and a player who leaves drops out of their team.

## Markers

Marker types 0 to 43 with a label, colour, opacity, size, bob, spin and face camera options, and a lifetime (15 minutes to a day, or until removed). Place one at your feet from the menu, or click the Live map's 2D view with the **Marker** tool on the web panel. The web map only knows the height roughly, so by default each player's game puts that marker on the ground.

Players within `markerDistance` metres see it, and the label shows within 15 metres.

## Configuration

```lua
cfg.community = {
    joinCommand = 'joinevent',  -- '' turns joining off
    joinMinutes = 15,           -- default minutes an event can be joined after it starts
    voteCommand = 'vote',
    voteKey = '',               -- default key for the vote card, '' = unbound
    pollMaxMinutes = 10080,     -- 7 days
    markerDistance = 60.0,
    teamTagRange = 40.0,
}
```

{% hint style="info" %}
**RedM:** only the cylinder marker is available. `/joinevent` without a teleport sets a GPS route instead of a waypoint, and `voteKey` is a game control name. See [Differences from FiveM](https://docs.rainmad.com/resources/watch-admin-menu/redm/differences-from-fivem).
{% endhint %}
