DiceRoll is a simple Spigot plugin that adds a new command to your Minecraft server: /roll. With this command, your players can simulate rolling a die with a specified number of sides. When a player runs the command, the plugin generates a random number between 1 and the number of sides specified and broadcasts a message to all players on the server, indicating the player who rolled the die and the number that was rolled.
Here's the usage of the command: /roll <sides>. The <sides> argument should be a positive integer that represents the number of sides on the die being rolled. For example, to roll a 20-sided die, a player would run /roll 20. The plugin will then generate a random number between 1 and 20 and broadcast a message to all players on the server, indicating who rolled the die and what number was rolled.
In addition to the /roll command, the plugin also includes an alias, /dice, for players who prefer that command instead.