Sueta

EventPool

1.0.0

It's choose one or more lines from commands.yml and run it.

·Plugin

Event-Pool.png

How does it work:
Every X seconds it is select one or more command(s) from the commands.yml file and run it in the server.

config.yml

config.yml
//Interval (in seconds) between selections
select-interval: 500

/*
* false = choose 1 line from the commands.yml
* true = it has a chance to choose multiple lines from the commands.yml
*/
multiple-commands-selection: false

Placeholders:
In the commands.yml you can use these placeholders:

%player - it's select 1 player from the server and use it in every commands in a line
%new_player - It's select a random player in every commands.

How to install:

  1. Download the plugin
  2. Stop your server
  3. Put the plugin in the plugins folder
  4. Start your server
  5. enjoy :3

Commands:

  1. /ep help : Show the commands list
  2. /ep reload : Reload the config files
  3. /ep commands : List commands from the commands.yml
  4. /ep forcestart : Force start a selection

Permissions:

  1. eventpool.admin : Permission to use reload,commands and forcestart command.

Similar projects

Plugin →