T2C-AutomatedMessages | [1.8.x - 1.21] icon

T2C-AutomatedMessages | [1.8.x - 1.21] -----

Automated messages / Time controlled messages



[​IMG]
[​IMG]
[​IMG]

With this plugin you can send automated messages to your players in the chat in a time interval or at certain times.

Create a separate file for each message to not lose the overview!

This plugin supports Kyori MiniMessages.

Code (YAML):
plugin:
  updateCheck
:
    onJoin
: true
    seePreReleaseUpdates
: true
    timeInterval
: 60
  prefix
: <dark_gray> [<dark_red>T2C</dark_red>-<color: #5cff5c>Automated</color><color:#69d2ff>Messages</color>]</dark_gray>
  broadcastInConsole
: true
  timeFormat
: HH:mm:ss yyyy/MM/dd
  messages
:
    reloadStart
: ' [prefix ] Reload starting ...'
    reloadEnd
: ' [prefix ] Reload successful.'

Create a separate file for each message to not lose the overview!
Code (YAML):
#####################################################
## To add another Function just create a new file. ##
#####################################################

# Here you can set whether the message should be activated or deactivated.
enable
: false
# Specify here the message that the player should get.
#
# Placeholder:
#   [player] = the player name of the recipient of the message.
#   [time] = The current system time.
#   [prefix] = The prefix set from config.yml.
#
# You can use Minecraft custom color codes: https://minecraft.fandom.com/de/wiki/Formatierungscodes
# You can use the hover module from T2Code:
#   You can add a hover and/or clickable feature to all messages sent to players.
#   Use /*/ to separate the message.
#   Use [nl] to set a line break in a message or hover.
#   Hover message: <message >/*/<hover>
#   Message with hover and click function: <message >/*/<hover>/*/<action>/*/<actionValue>
#   Message only with click function: <message >/*//*/<action>/*/<actionValue>
#   Action:
#     - OPEN_URL - Opens a URL under the path specified in ActionValue.
#     - OPEN_FILE - Opens a file under the path specified by ActionValue.
#     - RUN_COMMAND - Runs the command specified by ActionValue.
#     - SUGGEST_COMMAND - Inserts the string specified in ActionValue into the player text box.
#     - CHANGE_PAGE - Changes to the page number in a book specified by ActionValue.
#     - COPY_TO_CLIPBOARD - Copies the string specified by ActionValue to the player's clipboard.
# You can also use MiniMessage:
#   Wiki: https://docs.adventure.kyori.net/minimessage/format.html
#   WebUI: https://webui.adventure.kyori.net
message
: ''
sound
:
  # Here you can set whether a sound should be played with the message.
  enable
: true
  # Here you can set which sound should be played.
  sound
: BLOCK_NOTE_BLOCK_HARP
permissionNeededToSeeMessage
:
  # Here you can set whether the players need a permission to receive the message.
  enable
: false
  # Here you can set if the players need which permission to receive the message.
  permission
: t2c.automatedmessages.messages.exampletime
# Here you can set the time interval (in minutes) at which the message should be sent.
intervalInMin
: 1
exactTime
:
  # Here you can set whether the message should be sent at certain times.
  # If this option is used, then the intervalInMin option is disabled!
  enable
: false
  # In these settings you can set at which minute, hour, day of the month, which month and on which day of the week the message should be sent.
  # Time format examples:
  #   One: 5
  #   At several times: 5/10/15
  #   Every minute, hour, etc.: '*'
  timeMinute
: 0
  timeHour
: '*'
  timeDayOfMonth
: '*'
  timeMonth
: '*'
  timeDayOfWeek
: '*'

You can use MiniMessage:
Wiki: https://docs.adventure.kyori.net/minimessage/format.html
WebUI: https://webui.adventure.kyori.net

[​IMG]

/t2c-automatedmessages | /automatedmessages | /amsg

/t2c-automatedmessages reload - OReload the Plugin | t2c.automatedmessages.admin
/t2c-automatedmessages info - See the current plugin version.|
t2c.automatedmessages.admin

[​IMG]

- T2CodeLib

Servers Using T2C-AutomatedMessages:
(Contact me via Discord, Issue or PM if you want to add your serer)
- alpha-fox.eu (1.12 - 1.19.4)


[​IMG]


[​IMG]
[​IMG]
Resource Information
Author:
----------
Total Downloads: 348
First Release: Jun 27, 2023
Last Update: Aug 4, 2023
Category: ---------------
All-Time Rating:
1 ratings
Find more info at git.t2code.net...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings