Skip to content

Instantly share code, notes, and snippets.

@Vitoldik
Last active November 16, 2020 08:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vitoldik/beaf1e217f4779cf826f1e19b5fbd0d1 to your computer and use it in GitHub Desktop.
Save Vitoldik/beaf1e217f4779cf826f1e19b5fbd0d1 to your computer and use it in GitHub Desktop.
LuckyJoinMessages Config.yml
# Author: https://www.spigotmc.org/members/vitold.473269/
# Permissions:
# ljmsg.custom - commands: /ljmsg help (player help), /ljmsg on/off,
# ljmsg.default - commands: /ljmsg default
# ljmsg.edit - commands: /ljmsg edit
# ljmsg.admin - commands: /ljmsg ban <nick> <duration> <reason>, /ljmsg help (admin help), /ljmsg reload
#
prefix: '&bLuckyJoinMessages:' #Prefix before message
min-msg-length: 5 #The minimum number of characters in a personal join message
max-msg-length: 70 #Maximum number of characters in a personal join message
disableDefaultJoinMsg: true #Disable vanilla join messages
disableDefaultQuitMsg: true #Disable vanilla exit messages
maxBanTime: 30 #Maximum time to block edit of join messages (in days)
maxBanReasonLength: 50 #Maximum length of the reason for blocking edit of join messages
periodSaveData: 120 #Cooldown to save player data (in seconds)
join-message-lower: true #join message will be automatically converted to lowercase
#Allowes symbols regExp, default EN,RU. To add your language
#To add your language, add the first and last letter of the alphabet inside the brackets (example: A-Za-z)
allowed-regexp: "^[A-Za-zА-ЯЁа-яё ]+"
#The group with the highest priority should be higher than the others
groups-join-messages:
admin:
permission: "test.admin"
prefix: "&b&l[Admin]"
joinmsg: "{prefix} {nick} joined the server"
moder:
permission: "test.moder"
prefix: "&b&l[Moderator]"
joinmsg: "{prefix} {nick} joined the server"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment