1.0
This commit is contained in:
16
src/main/resources/Messages/exampleDiscord.yml
Normal file
16
src/main/resources/Messages/exampleDiscord.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
enable: true
|
||||
message: "[prefix] <aqua>If you need help, just contact us on our <color:#ffcb2e><hover:show_text:''<red>dc.t2code.net</red>''><click:open_url:''https://discord.t2code.net''>T2Code Support Discord server</click></hover></color>.</aqua>"
|
||||
sound:
|
||||
enable: true
|
||||
sound: BLOCK_NOTE_BLOCK_HARP
|
||||
permissionNeededToSeeMessage:
|
||||
enable: false
|
||||
permission: t2c.automatedmessages.messages.examplediscord
|
||||
intervalInMin: 20
|
||||
exactTime:
|
||||
enable: false
|
||||
timeMinute: '*'
|
||||
timeHour: '*'
|
||||
timeDayOfMonth: '*'
|
||||
timeMonth: '*'
|
||||
timeDayOfWeek: '*'
|
16
src/main/resources/Messages/exampleTime.yml
Normal file
16
src/main/resources/Messages/exampleTime.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
enable: true
|
||||
message: "[prefix] <aqua>Es ist jetzt <yellow>[time]</yellow></aqua>"
|
||||
sound:
|
||||
enable: true
|
||||
sound: BLOCK_NOTE_BLOCK_HARP
|
||||
permissionNeededToSeeMessage:
|
||||
enable: false
|
||||
permission: t2c.automatedmessages.messages.exampletime
|
||||
intervalInMin: 0
|
||||
exactTime:
|
||||
enable: true
|
||||
timeMinute: 0/15/30/45
|
||||
timeHour: '*'
|
||||
timeDayOfMonth: '*'
|
||||
timeMonth: '*'
|
||||
timeDayOfWeek: '*'
|
58
src/main/resources/Messages/xx_messagesDeclaration_xx.yml
Normal file
58
src/main/resources/Messages/xx_messagesDeclaration_xx.yml
Normal file
@@ -0,0 +1,58 @@
|
||||
#####################################################
|
||||
## 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: '*'
|
Reference in New Issue
Block a user