Commands: - /randomtopic - Selects a random topic from a list of configurable topics. - /randomtopic-reload - Reloads the config.yml file. - /randomtopic-list - Lists all items in the "randomTopicList" section of config - /randomtopic-checkforupdates - Checks for any updates that are available
Features: - Customizable messages - Permissions for all commands in the plugin - Easy to use/understand config!
Default Config:
Code (YAML):
# 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.