> For the complete documentation index, see [llms.txt](https://plugins-1.gitbook.io/plugins/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plugins-1.gitbook.io/plugins/products/spoof/modules/actions.md).

# Actions

This module runs actions (such as commands, messages etc) on a random spoofed player on the server. The idea of this can be useful for sending fake donation messages, or teleporting them to random places.

## Configuration

```yaml
modules:
  action:
    enabled: true
    settings:
      delay:
        min: 1
        max: 10
      actions:
        test:
          chance: 100
          list:
            - '[PLAYER] me Hey!'
            - '[CONSOLE] spawn %player%'
```

## Explanation

* Enabled: Whether this module should be toggled in-game.
* Delay: The minimum and maximum amount of seconds to wait before picking another player.
* Actions: The list of commands (with chance) for running, e.g. send a broadcast and run a command.
