JacksonUndercover

DiscordNotify - Config

Jul 13th, 2021 (edited)
985
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ALL CHANGES NEEDS A RESTART TO TAKE AFFECT
  2. #
  3. #Your MySQL Connection Settings
  4. #If you got problems to establish a Connection, try disabling the "useSSL".
  5. Database:
  6.      host: 'ipaddress'
  7.      port: 3306
  8.      useSSL: true
  9.      user: 'admin'
  10.      password: 'S€CR3T'
  11.      database: 'Database'
  12. # False <- to disable a Feature
  13. FeaturesEnabled:
  14.      Inactivity: true
  15.      PlayerJoinLeave: true
  16.      PlayerDeath: false
  17.      Chat: false
  18.      Staff: true
  19.      RoleSync: false
  20. Options:
  21.      useMetrics: true
  22.      DiscordBot:
  23.         #Please enter the Name of the Bot, that you defined in the config.toml of Spicord
  24.          Name: 'default'
  25.      DateFormat:
  26.          Date: dd.MM.yyyy
  27.          Time: HH:mm:ss
  28.      Inactivity:
  29.         #Checking, if players are inactive (in Minutes)
  30.          CheckTimer: 60
  31.          InactivForDays: 4
  32.          useEmbedMessage: true
  33.      PlayerJoinLeave:
  34.          useEmbedMessage: false
  35.      PlayerDeath:
  36.          useEmbedMessage: false
  37.      Chat:
  38.          useEmbedMessage: false
  39.          #Should the Discord Message send to the Minecraft Server?
  40.          syncDiscord: true
  41.          bypassPrefix:
  42.            - '?'
  43.      Staff:
  44.          useEmbedMessage: false
  45.          #Should the Discord Message send to the Minecraft Server?
  46.          syncDiscord: true
  47.          bypassPrefix:
  48.            - '?'
  49.      PlayerInfo:
  50.          useEmbedMessage: true
  51.      Verification:
  52.         #This Role is needed on the Discord Server, to identify already authenticated Users
  53.          discordRole: 'verified'
  54.          #Disables the spamming of Verification Requests. Amount are seconds
  55.          delayForNewRequest: 500
  56.      RoleSync:
  57.         #Uses the Ingame Group Names. If false, it only synces the given groups
  58.          useIngameGroupNames: true
  59.          #You can add as many entrys you need. The Key is the Minecraft Group and the Value the Discord Group Name
  60.          #Please use lower case for the key (minecraft group)
  61.          customGroupSync:
  62.              default: 'default'
  63.              mcowner: 'discord-owner'
  64. Permissions:
  65.      StaffChat: 'dn.staff'
  66. #Channel Ids: https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-
  67. Channel:
  68.      Inactivity: -1
  69.      PlayerJoinLeave: -1
  70.      PlayerDeath: -1
  71.      Chat: -1
  72.      #Should be a seperated Channel from the chat, because players can send message back to the server,
  73.      #but the system wouldnt know, if it is a chat or staff message
  74.      Staff: -1
  75. Messages:
  76.      prefix: '&7[&5Discord&fNotify&7]'
  77.      perm: '&cYou dont have enough Permissions!'
  78.      console: 'Sorry, only works Ingame.'
  79.      botNotReady: '&4ERROR. &cThe Discord BOT is not ready.'
  80.      playerDoesntExists: '&4ERROR. &cThis Player doesnt exists.'
  81.      notANumber: '&4ERROR. &cThe Input is not a number.'
  82.      notABoolean: '&4ERROR. &cPlease use as a value &fTrue/False'
  83.      disabledFeature: '&4The Feature is disabled.'
  84.      notAMaterial: '&4ERROR. &cThis Material doesnt exists.'
  85.      discordChatMessage: '&f%Tag%&7: &f%Message%'
  86.      StaffEnable: '&aEnabled the Staff Chat'
  87.      StaffDisable: '&cDisabled the Staff Chat'
  88.      discordStaffMessage: '&7[&4S&7] &f%Tag%&7: &f%Message%'
  89.      minecraftStaffMessage: '&7[&4S&7] &f%Message%'
  90.      verification:
  91.          unlinked: '&6You deleted your Verification.'
  92.          denied: '&6You denied the Verification Request.'
  93.          accept: '&6You are now verfied!'
  94.          notVerified: '&cYou are not Verified.'
  95.          nothingToDeny: '&6You got no Verification Sessian at the moment.'
  96.          sessionTimeOut: '&6Your Session run out. Please try the Verification again on the Discord Server!'
  97.          otherReasonVerification: '&6Your Discord or Minecraft Account got already verfied for some other Reason.'
  98.          help: '&6Please use &f/verify <accept/deny> &6for Verification or &f/verify unlink &6to remove a Discord Account.'
  99.          requestClickMessage:
  100.              message: '&f%User% &6wants to link with your Minecraft Account.'
  101.              accept: '&7[&aAccept&7]'
  102.              acceptHover: '&6Accept the Discord Verification.'
  103.              space: ' &7- '
  104.              deny: '&7[&cDeny&7]'
  105.              denyHover: '&6Deny the Discord Verification.'
  106. DiscordMessages:
  107.      InactivityMessage: '**%Player%** was inactiv for more than %InactivDays% Days'
  108.      PlayerJoinMessage: '**%Player%** joined the server.'
  109.      PlayerLeaveMessage: '**%Player%** left the server.'
  110.      PlayerDeathMessage: '%DeathMessage%'
  111.      ChatMessage: '%Player%: %Message%'
  112.      StaffMessage: '%Player%: %Message%'
  113.      PlayerInfoHelp: 'Please use %Prefix%playerinfo <IngameName>'
  114.      PlayerInfo: '%Player%''s UUID is %UUID%'
  115.      verification:
  116.          cooldown: 'You got a cooldown. Please try in %Sec% Sec again.'
  117.          discordAlreadyAuthenticated: 'You are already authenticated. Please use **%Prefix%verify unlink** to reset the linking.'
  118.          minecraftAlreadyAuthenticated: 'Your Minecraft Account is already authenticated. Please use **/verify unlink** Ingame to reset the linking.'
  119.          request: 'Please look Ingame for the Verifications Message and click on *accept*.'
  120.          playerOffline: 'You need to be Ingame.'
  121.          notVerified: 'You are not Verified.'
  122.          unlinked: 'You deleted your Verification.'
  123.          alreadyInProgress: 'Someone is already trying to link with this Minecraft Account.'
  124.          notAPlayer: 'The Player doesnt exists!'
  125.          wrongCommand: 'Please use **/verify <IngameName>**'
  126. #ColorTypes -> https://docs.oracle.com/javase/7/docs/api/java/awt/Color.html
  127. #PictureTypes -> AVATAR, HELM, CUBE, BODY, BUST, SKIN
  128. DiscordEmbedMessages:
  129.      InactivityEmbed:
  130.          Title: '**%Player%** was inactiv for more than %InactivDays% Days'
  131.          Description: '**%Player%** was last seen: %LastSeen% (Not Online for: %OfflinetimeDays% Days)'
  132.          #TITLE : TEXT
  133.          Fields:
  134.             - 'User UUID : %uuid%'
  135.             - 'User Name : %Player%'
  136.             - 'Location : %Location%'
  137.             - 'IP : %IP%'
  138.             - 'Playtime : %PlaytimeDays% Days'
  139.             - 'Offlinetime : %OfflinetimeDays% Days'
  140.          Author: '---------------------[ Inactivity ]------------------------'
  141.          #https://docs.oracle.com/javase/7/docs/api/java/awt/Color.html
  142.          Color: 'RED'
  143.          WithPicture: true
  144.          PictureType: HELM
  145.      PlayerJoinEmbed:
  146.          Title: '**%Player%** joined the server.'
  147.          Description: ''
  148.          Fields: {}
  149.          Author: '---------------------[ Connected ]------------------------'
  150.          #https://docs.oracle.com/javase/7/docs/api/java/awt/Color.html
  151.          Color: 'GREEN'
  152.          WithPicture: true
  153.          PictureType: AVATAR
  154.      PlayerLeaveEmbed:
  155.          Title: '**%Player%** left the server.'
  156.          Description: ''
  157.          Fields: {}
  158.          Author: '---------------------[ Disconnected ]------------------------'
  159.          #https://docs.oracle.com/javase/7/docs/api/java/awt/Color.html
  160.          Color: 'RED'
  161.          WithPicture: false
  162.          PictureType: AVATAR
  163.      DeathEmbed:
  164.          Title: '**%Player%** died.'
  165.          Description: '%DeathMessage%'
  166.          Fields: {}
  167.          Author: 'Death'
  168.          #https://docs.oracle.com/javase/7/docs/api/java/awt/Color.html
  169.          Color: 'GREEN'
  170.          WithPicture: true
  171.          PictureType: BUST
  172.      ChatEmbed:
  173.          Title: '**%Player%** wrote:'
  174.          Description: '%Message%'
  175.          Fields: {}
  176.          Author: 'Chat'
  177.          #https://docs.oracle.com/javase/7/docs/api/java/awt/Color.html
  178.          Color: 'WHITE'
  179.          WithPicture: true
  180.          PictureType: BUST
  181.      StaffEmbed:
  182.          Title: '**%Player%** wrote:'
  183.          Description: '%Message%'
  184.          Fields: {}
  185.          Author: 'STAFF'
  186.          Color: 'WHITE'
  187.          WithPicture: true
  188.          PictureType: BUST
  189.      PlayerInfoEmbed:
  190.          Title: '**%Player%** Information'
  191.          Description: ''
  192.          Fields:
  193.             - 'User UUID : %uuid%'
  194.             - 'User Name : %Player%'
  195.             - 'Location : %Location%'
  196.             - 'IP : %IP%'
  197.             - 'Playtime : %Playtime%h'
  198.             - 'Offlinetime : %Offlinetime%h'
  199.             - 'Last Played: %LastSeen%h'
  200.          Author: 'PLAYERINFO'
  201.          Color: 'WHITE'
  202.          WithPicture: true
  203.          PictureType: BODY
  204.      
  205.  #Do NOT touch
  206. ConfigVersion: 3
RAW Paste Data