Skip to content

Configuration

Matthijs Irik edited this page Apr 18, 2022 · 2 revisions

config.yml

######################################################################
#                                                                    #
#                            WayPointChat                            #
#                    Created by Branchyz, WayPoint                   #
#                        --------------------                        #
#                             config.yml                             #
#                                                                    #
#                    https://discord.gg/8jYpH3H2fG                   #
######################################################################

motd-title:
  fade-in: 20 # Ticks
  stay: 60 # Ticks
  fade-out: 20 # Ticks

clear-chat-iterations: 100

messages.yml

######################################################################
#                                                                    #
#                            WayPointChat                            #
#                    Created by Branchyz, WayPoint                   #
#                        --------------------                        #
#                            messages.yml                            #
#                                                                    #
#                    https://discord.gg/8jYpH3H2fG                   #
######################################################################

# Notes:
# All messages in here start with the prefix!
# You can use color codes (&).

# The prefix of the plugin.
prefix: "&6[WayPointChat] "

# This prefix is being used for broadcasts.
broadcast-prefix: "&6[Broadcast]&r "

# This message is send to the player if the player doesn"t have the required permission.
no-permission: "&cYou don't have permission for that!"

# This message is sent to the command executor if this command executor is not a player (for player specific commands only).
not-a-player: "&cYou need to be a player do that!"

# This message is sent to the player if the player has used a command incorrectly.
# Placeholders:
# %usage% - The correct usage of the command.
invalid-usage: "&cInvalid usage! Usage: %usage%"

# If the player joins the server, the player will see this message on screen (as a title).
# Placeholders:
# %player% - The name of the player.
title-motd: "&6Welcome to the server!"

# If the player joins the server, the player will see this message on screen (as a subtitle).
# Placeholders:
# %player% - The name of the player.
subtitle-motd: "&6%player%"

# This message is sent to the player when the player uses a curse word (from the curse-words.yml config).
curse-word-used: "&cPlease do not curse in chat!"

# This message is sent to players with the permission "waypoint.cursewords.alert" when a player uses a curse word in chat (from the curse-words.yml config).
# Placeholders:
# %player% - The name of the player who used the curse word.
# %curse-word% - The curse word.
curse-word-alert: "&c%player% tried to use a curse word (%curse-word%)!"

# This message is sent if a player tries to chat while the chat is muted.
chat-is-muted: "&cThe chat is muted!"

# This message is sent to the player when the player mutes the chat.
chat-muted-toggle-on: "&6The chat is now muted!"

# This message is sent to the player when the player unmutes the chat.
chat-muted-toggle-off: "&6The chat is now unmuted!"

# This message will be sent to everyone when the chat is cleared.
chat-is-cleared: "&6The chat has been cleared!"

# This message is sent to all players on the server when a countdown has ended.
# Placeholders:
# %countdown-name% - The countdown that has ended.
countdown-ended: "&6The countdown %countdown-name% has ended!"

# This message will be sent to the player if the player uses the countdown command incorrectly.
# Placeholders:
# %start-usage% - The correct usage of the start subcommand.
# %stop-usage% - The correct usage of the stop subcommand.
countdown-command-help: "&cUse %start-usage% or %stop-usage%!"

# This message is sent if no action is found with that name (in the countdown config).
# Placeholders:
# %action-name% - The name of the action.
action-not-found: "&cNo action found with the name %action-name%!"

# This message is sent to the player when the player starts a countdown.
countdown-started: "&6The countdown has started!"

# This message is sent to the player when the player stops a countdown.
countdown-stopped: "&6The countdown has been stopped!"

# This message is sent to the player if the player tries to start a countdown that is already in progress.
countdown-already-exist: "&cThat countdown already exist!"

# This message is sent to the player if the player tries to stop a countdown that does not exist.
countdown-does-not-exist: "&cThat countdown doesn't exist!"

commands.yml

######################################################################
#                                                                    #
#                            WayPointChat                            #
#                    Created by Branchyz, WayPoint                   #
#                        --------------------                        #
#                            commands.yml                            #
#                                                                    #
#                    https://discord.gg/8jYpH3H2fG                   #
######################################################################

# Notes:
# The prefix is not used in the info commands, you have to set it manually.

#Example:
discord-command:
  command: "discord" # DO NOT USE A SLASH HERE!
  aliases: ["dc"] # DO NOT USE A SLASH HERE!
  permission: "discord" # NOTE: ALL permissions start with "waypoint."
  output:
    - "&6Our &6&lDiscord&r&6 Server:"
    - "&6https://discord.gg/spigotmc"

website-command:
  command: "website"
  aliases: [] # No aliases
  permission: "website"
  output:
    - "&6Our &6&lWebsite&r&6:"
    - "&6https://www.spigotmc.org/"

auto-broadcast.yml

######################################################################
#                                                                    #
#                            WayPointChat                            #
#                    Created by Branchyz, WayPoint                   #
#                        --------------------                        #
#                         auto-broadcast.yml                         #
#                                                                    #
#                    https://discord.gg/8jYpH3H2fG                   #
######################################################################

# Notes:
# "start" is how long it takes in minutes to broadcast for the first time.
# With "start" you can time the broadcasts, so that they don't all broadcast at the same time.
# "interval" is the amount of time in minutes between broadcasts.
# "world" is an optional parameter, if set, the message will only be sent to players in that world.

auto-broadcast:
  discord:
    messages:
      - "&6Don't forget to join our Discord server!"
      - "&6Our &6&lDiscord&r&6 Server:"
      - "&6https://discord.gg/spigotmc"
    start: 0 #Minutes
    interval: 10 #Minutes
    world: "discord-world" # Name of the world, this auto-broadcast will only display in the world named "discord-world".
  website:
    messages:
      - "&6Don't forget to visit our website!"
      - "&6Our &6&lWebsite&r&6:"
      - "&6https://www.spigotmc.org/"
    start: 5 #Minutes
    interval: 10 #Minutes

countdown.yml

######################################################################
#                                                                    #
#                            WayPointChat                            #
#                    Created by Branchyz, WayPoint                   #
#                        --------------------                        #
#                            countdown.yml                           #
#                                                                    #
#                    https://discord.gg/8jYpH3H2fG                   #
######################################################################

# Notes:
# Actions are directly performed commands by the console. No slash (/) needed.
# You can use any command!

# The format used for the countdown.
# Don't forget that you can also use color codes here!
# Placeholders: %time% & %countdown-name%.
countdown-format: "&6%countdown-name%: %time%"

# Define your actions here.
actions:
  restart:
  - restart
  stop:
  - stop
  give-cookies:
  - give @a cookie 64
  - broadcast Cookies!

curse-words.yml

######################################################################
#                                                                    #
#                            WayPointChat                            #
#                    Created by Branchyz, WayPoint                   #
#                        --------------------                        #
#                           curse-words.yml                          #
#                                                                    #
#                    https://discord.gg/8jYpH3H2fG                   #
######################################################################


# Define your curse words here.
curse-words:
  - 'No'
  - '):'

Clone this wiki locally