RandomTopic
PluginMIT

RandomTopic

Announce random topics from a customized list to all players with a single command

22
Downloads
0
Followers
3 months ago
Updated
📦
1
Versions

📖About RandomTopic

A Minecraft-Like Logo with the words Random in blue and Topic in purple under the blue Random text, creating the word RandomTopic.

RandomTopic - the Minecraft Plugin.

Want to make your chat more lively? Use the RandomTopic plugin!
This plugin allows players to use command /randomtopic and it will randomly choose from preselected topics that you can configure in the config.

RandomTopic is open source, resource efficient, and is open to community contributions.

We are open to:

  • Pull requests - Adding code, features, or creating new language files.
  • Suggestions

Open language contributing information

Documentation Available:

Config:

Default Configuration

# 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.

Plugin Info

Permissions and commands that are apart 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 (config.yml) and language (lang.yml) 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