RandomTopic Documentation

What is RandomTopic?

RandomTopic is a Minecraft Java Plugin that lets you/your players run a command to announce per-determined "topics" from a list to liven your chat and get players chatting. An example is shown below:



Prerequisites

To use RandomTopic on your server, you will need:

    - A Minecraft Server Running Paper, Spigot or any (untested) fork of Spigot.
    - A server running Minecraft Version 1.21 or later.
    - (Optional) A permissions plugin, such as Luckperms.
    - Access to your Server Console

Getting Started

To set up and use RandomTopic, first download the plugin. To do so, you can:


Once you've downloaded the plugin, simply put the plugin in your plugins folder. This is usually under /plugins

Restart your server to enable the plugin.

You will probably want to change the configuration file to add topics that your server is more interested in. This is explained more within the Configuration Section



Configuration

To configure topics, messages and more, you will need to do this in the configuration files. There are two main configuration files within the plugin; config.yml and lang.yml

config.yml is where most of the plugins configuration, such as topics, messages, cooldown and more, are configured.

The lang.yml file is for those who want to change most of the plugins messages to either match a different language or just to change what is said when commands are executed.

If you want the plugin to use a different language for the messages, we have some premade configs on our Codeberg Repository which you can simply copy into the existing file.

/RandomTopic/languages

If you do not find your preffered language, you can simply edit the lang.yml file yourself.


The configuration files for RandomTopic are stored at /plugins/RandomTopic/.

The configuration is pretty self-explanatory. You can edit the files and then save them. Once you've configured them to your liking, run the command /randomtopic-reload in game or through console to reload the config and language files.

For reference, the default configuration file is:

# RandomTopic Plugin Config
# Made by Ray_y
# Need help? Visit the Support Discord at: https://discord.gg/EshbnCjhfc

commandprefix: "§a[§fRandomTopic§a]"
# ^^ This changes the prefix of the command prefix.

randomTopicList:
  - Random Topic 1!
  - Random Topic 2!
  - Random Topic 3!
  - Random Topic 4!
# This is your customizable topic list! You can edit the list here or add or remove more elements which will be randomly selected
# when the randomtopic command is run! (/randomtopic)

check-for-updates-on-join: true
# ^^ Send a message to any player the joins with the permission "randomtopic.updatecheck" if there is an update
# that is available to download.

# -- **Messages** --
nopermsmsg: "§cYou do not have permission to use this command."
# ^^ Message that is sent when a user does not have permission to use a command in the plugin
cooldown-message: "§cThis command has been executed by another player already recently! Please wait %time-remaining% seconds."
# ^^ Message that is sent when a player executes the /randomtopic command but the command is on cooldown.
# Only works if global-cooldown is "enabled"

# -- **Other** --
global-cooldown: enabled
# ^^ Choice of whether a global cooldown is enabled on the /randomtopic command. This cooldown affects **ALL PLAYERS** not just the sender.
global-cooldown-time: 10
# ^^ If global-cooldown is enabled, this option will be how long the global command cooldown is. This is measured in seconds.


Commands and Permissions

RandomTopic has many commands and permissions for those commands. The following list will show you all commands and permissions that are a part of the plugin.

Commands
randomtopic:
- description: Announce a random topic from the configured list!
- aliases: topic, rtopic, randomtpc
randomtopic-reload:
- description: Reload the randomtopic configuration file.
randomtopic-checkforupdates:
- description: Check for any available updates
randomtopic-list:
- description: Sends all of the configured topics in config.
        
Permissions
randomtopic.usecommand:
- description: Allows the player to use the /randomtopic command!
randomtopic.reload:
- description: Allows player to reload the randomtopic configuration file.
randomtopic.updatecheck:
- description: Allows the player to check for any plugin updates.
randomtopic.list:
- description: Allows the player to view the list of topics set using /randomtopic-list 
        


Plugin Features

A mostly complete list of the features that come with RandomTopic:

Global Cooldown
    - Make a custom, global command cooldown for the /randomtopic command.
    - Configure the global cooldown time, if it is enabled and cooldown message within the config file.
Topic List
    - Customize the different topics that are shown.
    - A new topic from this list is chosen when the randomtopic command is executed.
    - Configure the topic list within the config file. You can have more or less than the 4 example ones, just follow the format that is provided.
Update Checker
    - Enable or Disable an Update Checker to make sure you're on the latest version.
    - Configurable in the config file.
Customize every plugin message from the lang.yml file.
    - Either want different messages or make them your server's language, you can customize them.
    - Configure messages in the lang.yml file.


Get Help

If you are confused on how to use the plugin, found a bug, or want to get in contact, please select the most relevent option from the options below.

Issues:
    If you are experiencing an issue/bug with the plugin, please make an issue request on our Codeberg or get in touch on our Discord.
Need help with features:
    If you have a question or are confused on a certain area of the plugin. then contact us on our Discord
Contribution:
    If you would like to contribute to the plugin with either new lang.yml files or new code, please submit a pull request on our Codeberg repository.
Suggestions
    If you would like to suggest a feature, but do not know how to or do not want to contribute, you can make a suggestion on our Discord Server.
Other:
    If you want to get in contact for any other reason, you can email us or contact us on our Discord.



Ray's Plugin Documentation

© Ray_y 2026 · License: GPL-2.0 | Source: View Source