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

[Szukam] CobbleX


Rekomendowane odpowiedzi

Opublikowano

Proszę (skrypt), niestety musisz cobblex odbierać komendą.

 

 

#Zakaz handlowania i kopiowania kodu przez autora.
#Na wersje 2.0.2 skriptu.
#Wersja: beta 1.0
#Co w następnym update:
#    - Mozliwość craftowania w crafting table
#    - Statystkyki na swiat i na gracz'a
#    - Dodania ilość wypadania np: 3 iron ingot
variables:
        {cobblex.%player%} = 1
command /cobblex:
        permission: cobblex.use
        trigger:
                player has 576 cobblestone:
                        remove 576 cobblestone from player
                        clear {cobblex.%player%}
                        wait a tick
                        set {cobblex.%player%} to a random integer from 1 to 3
                        if {cobblex.%player%} is 1:
                                send "&aDostales 1 cobblex!"
                                give a 129 of sharpness 5 named "&2CobbleX" to the player
                        if {cobblex.%player%} is 2:
                                send "&aDostales 2 cobblex!"
                                give a 129 of sharpness 5 named "&2CobbleX" to the player
                        if {cobblex.%player%} is 3:
                                send "&aDostales 3 cobblex!"
                                give a 129 of sharpness 5 named "&2CobbleX" to the player
                                give a 129 of sharpness 5 named "&2CobbleX" to the player
                                give a 129 of sharpness 5 named "&2CobbleX" to the player
                else:
                        send "&4Blad:&cNie posiadasz 9 stakow cobblestone!."
on rightclick:
        player is holding a emerald ore named "&2CobbleX":
                give a random item of {cobblelose::*} to player
                send "&aDostales przedmiot!"
                wait a tick
                remove 1 129 of sharpness 5 named "&2CobbleX" from player
command /cobblea [<text="help">] [<items>]:
        permission: cobble.admin
        trigger:
                argument 1 is not "help", "add" or "remove":
                        send "&4Blad:&cNieznana komenda,lub zla nazwa item'a !"
                        stop
                argument 1 is "help":
                        send "&c ==---( &4CobbleX Admin )&c---==="
                        send "&4/cobblea add < Item > -&cDodanie nowego item'a do losowania."
                        send "&4/cobblea remove < Item > -&cUsuwanie item'a z losowania"
                        send "&4Lista item'ow z losowania:&c %{cobblelose::*}%"
                        send "&4Pamietaj ze aby dodac item musi byc po angielsku!."
                        send "&4Skript by *RadIoActiVe"
                argument 1 is "add":
                        if argument 2 is not set:
                                send "&4Blad:&cMusisz wpisac nazwe przedmiotu!"
                        else:
                                add argument 2 to {cobblelose::*}
                                send "&aDodano ' %arg 2% ' do cobblex"
                argument 1 is "remove":
                        if argument 2 is not set:
                                send "&4Blad:&cMusisz wpisac nazwe przedmiotu!"
                        else:
                                remove argument 2 from {cobblelose::*}
                                send "&cUsunieto ' %arg 2% ' z cobblex"

 

 

Opublikowano

@Icemajor czekaj zaraz dam ci mój config ok xD ­
 

  tnt: # nazwa tu mozesz wpisac nawet "dupa"  bo tu nie musisz dawać nazwy przedmiotu
    id: 46 # id przedmiotu
    amount: # tu nic nie zmieniaj
      min: 1 # minimalny drop
      max: 4 # maxsymalny drop
      minbetter: 10 # minimalny drop chyba dla graczy z jakimś uprawnieniem
      maxbetter: 15 # minimalny drop chyba dla graczy z jakimś uprawnieniem
    data: 0 # tego nie zmieniaj (bo ja sam nie wiem co to jest)
    metadata: # tego też nie zmieniaj
      name: "&aTNT" # nazwa przedmiotu
      lore: # jej opis # jeśli nie chcesz tego lore to zrób - []
        - '&6Taki tam tnt'
        - '&9pozdrawiam mpcforum!'
      enchantments: # enchanty (nie chce mi się tłumaczyć )
        - []

Mój cały config:
 

cobblex:
  id: 19
  amount: 1
  data: 0
  metadata:
    name: "&8{ &aCobbleX &8}"
    lore:
      - "&7Postaw na ziemi a po chwili"
      - "&7blok sam sie zniszczy."
    enchantments: []
crafting:
  shape:
    - '0 64 COBBLESTONE 0'
    - '1 64 COBBLESTONE 0'
    - '2 64 COBBLESTONE 0'
    - '3 64 COBBLESTONE 0'
    - '4 64 COBBLESTONE 0'
    - '5 64 COBBLESTONE 0'
    - '6 64 COBBLESTONE 0'
    - '7 64 COBBLESTONE 0'
    - '8 64 COBBLESTONE 0'
messages:
  cobblex-item-1: "&7Przedmioty wypadajce z cobblex:"
  cobblex-item-2: " &7- &9%item%"
  cobblex-earned: "&aTrafiles na: &9%item%"
items:
  diamond:
    id: 264
    amount:
      min: 1
      max: 10
      minbetter: 10
      maxbetter: 15
    data: 0
    metadata:
      name: "&aDiament"
      lore:
        - []
      enchantments:
        - []
  emerald:
    id: 388
    amount:
      min: 1
      max: 10
      minbetter: 10
      maxbetter: 15
    data: 0
    metadata:
      name: "&aSzmaragd"
      lore:
        - []
      enchantments:
        - []
  raw fish:
    id: 349
    amount:
      min: 1
      max: 5
      minbetter: 5
      maxbetter: 10
    data: 0
    metadata:
      name: "&aRyba"
      lore:
        - []
      enchantments:
        - []
  obsidian:
    id: 49
    amount:
      min: 1
      max: 10
      minbetter: 10
      maxbetter: 15
    data: 0
    metadata:
      name: "&aObsydian"
      lore:
        - []
      enchantments:
        - []
  golden apple:
    id: 322
    amount:
      min: 1
      max: 5
      minbetter: 5
      maxbetter: 10
    data: 0
    metadata:
      name: "&aZlote jablko"
      lore:
        - []
      enchantments:
        - []
  tnt:
    id: 46
    amount:
      min: 1
      max: 4
      minbetter: 10
      maxbetter: 15
    data: 0
    metadata:
      name: "&aTNT"
      lore:
        - []
      enchantments:
        - []

Lajki: 1 | 10  | 20 | 50 | 100 | 200 | 500 | 1000

Poszukuję Youtubera, Hostera, Budowniczego

Opublikowano

@masterflot

 

Dzięki. Dam najlepszą jeśli mi powiesz jak zrobić, żeby np. wykryło tego VIP'a, mam rangi, które chciałbym aby miałe tego vipa ustalonego w tym pluginie:

- VIP,

- SuperVIP,

- ExtraVIP.

Opublikowano

 

@Icemajor czekaj zaraz dam ci mój config ok xD ­

 

  tnt: # nazwa tu mozesz wpisac nawet "dupa"  bo tu nie musisz dawać nazwy przedmiotu
    id: 46 # id przedmiotu
    amount: # tu nic nie zmieniaj
      min: 1 # minimalny drop
      max: 4 # maxsymalny drop
      minbetter: 10 # minimalny drop chyba dla graczy z jakimś uprawnieniem
      maxbetter: 15 # minimalny drop chyba dla graczy z jakimś uprawnieniem
    data: 0 # tego nie zmieniaj (bo ja sam nie wiem co to jest)
    metadata: # tego też nie zmieniaj
      name: "&aTNT" # nazwa przedmiotu
      lore: # jej opis # jeśli nie chcesz tego lore to zrób - []
        - '&6Taki tam tnt'
        - '&9pozdrawiam mpcforum!'
      enchantments: # enchanty (nie chce mi się tłumaczyć )
        - []

Mój cały config:

 

cobblex:
  id: 19
  amount: 1
  data: 0
  metadata:
    name: "&8{ &aCobbleX &8}"
    lore:
      - "&7Postaw na ziemi a po chwili"
      - "&7blok sam sie zniszczy."
    enchantments: []
crafting:
  shape:
    - '0 64 COBBLESTONE 0'
    - '1 64 COBBLESTONE 0'
    - '2 64 COBBLESTONE 0'
    - '3 64 COBBLESTONE 0'
    - '4 64 COBBLESTONE 0'
    - '5 64 COBBLESTONE 0'
    - '6 64 COBBLESTONE 0'
    - '7 64 COBBLESTONE 0'
    - '8 64 COBBLESTONE 0'
messages:
  cobblex-item-1: "&7Przedmioty wypadajce z cobblex:"
  cobblex-item-2: " &7- &9%item%"
  cobblex-earned: "&aTrafiles na: &9%item%"
items:
  diamond:
    id: 264
    amount:
      min: 1
      max: 10
      minbetter: 10
      maxbetter: 15
    data: 0
    metadata:
      name: "&aDiament"
      lore:
        - []
      enchantments:
        - []
  emerald:
    id: 388
    amount:
      min: 1
      max: 10
      minbetter: 10
      maxbetter: 15
    data: 0
    metadata:
      name: "&aSzmaragd"
      lore:
        - []
      enchantments:
        - []
  raw fish:
    id: 349
    amount:
      min: 1
      max: 5
      minbetter: 5
      maxbetter: 10
    data: 0
    metadata:
      name: "&aRyba"
      lore:
        - []
      enchantments:
        - []
  obsidian:
    id: 49
    amount:
      min: 1
      max: 10
      minbetter: 10
      maxbetter: 15
    data: 0
    metadata:
      name: "&aObsydian"
      lore:
        - []
      enchantments:
        - []
  golden apple:
    id: 322
    amount:
      min: 1
      max: 5
      minbetter: 5
      maxbetter: 10
    data: 0
    metadata:
      name: "&aZlote jablko"
      lore:
        - []
      enchantments:
        - []
  tnt:
    id: 46
    amount:
      min: 1
      max: 4
      minbetter: 10
      maxbetter: 15
    data: 0
    metadata:
      name: "&aTNT"
      lore:
        - []
      enchantments:
        - []

 

Ten Cobblex jest zbugowany na recepturach dzikoysk'a (autor miał dać update) ale nie doczekaliśmy się!

Jeżeli mój post podoba ci się wciśnij: napispng_wpwaara.png Dzięki

Opublikowano

uprawnienie dla graczy z tego "minbetter" "maxbetter"­
cobblex.betterdrop

Lajki: 1 | 10  | 20 | 50 | 100 | 200 | 500 | 1000

Poszukuję Youtubera, Hostera, Budowniczego

Opublikowano

Ten Cobblex jest zbugowany na recepturach dzikoysk'a (autor miał dać update) ale nie doczekaliśmy się!

Sprawdzałem go jakiś tydzień temu i działał normalnie.

yP8u02L.png

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...