Donate case баг

katze225

Пользователь
Сообщения
39
Решения
1
Плагин
DonateCase
Ядро сервера
  1. Spigot
  2. Paper
  3. Purpur
Версия сервера
  1. 1.19
Ссылка
https://www.spigotmc.org/resources/donatecase.106701/
Кейс с коинами и с китами дает даёт награды только типам с op.

Код:
config: '2.5' #DON'T CHANGE THIS PLEASE

DonatCase:
  #Do I need to check for plugin updates?
  UpdateChecker: true
  #MySQL Settings
  MySql:
    Enabled: false
    Host: 'localhost'
    Port: 3306
    DataBase: 'nameDataBase'
    User: 'root'
    Password: 'password'
  Languages: en #ru/en/ua
  #Are messages to the player about adding keys included?
  SetKeysTargetMessage: true
  # Only if Vault enabled
  LevelGroup: true #Enable if you use PermissionEX, if you use LuckPerms, don't enable if you use "parent add"
  LevelGroups:
    power: 3
    spartan: 2
    lender: 1
    default: 0
  NoKeyWarningSound: ENTITY_ENDERMAN_TELEPORT
  Cases:
    donate:
      Animation: SHAPE #SHAPE, FIREWORK, RAINLY, WHEEL
      AnimationSound: ENTITY_EXPERIENCE_ORB_PICKUP # remove this line if you don't want to play sound
      Sound:
        Volume: 10
        Pitch: 5
      Title: '         &8&lКейс с Донатом' # If you want to make another case, then the Title needs to be changed
      Gui:
        GuiMaterial: WHITE_STAINED_GLASS_PANE # see: https://wiki.jodexindustries.space/docs/DonateCase/item-id
        GuiMaterialName: "&bhttps://powerbox.easydonate.ru/"
        GuiMaterialEnchant: false
        GuiMaterialLore:
          - "&f       &f"
          - "&f       &f"
        GuiOpenCaseMaterial: TRIPWIRE_HOOK # see: https://wiki.jodexindustries.space/docs/DonateCase/item-id
        GuiOpenCaseMaterialEnchant: false
        DisplayName: '  '
        Lore:
          - '     &b&lОТКРЫТЬ'
          - ''
          - '  &fНажмите, чтобы  '
          - '      &fоткрыть  '
          - ''
          - ' &7Ключей: &f%keys'
          
          
          
          
          #- ''
          #- '&fДроп:'
          #- '&a&lʟᴇɴᴅᴇʀ - &b&n50%'
          #- '&b&lsᴘᴀʀᴛᴀɴ - &b&n25%'
          #- '&3&lᴘᴏᴡᴇʀ - &b&n15%'
          - ''
      Items:
        Lender:
          Group: lender
          Chance: 70
          Item:
            ID: BASE64:da49d55693bb9ba8289f1156071a149f3b9be24dbb3666422e3c1355a8c9aee3 # see: https://wiki.jodexindustries.space/docs/DonateCase/item-id
            DisplayName: '&a&lʟᴇɴᴅᴇʀ'
            Enchanted: false
          GiveCommand: lp user %player parent set %group
          Title: "&bПоздравляем!" # Placeholders: %group - group name; %groupdisplayname - group display name


        Spartan:
          Group: spartan
          Chance: 25
          Item:
            ID: BASE64:44f7fa196d8f9aacfc081b81e3cae1be41cfdbedd30928dc9bcc8c5790f22ad9 # see: https://wiki.jodexindustries.space/docs/DonateCase/item-id
            DisplayName: '&b&lsᴘᴀʀᴛᴀɴ'
            Enchanted: false
          GiveCommand: lp user %player parent set %group
          Title: "&bПоздравляем!" # Placeholders: %group - group name; %groupdisplayname - group display name
        Power:
          Group: power
          Chance: 5
          Item:
            ID: BASE64:efffdb4f75e1678ecfaa5f42a32f11e1cc087946f4857463ae6647cc3e0079e2 # see: https://wiki.jodexindustries.space/docs/DonateCase/item-id
            DisplayName: '&3&lᴘᴏᴡᴇʀ'
            Enchanted: false
          GiveCommand: lp user %player parent set %group
          Title: "&bПоздравляем!" # Placeholders: %group - group name; %groupdisplayname - group display name
          
          
          
          
          
          
          
    coins:
      Animation: SHAPE #SHAPE, FIREWORK, RAINLY, WHEEL
      AnimationSound: ENTITY_EXPERIENCE_ORB_PICKUP # remove this line if you don't want to play sound
      Sound:
        Volume: 10
        Pitch: 5
      Title: '         &8&lКейс с Коинами' # If you want to make another case, then the Title needs to be changed


      Gui:
        GuiMaterial: WHITE_STAINED_GLASS_PANE # see: https://wiki.jodexindustries.space/docs/DonateCase/item-id
        GuiMaterialName: "&bhttps://powerbox.easydonate.ru/"
        GuiMaterialEnchant: false
        GuiMaterialLore:
          - "&f       &f"
          - "&f       &f"
        GuiOpenCaseMaterial: TRIPWIRE_HOOK # see: https://wiki.jodexindustries.space/docs/DonateCase/item-id
        GuiOpenCaseMaterialEnchant: false
        DisplayName: '  '
        Lore:
          - '     &b&lОТКРЫТЬ'
          - ''
          - '  &fНажмите, чтобы  '
          - '      &fоткрыть  '
          - ''
          - ' &7Ключей: &f%keys'
          
          
          
          
          #- ''
          #- '&fДроп:'
          #- '&a&lʟᴇɴᴅᴇʀ - &b&n50%'
          #- '&b&lsᴘᴀʀᴛᴀɴ - &b&n25%'
          #- '&3&lᴘᴏᴡᴇʀ - &b&n15%'
          - ''
      Items:
        Len54gq3wgder:
        #  Group: lender
          Chance: 70
          Item:
            ID: SUNFLOWER # see: https://wiki.jodexindustries.space/docs/DonateCase/item-id
            DisplayName: '&b&l10 Монет'
            Enchanted: false
          GiveCommand: eco give %player 10
          Title: "&bПоздравляем!" # Placeholders: %group - group name; %groupdisplayname - group display name


        Spagew53rtan:
         # Group: spartan
          Chance: 30
          Item:
            ID: SUNFLOWER # see: https://wiki.jodexindustries.space/docs/DonateCase/item-id
            DisplayName: '&b&l30 Монет'
            Enchanted: false
          GiveCommand: eco give %player 30
          Title: "&bПоздравляем!" # Placeholders: %group - group name; %groupdisplayname - group display name
        P12437ower:
          #Group: power
          Chance: 15
          Item:
            ID: SUNFLOWER # see: https://wiki.jodexindustries.space/docs/DonateCase/item-id
            DisplayName: '&b&l50 Монет'
            Enchanted: false
          GiveCommand: eco give %player 50
          Title: "&bПоздравляем!" # Placeholders: %group - group name; %groupdisplayname - group display name
        Powe1123425r:
          #Group: power
          Chance: 5
          Item:
            ID: SUNFLOWER # see: https://wiki.jodexindustries.space/docs/DonateCase/item-id
            DisplayName: '&b&l100 Монет'
            Enchanted: false
          GiveCommand: eco give %player 100
          Title: "&bПоздравляем!" # Placeholders: %group - group name; %groupdisplayname - group display name














    kits:
      Animation: SHAPE #SHAPE, FIREWORK, RAINLY, WHEEL
      AnimationSound: ENTITY_EXPERIENCE_ORB_PICKUP # remove this line if you don't want to play sound
      Sound:
        Volume: 10
        Pitch: 5
      Title: '         &8&lКейс с Китами' # If you want to make another case, then the Title needs to be changed
      Gui:
        GuiMaterial: WHITE_STAINED_GLASS_PANE # see: https://wiki.jodexindustries.space/docs/DonateCase/item-id
        GuiMaterialName: "&bhttps://powerbox.easydonate.ru/"
        GuiMaterialEnchant: false
        GuiMaterialLore:
          - "&f       &f"
          - "&f       &f"
        GuiOpenCaseMaterial: TRIPWIRE_HOOK # see: https://wiki.jodexindustries.space/docs/DonateCase/item-id
        GuiOpenCaseMaterialEnchant: false
        DisplayName: '  '
        Lore:
          - '     &b&lОТКРЫТЬ'
          - ''
          - '  &fНажмите, чтобы  '
          - '      &fоткрыть  '
          - ''
          - ' &7Ключей: &f%keys'
          
          
          
          
          #- ''
          #- '&fДроп:'
          #- '&a&lʟᴇɴᴅᴇʀ - &b&n50%'
          #- '&b&lsᴘᴀʀᴛᴀɴ - &b&n25%'
          #- '&3&lᴘᴏᴡᴇʀ - &b&n15%'
          - ''
      Items:
        fds67n:
        #  Group: lender
          Chance: 40
          Item:
            ID: BASE64:223b237a0f27d505fcd931b6e9c2933a746787cc108414f4f82370795be0fb9
            DisplayName: '&b&lСет Панды'
            Enchanted: false
          GiveCommand: kit panda %player
          Title: "&bПоздравляем!" # Placeholders: %group - group name; %groupdisplayname - group display name


        SpaLgew53rtan:
         # Group: spartan
          Chance: 27
          Item:
            ID: BASE64:2f343d69bc34045edc87f8db5d54eefdb243f0740cadf037ef08833f04ad8a3d
            DisplayName: '&b&lСет Slime'
            Enchanted: false
          GiveCommand: kit slime %player
          Title: "&bПоздравляем!" # Placeholders: %group - group name; %groupdisplayname - group display name
        P12QQ437ower:
          #Group: power
          Chance: 15
          Item:
            ID: BASE64:3964bf48ca01908a2921de2acdff942114e881b53b224cab4b5ebcf0d8973e11
            DisplayName: '&b&lСет Herobrine'
            Enchanted: false
          GiveCommand: kit herobrine %player
          Title: "&bПоздравляем!" # Placeholders: %group - group name; %groupdisplayname - group display name
        PBBowe1123425r:
          #Group: power
          Chance: 10
          Item:
            ID: BASE64:86efb3ea8ebdf23fb726b786a41a6251f0dfceeb19aaa72700a477afef3cb525
            DisplayName: '&b&lСет Lava Slime'
            Enchanted: false
          GiveCommand: kit lava_slime %player
          Title: "&bПоздравляем!" # Placeholders: %group - group name; %groupdisplayname - group display name
        Powe12GGGGvb443123425r:
          #Group: power
          Chance: 5
          Item:
            ID: BASE64:783aaaee22868cafdaa1f6f4a0e56b0fdb64cd0aeaabd6e83818c312ebe66437
            DisplayName: '&b&lСет Zombie'
            Enchanted: false
          GiveCommand: kit zombie %player
          Title: "&bПоздравляем!" # Placeholders: %group - group name; %groupdisplayname - group display name
        PfowfGGe1231234f25r:
          #Group: power
          Chance: 2
          Item:
            ID: BASE64:49582fa21c45c40a80a9a791842f71078f47c335d627bb560eb86dad641a8c4
            DisplayName: '&b&lСет Dragon'
            Enchanted: false
          GiveCommand: kit dragon %player
          Title: "&bПоздравляем!" # Placeholders: %group - group name; %groupdisplayname - group display name
        Pfowfefsgdfh1231234f25r:
          #Group: power
          Chance: 1
          Item:
            ID: BASE64:49582fa21c45c40a80a9a791842f71078f47c335d627bb560eb86dad641a8c4
            DisplayName: '&b&lСет Donald Duck'
            Enchanted: false
          GiveCommand: kit donald %player
          Title: "&bПоздравляем!" # Placeholders: %group - group name; %groupdisplayname - group display name
 
Назад
Сверху Снизу