Some Info
Hello, here is my first plugin, Auto-Message, it allows you to send multiple messages which after a specified time will be sent in a loop (below is an example plugin configuration file). Plugin was tested only on 1.19.4!
Aditional features:
Unique function which I called "tags", it allows you to set the response to a given word (example in config below)
Commands:
/automessage - gives list of commands.
/automessage toggle - Toggles the Auto-Message
/automessage reload - Reload config (Must be used after adding or deleting a message)
/automessage add - Adds new messanges to config
/automessage remove - Removes messages from config (you can find the number of message by typing /automessage list)
/automessage list - Displays list of messages and their numeration
Permissions:
- "automessage.manage"
Example config file:
Code (YAML):
enabled
: true
Sound-on-message
: true
# How much time passes between each message being sent, measured in seconds
cooldown
: 60
# List of messages to be sent in the chat, you can use all kinds of colors using the & sign
messages
:
- 'Example1'
- '&cExample2'
- '&l&6Example3'
# (LOWERCASE TAGS ONLY!!!!) A list of tags or special words after the use of which the response will be sent, each tag in the game begins with the # sign, for example "#spigot"
tags:
- tag
: spigot
messages
:
- '&bLink to my spigotmc account&r https://www.spigotmc.org/members/altairyt.1831292/'
- tag
: anotherexample
messages
:
- '&5How are you?'
If you have an idea for a plugin, write about it in the comments section!