Guest User

q1zZ-DiscordRewards - configuration.yml

a guest
Sep 23rd, 2022
1,142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. # PL: Konfiguracja połączenia bazy danych mysql.
  2. # EN: Mysql database connection configuration.
  3. database:
  4. host: localhost
  5. port: 3306
  6. database: db_name
  7. username: root
  8. password: password
  9. use-ssl: false
  10. # PL: Konfiguracja bota discord.
  11. # EN: Discord bot configuration.
  12. bot:
  13. # PL: Token bota z strony https://discord.com/developers/applications
  14. # EN: Bot token from https://discord.com/developers/applications
  15. token: your_bot_token!
  16. # PL: Status bota
  17. # EN: Bot status
  18. status: q1zZ-DiscordRewards v0.5
  19. # PL: Ustawienia pluginu
  20. # EN: Plugin settings
  21. settings:
  22. # PL: Regex dla nicków minecraft do sprawdzania poprawności nicku.
  23. # EN: Minecraft nickname regex for checking if nickname is valid.
  24. nickname-regex: '[a-zA-Z0-9_]+'
  25. # PL: Id kanału z discorda do odbierania nagrody.
  26. # EN: Id of discord channel for receiving rewards.
  27. discordChannelID: '00000000000000000'
  28. # PL: Ustawienia nagród.
  29. # EN: Rewards settings.
  30. rewards:
  31. # PL: Komendy zostaną wykonane po odbiorze nagrody.
  32. # EN: This commands will be executed when player receive reward.
  33. commands:
  34. - give {PLAYER} diamond 1
  35. # PL: Te role zostaną dodane do użytkownika na discordzie po odbiorze nagrody.
  36. # EN: This roles will be added to user on discord when receive reward.
  37. roles:
  38. - '00000000000000000'
  39. # PL: Ogłoszenie gdy gracz odbierze nagrodę.
  40. # EN: Broadcast when player receive reward.
  41. broadcast:
  42. - ' '
  43. - '&8» &fPlayer &9{PLAYER} &freceived the discord reward!'
  44. - '&8» &fDiscord link: &9&nhttps://discord.com/xxxxxx'
  45. - ' '
  46. # PL: Przedmioty które zostaną nadane po odbiorze nagrody.
  47. # EN: Items that will be added to player when receive reward.
  48. items:
  49. - material: EMERALD
  50. item-meta:
  51. display-name: '&2&lEMERALD'
  52. lore:
  53. - ' '
  54. - '&aReward emerald!'
  55. - ' '
  56. enchantments:
  57. DURABILITY: 1
  58. item-flags:
  59. - HIDE_ENCHANTS
Advertisement
Add Comment
Please, Sign In to add comment