Mineuniverse
Log in Register
Plugins

CommandRandomizer

Executes commands on players periodically and with a given probability.
by _ForgeUser9984246
Download Claim this project
427 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools General Mechanics

Created on request from the Bukkit forums.

This plugin executes commands on players periodically with a given probability. The example config.yml file should be self-explanatory:

#Commands can be declared here
#Every command must have the following keys:
#command: "<text>"   - The command to execute (without a /). Every {p} in this command will be replaced by a players name.
#mode: <number>   - The mode of the command. Can be either 1 or 2. In mode 1 the command will be executed by the console, in mode 2 the command will be executed by the player.
#delay: <number>   - The delay of the first execution of the command after a server (re)start, in seconds. Can be 0.
#time: <number>   - The time between command executions, in seconds. Must be 1 at least.
#probability: <number>   - The probability with which the command will be performed for each player. Must be between 0.0 and 1.0.

#Will give every player one diamond with a probability of 50 percent every minute.
consolecommand:
  command: "/give {p} diamond 1"
  mode: 1
  delay: 30
  time: 60
  probability: 0.5

#Will make every player kill himself with a probability of 10 percent every 15 minutes.
playercommand:
  command: "/kill"
  mode: 2
  delay: 900
  time: 900
  probability: 0.1
CommandRandomizer
MC 1.8.1
Beta 2015-12-30 Get

More from _ForgeUser9984246

ItemCurrency
667
EyeOnYou
624

You Might Also Like

AdBolt Advertising Network
Make money from your Minecraft server by running ads!
9,992
Mineload
Mineload
9,978
BeastTP
BeastTP v1.0 - Teleportation Made Easy! -[Permissions][1317]
9,966
RegionManager
generate regions with just one command!
9,950
TimeKeeper
Keep the Server-Playtime per Day
9,948
SimpleAdmin
simple way to ban/kick unwanted players from your server
9,945