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 pluginem qDrop


Aides

Rekomendowane odpowiedzi

Opublikowano

@http://yourstore.com'

  - '&7     Additional: &2{CHANCE}%'
  - '&8&l&m-----------------------------------'
# Example: currentLevel * thisMultipiler
# So if currentLevel = 5, and thisMultipiler = 45.5
# 6 level will be on: 227(.5, but we're rounding to int)
points-upgrade-multipiler: 70.5
# Broadcasting level upgrades on chat
levels-broadcast:
  - '5'
  - '10'
  - '25'
  - '50'
  - '75'
  - '100'
  - '150'
  - '200'
  - '300'
  - '500'
  - '750'
  - '1000'
  - '2000'
  - '5000'
  - '7500'
  - '10000'
levels-broadcast-message: '&7Player &c{PLAYER} &7has now level &c{LEVEL}&7!'
gui:
  drop:
    title: '&7Drop list'
    item-color: '&2'
    lores:
      - '&8* &lvlcolorRequired level: &lvlcolor{REQUIREDLEVEL}'
      - '&8* &7Item: &2{ITEM}'
      - '&8* &7Chance: &2{CHANCE}% {TURBODROP}'
      - '&8* &7Amount: &2{AMOUNT-START}-{AMOUNT-END}'
      - '&8* &7Heights: &2{HEIGHTS-START}-{HEIGHTS-END}'
      - '&8* &7Exp: &2{EXP}'
      - '&8* &7Block: &2{BLOCK}'
      - '&8* &7Biomes: &2{BIOMES}'
      - '&8* &7Tools: &2{TOOLS}'
      - '&8* &7Level points: &2{LEVELPOINTS}'
      - ''
      - '&8* &activecolorActive: &activecolor{ACTIVE}'
cobblestone-active: '&8* &activecolorActive: &activecolor{ACTIVE}'
empty: 'Empty'
more: ' and more...'
yes: 'yes'
no: 'no'
only-player: 'That command is not available for you.'
no-permission: '&cYou dont have permission to use this command.'
level-contents: '&7Your current level is &c{LEVEL} &7(&c{LEVELPOINTS} level points&7, &c{DROPMULTI} drop multipiler&7) and you will rankup on &c{RANKUP} level points&7!'
sqlite: true
mysql:
 
 
Oraz drop:
drops:
  Diamond:
    item: 'Diamond'
    chance: 0.85
    tools:
      - IRON_PICKAXE
      - DIAMOND_PICKAXE
      - GOLD_PICKAXE
    experience: 2
    amounts:
      start: 1
      end: 3
    heights:
      start: 9
      end: 32
    block: STONE
    biomes: []
    message: '&7You have dropped a &3diamond &7(x{AMOUNT})'
    fortunes:
      - '1:2'
      - '2:3'
      - '3:4'
      - '10:15'
    level:
      points: 15
      requirement: 5
  Coal:
    item: 'Coal'
    chance: 2.00
    tools:
      - IRON_PICKAXE
      - DIAMOND_PICKAXE
      - GOLD_PICKAXE
      - STONE_PICKAXE
    experience: 1
    amounts:
      start: 1
      end: 3
    heights:
      start: 9
      end: 76
    block: STONE
    biomes: []
    message: '&7You have dropped a &3wegiel &7(x{AMOUNT})'
    fortunes:
      - '1:2'
      - '2:3'
      - '3:4'
      - '10:15'
    level:
      points: 2
      requirement: 0
  Iron_ingot:
    item: 'Iron_ingot'
    chance: 1.25
    tools:
      - IRON_PICKAXE
      - DIAMOND_PICKAXE
      - GOLD_PICKAXE
      - STONE_PICKAXE
    experience: 1
    amounts:
      start: 1
      end: 3
    heights:
      start: 9
      end: 76
    block: STONE
    biomes: []
    message: '&7You have dropped a &3zelazo &7(x{AMOUNT})'
    fortunes:
      - '1:2'
      - '2:3'
      - '3:4'
      - '10:15'
    level:
      points: 6
      requirement: 1
  Gold_ore:
    item: 'Gold_ore'
    chance: 0.65
    tools:
      - IRON_PICKAXE
      - DIAMOND_PICKAXE
      - GOLD_PICKAXE
      - STONE_PICKAXE
    experience: 2
    amounts:
      start: 1
      end: 3
    heights:
      start: 9
      end: 76
    block: STONE
    biomes: []
    message: '&7You have dropped a &3złoto &7(x{AMOUNT})'
    fortunes:
      - '1:2'
      - '2:3'
      - '3:4'
      - '10:15'
    level:
      points: 16
      requirement: 3

Sprzedam pliki z własnego serwera Minecraft! 

Na serwerze gra sporo osób (+200 graczy!)

Więcej informacji: 

https://www.mpcforum.pl/topic/1679824-sprzedam-pliki-z-wlasnego-serwera-minecraft-200-graczy-godziny-szczytu

 

Opublikowano

@AdamGrzegorz, spoko powiedz jak to naprawić ;)

Trzeba zamienić te linijki:

https://github.com/xVacuum/qDrop/blob/master/src/main/java/me/khalit/qDrop/utils/managers/DropManager.java#L90

na:

            ItemStack toAdd = d.getItem();
            ItemMeta clear = toAdd.getItemMeta();
            clear.setLore(new ArrayList<>());
            clear.setDisplayName(null);
            toAdd.setItemMeta(clear);
            toAdd.setAmount(amount);
            toDrop.add(toAdd);

Moja oficjalna strona! :)

http://socketbyte.pl/ 

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...