Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # PL: Konfiguracja połączenia bazy danych mysql.
- # EN: Mysql database connection configuration.
- database:
- host: localhost
- port: 3306
- database: db_name
- username: root
- password: password
- use-ssl: false
- # PL: Konfiguracja bota discord.
- # EN: Discord bot configuration.
- bot:
- # PL: Token bota z strony https://discord.com/developers/applications
- # EN: Bot token from https://discord.com/developers/applications
- token: your_bot_token!
- # PL: Status bota
- # EN: Bot status
- status: q1zZ-DiscordRewards v0.5
- # PL: Ustawienia pluginu
- # EN: Plugin settings
- settings:
- # PL: Regex dla nicków minecraft do sprawdzania poprawności nicku.
- # EN: Minecraft nickname regex for checking if nickname is valid.
- nickname-regex: '[a-zA-Z0-9_]+'
- # PL: Id kanału z discorda do odbierania nagrody.
- # EN: Id of discord channel for receiving rewards.
- discordChannelID: '00000000000000000'
- # PL: Ustawienia nagród.
- # EN: Rewards settings.
- rewards:
- # PL: Komendy zostaną wykonane po odbiorze nagrody.
- # EN: This commands will be executed when player receive reward.
- commands:
- - give {PLAYER} diamond 1
- # PL: Te role zostaną dodane do użytkownika na discordzie po odbiorze nagrody.
- # EN: This roles will be added to user on discord when receive reward.
- roles:
- - '00000000000000000'
- # PL: Ogłoszenie gdy gracz odbierze nagrodę.
- # EN: Broadcast when player receive reward.
- broadcast:
- - ' '
- - '&8» &fPlayer &9{PLAYER} &freceived the discord reward!'
- - '&8» &fDiscord link: &9&nhttps://discord.com/xxxxxx'
- - ' '
- # PL: Przedmioty które zostaną nadane po odbiorze nagrody.
- # EN: Items that will be added to player when receive reward.
- items:
- - material: EMERALD
- item-meta:
- display-name: '&2&lEMERALD'
- lore:
- - ' '
- - '&aReward emerald!'
- - ' '
- enchantments:
- DURABILITY: 1
- item-flags:
- - HIDE_ENCHANTS
Advertisement
Add Comment
Please, Sign In to add comment