Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Z OtherDrops


Rekomendowane odpowiedzi

Opublikowano

Witam! Mam problem z otherdrops mój config dropu wygląda tak:

 

 

include-files: 
aliases:
defaults:
otherdrops:
    DIAMOND_ORE:
          drop: NOTHING
          tool: [ANY, -EXPLOSION_TNT, EXPLOSION_CREEPER] 
        - replacementblock: STONE
          message: "Niestety, &7Mienraly takie jak&8: &6Diamety&7, &6Szmaragdy&7, &6Zloto&7, &6Zelazo&7, &6Wegiel&7, &6Redston&7 oraz &6Lapis Lazuli &7mozna wydobyc wylacznie ze &7&lStona!"
    GOLD_ORE:
        - replacementblock: STONE
          drop: NOTHING
          tool: [ANY, -EXPLOSION_TNT, EXPLOSION_CREEPER] 
          message: "Niestety, &7Mienraly takie jak&8: &6Diamety&7, &6Szmaragdy&7, &6Zloto&7, &6Zelazo&7, &6Wegiel&7, &6Redston&7 oraz &6Lapis Lazuli &7mozna wydobyc wylacznie ze &7&lStona!"
    IRON_ORE:
        - replacementblock: STONE
          drop: NOTHING
          tool: [ANY, -EXPLOSION_TNT, EXPLOSION_CREEPER] 
          message: "Niestety, &7Mienraly takie jak&8: &6Diamety&7, &6Szmaragdy&7, &6Zloto&7, &6Zelazo&7, &6Wegiel&7, &6Redston&7 oraz &6Lapis Lazuli &7mozna wydobyc wylacznie ze &7&lStona!"
    EMERALD_ORE:
        - replacementblock: STONE
          drop: NOTHING
          tool: [ANY, -EXPLOSION_TNT, EXPLOSION_CREEPER] 
          message: "Niestety, &7Mienraly takie jak&8: &6Diamety&7, &6Szmaragdy&7, &6Zloto&7, &6Zelazo&7, &6Wegiel&7, &6Redston&7 oraz &6Lapis Lazuli &7mozna wydobyc wylacznie ze &7&lStona!"
    COAL_ORE:
        - replacementblock: STONE
          drop: NOTHING
          tool: [ANY, -EXPLOSION_TNT, EXPLOSION_CREEPER] 
          message: "Niestety, &7Mienraly takie jak&8: &6Diamety&7, &6Szmaragdy&7, &6Zloto&7, &6Zelazo&7, &6Wegiel&7, &6Redston&7 oraz &6Lapis Lazuli &7mozna wydobyc wylacznie ze &7&lStona!"
    REDSTONE_ORE:
        - replacementblock: STONE
          drop: NOTHING
          tool: [ANY, -EXPLOSION_TNT, EXPLOSION_CREEPER] 
          message: "Niestety, &7Mienraly takie jak&8: &6Diamety&7, &6Szmaragdy&7, &6Zloto&7, &6Zelazo&7, &6Wegiel&7, &6Redston&7 oraz &6Lapis Lazuli &7mozna wydobyc wylacznie ze &7&lStona!"
    STONE:
        - drop: DIAMOND
          tool: [-DIAMOND_PICKAXE, -IRON_PICKAXE, -GOLDEN_PICKAXE] 
          chance: 0.65%
          quantity: 1
          height: ["<21", ">0"]
        - drop: DIAMOND
          tool: [-DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS, -IRON_PICKAXE!LOOT_BONUS_BLOCKS, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS] 
          chance: 0.65%
          quantity: 1-2
          height: ["<21", ">0"]
        - drop: DIAMOND
          tool: [-DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS#2, -IRON_PICKAXE!LOOT_BONUS_BLOCKS#2, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS#2] 
          chance: 0.65%
          quantity: 1-3
          height: ["<21", ">0"]
        - drop: DIAMOND
          tool: [-DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS#3, -IRON_PICKAXE!LOOT_BONUS_BLOCKS#3, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS#3] 
          chance: 0.65%
          quantity: 1-4
          height: ["<21", ">0"]
        - drop: EMERALD
          tool: [-DIAMOND_PICKAXE, -IRON_PICKAXE, -GOLDEN_PICKAXE] 
          chance: 0.65%
          quantity: 1
          height: ["<20", ">0"]
        - drop: EMERALD
          tool: [-DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS, -IRON_PICKAXE!LOOT_BONUS_BLOCKS, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS] 
          chance: 0.65%
          quantity: 1-2
          height: ["<20", ">0"]
        - drop: EMERALD
          tool: [-DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS#2, -IRON_PICKAXE!LOOT_BONUS_BLOCKS#2, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS#2] 
          chance: 0.65%
          quantity: 1-3
          height: ["<20", ">0"]
        - drop: EMERALD
          tool: [-DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS#3, -IRON_PICKAXE!LOOT_BONUS_BLOCKS#3, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS#3] 
          chance: 0.65%
          quantity: 1-4
          height: ["<20", ">0"]
        - drop: GOLD_ORE
          tool: [-DIAMOND_PICKAXE, -IRON_PICKAXE, -GOLDEN_PICKAXE] 
          chance: 1.85%
          quantity: 1
        - drop: GOLD_ORE
          tool: [-DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS, -IRON_PICKAXE!LOOT_BONUS_BLOCKS, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS] 
          chance: 1.85%
          quantity: 1-2
        - drop: GOLD_ORE
          tool: [-DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS#2, -IRON_PICKAXE!LOOT_BONUS_BLOCKS#2, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS#2] 
          chance: 1.85%
          quantity: 1-3
        - drop: GOLD_ORE
          tool: [-DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS#3, -IRON_PICKAXE!LOOT_BONUS_BLOCKS#3, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS#3] 
          chance: 1.85%
          quantity: 1-4
        - drop: COAL_ORE
          tool: [-STONE_PICKAXE, -DIAMOND_PICKAXE, IRON_PICKAXE, -GOLDEN_PICKAXE] 
          chance: 3.51%
          quantity: 1
        - drop: COAL_ORE
          tool: [-STONE_PICKAXE!LOOT_BONUS_BLOCKS, -DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS, -IRON_PICKAXE!LOOT_BONUS_BLOCKS, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS] 
          chance: 3.51%
          quantity: 1-2
        - drop: COAL_ORE
          tool: [-STONE_PICKAXE!LOOT_BONUS_BLOCKS#2, -DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS#2, -IRON_PICKAXE!LOOT_BONUS_BLOCKS#2, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS#2] 
          chance: 3.51%
          quantity: 1-3
        - drop: COAL_ORE
          tool: [-STONE_PICKAXE!LOOT_BONUS_BLOCKS#3, -DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS#3, -IRON_PICKAXE!LOOT_BONUS_BLOCKS#3, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS#3] 
          chance: 3.51%
          quantity: 1-4
        - drop: IRON_ORE
          tool: [-STONE_PICKAXE, -DIAMOND_PICKAXE, -IRON_PICKAXE, -GOLDEN_PICKAXE] 
          chance: 2.51%
          quantity: 1
        - drop: IRON_ORE
          tool: [-STONE_PICKAXE!LOOT_BONUS_BLOCKS, -DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS, -IRON_PICKAXE!LOOT_BONUS_BLOCKS, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS] 
          chance: 2.51%
          quantity: 1-2
        - drop: IRON_ORE
          tool: [-STONE_PICKAXE!LOOT_BONUS_BLOCKS#2, -DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS#2, -IRON_PICKAXE!LOOT_BONUS_BLOCKS#2, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS#2] 
          chance: 2.51%
          quantity: 1-3
        - drop: IRON_ORE
          tool: [-STONE_PICKAXE!LOOT_BONUS_BLOCKS#3, -DIAMOND_PICKAXE!LOOT_BONUS_BLOCKS#3, -IRON_PICKAXE!LOOT_BONUS_BLOCKS#3, -GOLDEN_PICKAXE!LOOT_BONUS_BLOCKS#3] 
          chance: 2.51%
          quantity: 1-4
        - drop: REDSTONE
          tool: [-STONE_PICKAXE, -DIAMOND_PICKAXE, -IRON_PICKAXE, -GOLDEN_PICKAXE] 
          chance: 4%
          quantity: 1-4
        - drop: LAPIS_LAZULI
          tool: [-DIAMOND_PICKAXE, -IRON_PICKAXE, -GOLDEN_PICKAXE] 
          chance: 4%
          quantity: 1-4

 

 

Opublikowano

A gdzie jest ten problem, nawet go nie opisałeś... :P

Opublikowano

Logi z konsoli, jakieś błędy?

 

Usuń tak btw. '%' z chance. On jest nie potrzebny :)

 

 

Pozdrawiam Mistrz.

|| 50 | 100 | 150 | 200 | 250 | 300 | 350 | 400 | 450 | 500 ||


 

Opublikowano

Teraz zobaczyłem, że po co masz przed każdym narzędziem "-"?

 

Usuń to i powinno śmigać :)

 

 

Pozdrawiam Mistrz.

|| 50 | 100 | 150 | 200 | 250 | 300 | 350 | 400 | 450 | 500 ||


 

Opublikowano

Wpisz w Google yaml parser i wklej kod do sprawdzenia na jednej ze stron. Popraw błędy i będzie Ci smigać :)

Opublikowano

Ja ci podam mój config i możesz zobaczyć co masz źle u mnie działa fortuna na jak coś ;) 

include-files: 
aliases:
defaults:
otherdrops:
    DIAMOND_ORE:
        - replacementblock: STONE
          drop: NOTHING
          tool: [ANY, EXPLOSION_TNT, EXPLOSION_CREEPER]
          message: Niestety ten surowiec, nie wylatuje z tej rudy!
    GOLD_ORE:
        - replacementblock: STONE
          drop: NOTHING
          tool: [ANY, EXPLOSION_TNT, EXPLOSION_CREEPER]
          message: Niestety ten surowiec, nie wylatuje z tej rudy!
    IRON_ORE:
        - replacementblock: STONE
          drop: NOTHING
          tool: [ANY_PICKAXE, EXPLOSION_TNT, EXPLOSION_CREEPER]
          message: Niestety ten surowiec, nie wylatuje z tej rudy!
    EMERALD_ORE:
        - replacementblock: STONE
          drop: NOTHING
          tool: [ANY_PICKAXE, EXPLOSION_TNT, EXPLOSION_CREEPER]
          message: Niestety ten surowiec, nie wylatuje z tej rudy!
    STONE:
        - drop: DIAMOND
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2
          quantity: 1
          message: Gratulacje! &3&l Znalazles %q diament/ow!
        - drop: GOLD_ORE
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2.25
          quantity: 1
          message: Gratulacje! &e&l Znalazles %q rude/y zlota!
        - drop: DIAMOND
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2
          quantity: 1-2
          message: Gratulacje! &3&l Znalazles %q diamenty/ow!
        - drop: GOLD_ORE
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2.25
          quantity: 1-2
          message: Gratulacje! &e&l Znalazles %q rudy zlota!
        - drop: DIAMOND
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2
          quantity: 1-3
          message: Gratulacje! &3&l Znalazles %q diamenty/ow!
        - drop: IRON_ORE
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2.60
          quantity: 1
          message: Gratulacje! &f&l Znalazles %q rude/y zelaza!
        - drop: DIAMOND
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2
          quantity: 1-4
          message: Gratulacje! &3&l Znalazles %q diamenty/ow!
        - drop: IRON_ORE
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2.60
          quantity: 1-2
          message: Gratulacje! &f&l Znalazles %q rudy zelaza!
        - drop: EMERALD
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2.20
          quantity: 1
          message: Gratulacje! &a&l Znalazles %q szmaragd!
        - drop: EMERALD
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2.20
          quantity: 1-2
          message: Gratulacje! &a&l Znalazles %q szmaragdy!
        - drop: EMERALD
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2.20
          quantity: 1-3
          message: Gratulacje! &a&l Znalazles &q szmaragdy
        - drop: EMERALD
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2.20
          quantity: 1-4
          message: Gratulacje! &a&l Znalazles %q szmaragdy!
        - drop: 331
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2.90
          quantity: 1
        - drop: 331
          message: Gratulacje! &a&l Znalazles &q redstone!
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2.90
          quantity: 1-2
          message: Gratulacje! &a&l Znalazles %q redstone!
        - drop: 331
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2.90
          quantity: 1-3
          message: Gratulacje! &a&l Znalazles &q redstone!
        - drop: 331
          tool: [ANY_PICKAXE@!LOOT_BONUS_BLOCKS#3, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#2, ANY_PICKAXE@!LOOT_BONUS_BLOCKS#1, ANY_PICKAXE]
          chance: 2.90
          quantity: 1-4
          message: Gratulacje! &a&l Znalazles %q redstone!

Opublikowano

Jaką masz wersję silnika oraz jaki masz silnik?

 

 

Pozdrawiam Mistrz.

|| 50 | 100 | 150 | 200 | 250 | 300 | 350 | 400 | 450 | 500 ||


 

Opublikowano

Piszesz DIAMOND bez _ORE

EMERALD piszesz bez _ORE

COAL piszesz bez _ORE
Procenty usuń z chance

Usuń " przed wiadomością

 

Spróbuj z tym, miałem podobny problem.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...