radek503 Napisano 26 Maja 2017 Autor Zgłoś Udostępnij Napisano 26 Maja 2017 @ref i info powracam do pisania skryptów więc niedługo spory update Cytuj Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Jimmnz Napisano 31 Maja 2017 Zgłoś Udostępnij Napisano 31 Maja 2017 Gdzie można pobrać? Cytuj Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
radek503 Napisano 1 Czerwca 2017 Autor Zgłoś Udostępnij Napisano 1 Czerwca 2017 23 godziny temu, Jimmnz napisał: Gdzie można pobrać? Masz przecież podany kod Cytuj Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
mezeq Napisano 27 Czerwca 2017 Zgłoś Udostępnij Napisano 27 Czerwca 2017 jak zrobic w tym skrypcie szkla? Cytuj Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
radek503 Napisano 29 Sierpnia 2017 Autor Zgłoś Udostępnij Napisano 29 Sierpnia 2017 Witam wszystkich jak większość użytkowników zobaczyła sporo mnie nie było i teraz myślałem nad powrotem i teraz pytanie do was czy chcecie bym powrócił update'ował sk i pisał nowe? Cytuj Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
radek503 Napisano 21 Lutego 2018 Autor Zgłoś Udostępnij Napisano 21 Lutego 2018 (edytowane) @update Dodano: nowe stoniark Usnięto: Statystyki ile czego gracz wykopał Poprawiono: w poprzedniej wersji skryptu gdy włączano lub wyłączano cokolwiek z dropu gui musiało się zamknąć i od nowa otworzyć teraz zmienia się bez zamykania gui Ograniczono liczbę zmiennych do minimum Naprawiono wszelkie bugi ps. jutro dodam config yml kod: variables: {cobble::spawn} = false {stoniarki::*} = false {turbodrop::all} = "&cNie" {antykopiowanie::%player% = false {diament::%player%} = "&aTak" {szmaragd::%player%} = "&aTak" {tnt::%player%} = "&aTak" {redstone::%player%} = "&aTak" {apple::%player%} = "&aTak" {iron::%player%} = "&aTak" {gold::%player%} = "&aTak" {obsidian::%player%} = "&aTak" {book::%player%} = "&aTak" {coal::%player%} = "&aTak" {cobble::%player%} = "&aTak" options: diamentszansa: 7 diamentszansaturbo: 12 szmaragdszansa: 9 szmaragdszansaturbo: 14 tntszansa: 11 tntszansaturbo: 16 redstoneszansa: 13 redstoneszansaturbo: 18 jablkoszansa: 12 jablkoszansaturbo: 17 zelazoszansa: 19 zelazoszansaturbo: 24 zlotoszansa: 18 zlotoszansaturbo: 23 obsidianszansa: 16 obsidianszansaturbo: 21 ksiazkaszansa: 17 ksiazkaszansaturbo: 22 wegielszansa: 23 wegielszansaturbo: 28 on item spawn of cobblestone: if {cobble::spawn} is true: cancel event else: stop trigger on mine of stone: set {cobble::spawn} to true if {turbodrop::all} is "&aTak": if {cobble::%player%} is false: if player can hold 1 cobblestone: give 1 cobblestone to player wait 3 ticks set {cobble::spawn} to false else: set {cobble::spawn} to false wait 3 ticks drop 1 cobblestone if {diament::%player%} is "&aTak": chance of {@diamentszansaturbo}%: if player can hold 1 diamond: give 1 diamond to player give 60 exp to player stop else: drop 1 diamond give 60 exp to player stop if {szmaragd::%player%} is "&aTak": chance of {@szmaragdszansaturbo}%: if player can hold 1 emerald: give 1 emerald to player give 100 exp to player else: drop 1 emerald give 100 exp to player stop if {tnt::%player%} is "&aTak": chance of {@tntszansaturbo}%: if player can hold 1 tnt: give 1 tnt to player give 40 exp to player stop else: drop 1 tnt give 40 exp to player stop if {redstone::%player%} is "&aTak": chance of {@redstoneszansaturbo}%: if player can hold 1 redstone: give 1 redstone to player give 30 exp to player stop else: drop 1 redstone give 30 exp to player stop if {apple::%player%} is "&aTak": chance of {@jablkoszansaturbo}%: if player can hold 1 apple: give 1 apple to player give 35 exp to player stop else: drop 1 apple give 35 exp to player stop if {iron::%player%} is "&aTak": chance of {@zelazoszansaturbo}%: if player can hold 1 iron ingot: give 1 iron ingot to player give 20 exp to player stop else: drop 1 iron ingot give 20 exp to player stop if {gold::%player%} is "&aTak": chance of {@zlotoszansaturbo}%: if player can hold 1 gold ingot: give 1 gold ingot to player give 30 exp to player stop else: drop 1 gold ingot give 30 exp to player stop if {obsidian::%player%} is "&aTak": chance of {@obsidianszansaturbo}%: if player can hold 1 obsidian: give 1 obsidian to player give 35 exp to player stop else: drop 1 obsidian give 35 exp to player stop if {book::%player%} is "&aTak": chance of {@ksiazkaszansaturbo}%: if player can hold 1 book: give 1 book to player give 35 exp to player stop else: give 35 exp to player drop 1 book stop if {coal::%player%} is "&aTak": chance of {@wegielszansaturbo}%: if player can hold 1 coal: give 1 coal to player give 10 exp to player stop else: give 10 exp to player drop 1 coal stop else: if player can hold 1 cobblestone: give 1 cobblestone to player wait 3 ticks set {cobble::spawn} to false else: set {cobble::spawn} to false wait 3 ticks drop 1 cobblestone if {diament::%player%} is "&aTak": chance of {@diamentszansa}%: if player can hold 1 diamond: give 1 diamond to player give 60 exp to player stop else: drop 1 diamond give 60 exp to player stop if {szmaragd::%player%} is "&aTak": chance of {@szmaragdszansa}%: if player can hold 1 emerald: give 1 emerald to player give 100 exp to player else: drop 1 emerald give 100 exp to player stop if {tnt::%player%} is "&aTak": chance of {@tntszansa}%: if player can hold 1 tnt: give 1 tnt to player give 40 exp to player stop else: drop 1 tnt give 40 exp to player stop if {redstone::%player%} is "&aTak": chance of {@redstoneszansa}%: if player can hold 1 redstone: give 1 redstone to player give 30 exp to player stop else: drop 1 redstone give 30 exp to player stop if {apple::%player%} is "&aTak": chance of {@jablkoszansa}%: if player can hold 1 apple: give 1 apple to player give 35 exp to player stop else: drop 1 apple give 35 exp to player stop if {iron::%player%} is "&aTak": chance of {@zelazoszansa}%: if player can hold 1 iron ingot: give 1 iron ingot to player give 20 exp to player stop else: drop 1 iron ingot give 20 exp to player stop if {gold::%player%} is "&aTak": chance of {@zlotoszansa}%: if player can hold 1 gold ingot: give 1 gold ingot to player give 30 exp to player stop else: drop 1 gold ingot give 30 exp to player stop if {obsidian::%player%} is "&aTak": chance of {@obsidianszansa}%: if player can hold 1 obsidian: give 1 obsidian to player give 35 exp to player stop else: drop 1 obsidian give 35 exp to player stop if {book::%player%} is "&aTak": chance of {@ksiazkaszansa}%: if player can hold 1 book: give 1 book to player give 35 exp to player stop else: give 35 exp to player drop 1 book stop if {coal::%player%} is "&aTak": chance of {@wegielszansa}%: if player can hold 1 coal: give 1 coal to player give 10 exp to player stop else: give 10 exp to player drop 1 coal stop command /drop [<text>]: trigger: if arg-1 is not set: open chest with 1 rows named "&a&lDROP" to player set {antykopiowanie::%player%} to true wait 1 tick format slot 0 of player with 1 of 160:15 named "&0" to be unstealable format slot 1 of player with 1 of 160:15 named "&0" to be unstealable format slot 2 of player with 1 of 160:15 named "&0" to be unstealable format slot 3 of player with 1 of stone named "&aDrop Ze Stone" to close then run [execute player command "/drop stone"] format slot 4 of player with 1 of 160:15 named "&0" to be unstealable format slot 5 of player with 1 of 122 named "&5Drop Z Pandory" to close then run [execute player command "/drop pandora"] format slot 6 of player with 1 of 160:15 named "&0" to be unstealable format slot 7 of player with 1 of 160:15 named "&0" to be unstealable format slot 8 of player with 1 of 160:15 named "&0" to be unstealable wait 2 ticks set {antykopiowanie::%player%} to false stop else: if arg-1 is "pandora": wait 2 ticks open chest with 1 rows named "&5&lPANDORA DROP" to player set {antykopiowanie::%player%} to true wait 1 tick format slot 0 of player with 64 of obsidian named "&cPaczka Obsydianu" with lore "&7>>Szansa: wypada zawsze!" to be unstealable format slot 1 of player with 32 of diamond named "&cDiamenty" with lore "&7>>szansa: 25 procent" to be unstealable format slot 2 of player with 30 of emerald named "&cSzmaragdy" with lore "&7>>szansa: 20 procent" to be unstealable format slot 3 of player with 48 of iron ingot named "&cZelazo" with lore "&7>>szansa: 60 procent" to be unstealable format slot 4 of player with 40 of gold ingot named "&cZloto" with lore "&7>>szansa: 55 procent" to be unstealable format slot 5 of player with 2 of golden apple named "&cRefile" with lore "&7>>szansa: 35 procent" to be unstealable format slot 6 of player with 2 of 322:1 named "&cKoxy" with lore "&7>>szansa: 15 procent" to be unstealable format slot 7 of player with 1 of beacon named "&cBEACON" with lore "&7>>szansa: 1 procent" to be unstealable wait 2 ticks set {antykopiowanie::%player%} to false stop if arg-1 is "stone": wait 2 ticks open chest with 3 rows named "&a&lSTONE DROP" to player set {antykopiowanie::%player%} to true wait 1 tick format slot 0 of player with 1 of diamond named "&bDiament" with lore "&7>>Szansa: {@diamentszansa} procent||&7>>Aktywny: %{diament::%player%}%" to run [execute player command "/diament"] format slot 1 of player with 1 of emerald named "&aSzmaragd" with lore "&7>>Szansa {@szmaragdszansa} procent||&7>>Aktywny: %{szmaragd::%player%}%" to run [execute player command "/szmaragd"] format slot 2 of player with 1 of tnt named "&cTnT" with lore "&7>>Szansa {@tntszansa} procent||&7>>Aktywny: %{tnt::%player%}%" to run [execute player command "/tnt"] format slot 3 of player with 1 of redstone named "&4RedStone" with lore "&7>>Szansa {@redstoneszansa} procent||&7>>Aktywny: %{redstone::%player%}%" to run [execute player command "/redstone"] format slot 4 of player with 1 of apple named "&cJablko" with lore "&7>>Szansa {@jablkoszansa} procent||&7>>Aktywny: %{apple::%player%}%" to run [execute player command "/apple"] format slot 5 of player with 1 of iron ingot named "&fZelazo" with lore "&7>>Szansa {@zelazoszansa} procent||&7>>Aktywny: %{iron::%player%}%" to run [execute player command "/iron"] format slot 6 of player with 1 of gold ingot named "&eZloto" with lore "&7>>Szansa {@zlotoszansa} procent||&7>>Aktywny: %{gold::%player%}%" to run [execute player command "/gold"] format slot 7 of player with 1 of obsidian named "&5Obsidian" with lore "&7>>Szansa {@obsidianszansa} procent||&7>>Aktywny: %{obsidian::%player%}%" to run [execute player command "/obsidian"] format slot 8 of player with 1 of book named "&6Ksiazka" with lore "&7>>Szansa {@ksiazkaszansa} procent||&7>>Aktywny: %{book::%player%}%" to run [execute player command "/book"] format slot 9 of player with 1 of 263 named "&0Wegiel" with lore "&7>>Szansa {@wegielszansa} procent||&7>>Aktywny: %{coal::%player%}%" to run [execute player command "/coal"] format slot 24 of player with 1 of 384 named "&3TurboDrop" with lore "&7>>Dodaje 5 procent szans do kazdego dropu||&7>>Aktywny: %{turbodrop::all}%" to close format slot 25 of player with 1 of cobblestone named "&8Cobblestone" with lore "&7>>Aktywny: %{cobble::%player%}%" to run [execute player command "/cobble"] format slot 26 of player with 1 of 76 named "&cZamknij" to close wait 2 ticks set {antykopiowanie::%player%} to false stop command /turbodrop [<player>]: trigger: if player-arg is set: if player has permission "rkdrop.turbodrop": set {turbodrop::all} to true set {turbodrop::napis} to "&aTak" broadcast "&7&l>> &aGracz %player-arg% wykupil turbo drop dla wszystkich na 15 minut!" wait 15 minutes set {turbodrop::napis} to "&cNie" set {turbodrop::all} to false broadcast "&7&l>> &cTurbo Drop wykupiony przez %player-arg% skonczyl sie!" else: send "&7&l>> &cNie masz dostepu do tej komendy" else: send "&7&l>> &cUzyj /turbodrop gracz" on rightclick on chest: if {antykopiowanie::%player%} is true: cancel event send "&7>> &cMusisz chwile poczekac" on rightclick on ender chest: if {antykopiowanie::%player%} is true: cancel event send "&7>> &cMusisz chwile poczekac" command /diament: trigger: if {diament::%player%} is "&cNie": set {diament::%player%} to "&aTak" format slot 0 of player with 1 of diamond named "&bDiament" with lore "&7>>Szansa: {@diamentszansa} procent||&7>>Aktywny: %{diament::%player%}%" to run [execute player command "/diament"] else: set {diament::%player%} to "&cNie" format slot 0 of player with 1 of diamond named "&bDiament" with lore "&7>>Szansa: {@diamentszansa} procent||&7>>Aktywny: %{diament::%player%}%" to run [execute player command "/diament"] command /szmaragd: trigger: if {szmaragd::%player%} is "&cNie": set {szmaragd::%player%} to "&aTak" format slot 1 of player with 1 of emerald named "&aSzmaragd" with lore "&7>>Szansa {@szmaragdszansa} procent||&7>>Aktywny: %{szmaragd::%player%}%" to run [execute player command "/szmaragd"] else: set {szmaragd::%player%} to "&cNie" format slot 1 of player with 1 of emerald named "&aSzmaragd" with lore "&7>>Szansa {@szmaragdszansa} procent||&7>>Aktywny: %{szmaragd::%player%}%" to run [execute player command "/szmaragd"] command /tnt: trigger: if {tnt::%player%} is "&cNie": set {tnt::%player%} to "&aTak" format slot 2 of player with 1 of tnt named "&cTnT" with lore "&7>>Szansa {@tntszansa} procent||&7>>Aktywny: %{tnt::%player%}%" to run [execute player command "/tnt"] else: set {tnt::%player%} to "&cNie" format slot 2 of player with 1 of tnt named "&cTnT" with lore "&7>>Szansa {@tntszansa} procent||&7>>Aktywny: %{tnt::%player%}%" to run [execute player command "/tnt"] command /redstone: trigger: if {redstone::%player%} is "&cNie": set {redstone::%player%} to "&aTak" format slot 3 of player with 1 of redstone named "&4RedStone" with lore "&7>>Szansa {@redstoneszansa} procent||&7>>Aktywny: %{redstone::%player%}%" to run [execute player command "/redstone"] else: set {redstone::%player%} to "&cNie" format slot 3 of player with 1 of redstone named "&4RedStone" with lore "&7>>Szansa {@redstoneszansa} procent||&7>>Aktywny: %{redstone::%player%}%" to run [execute player command "/redstone"] command /apple: trigger: if {apple::%player%} is "&cNie": set {apple::%player%} to "&aTak" format slot 4 of player with 1 of apple named "&cJablko" with lore "&7>>Szansa {@jablkoszansa} procent||&7>>Aktywny: %{apple::%player%}%" to run [execute player command "/apple"] else: set {apple::%player%} to "&cNie" format slot 4 of player with 1 of apple named "&cJablko" with lore "&7>>Szansa {@jablkoszansa} procent||&7>>Aktywny: %{apple::%player%}%" to run [execute player command "/apple"] command /iron: trigger: if {iron::%player%} is "&cNie": set {iron::%player%} to "&aTak" format slot 5 of player with 1 of iron ingot named "&fZelazo" with lore "&7>>Szansa {@zelazoszansa} procent||&7>>Aktywny: %{iron::%player%}%" to run [execute player command "/iron"] else: set {iron::%player%} to "&cNie" format slot 5 of player with 1 of iron ingot named "&fZelazo" with lore "&7>>Szansa {@zelazoszansa} procent||&7>>Aktywny: %{iron::%player%}%" to run [execute player command "/iron"] command /gold: trigger: if {gold::%player%} is "&cNie": set {gold::%player%} to "&aTak" format slot 6 of player with 1 of gold ingot named "&eZloto" with lore "&7>>Szansa {@zlotoszansa} procent||&7>>Aktywny: %{gold::%player%}%" to run [execute player command "/gold"] else: set {gold::%player%} to "&cNie" format slot 6 of player with 1 of gold ingot named "&eZloto" with lore "&7>>Szansa {@zlotoszansa} procent||&7>>Aktywny: %{gold::%player%}%" to run [execute player command "/gold"] command /obsidian: trigger: if {obsidian::%player%} is "&cNie": set {obsidian::%player%} to "&aTak" format slot 7 of player with 1 of obsidian named "&5Obsidian" with lore "&7>>Szansa {@obsidianszansa} procent||&7>>Aktywny: %{obsidian::%player%}%" to run [execute player command "/obsidian"] else: set {obsidian::%player%} to "&cNie" format slot 7 of player with 1 of obsidian named "&5Obsidian" with lore "&7>>Szansa {@obsidianszansa} procent||&7>>Aktywny: %{obsidian::%player%}%" to run [execute player command "/obsidian"] command /book: trigger: if {book::%player%} is "&cNie": set {book::%player%} to "&aTak" format slot 8 of player with 1 of book named "&6Ksiazka" with lore "&7>>Szansa {@ksiazkaszansa} procent||&7>>Aktywny: %{book::%player%}%" to run [execute player command "/book"] else: set {book::%player%} to "&cNie" format slot 8 of player with 1 of book named "&6Ksiazka" with lore "&7>>Szansa {@ksiazkaszansa} procent||&7>>Aktywny: %{book::%player%}%" to run [execute player command "/book"] command /coal: trigger: if {coal::%player%} is "&cNie": set {coal::%player%} to "&aTak" format slot 9 of player with 1 of 263 named "&0Wegiel" with lore "&7>>Szansa {@wegielszansa} procent||&7>>Aktywny: %{coal::%player%}%" to run [execute player command "/coal"] else: set {coal::%player%} to "&cNie" format slot 9 of player with 1 of 263 named "&0Wegiel" with lore "&7>>Szansa {@wegielszansa} procent||&7>>Aktywny: %{coal::%player%}%" to run [execute player command "/coal"] command /cobble: trigger: if {cobble::%player%} is "&cNie": set {cobble::%player%} to "&aTak" format slot 25 of player with 1 of cobblestone named "&8Cobblestone" with lore "&7>>Aktywny: %{cobble::%player%}%" to run [execute player command "/cobble"] else: set {cobble::%player%} to "&cNie" format slot 25 of player with 1 of cobblestone named "&8Cobblestone" with lore "&7>>Aktywny: %{cobble::%player%}%" to run [execute player command "/cobble"] command /pandora [<text>] [<player>]: trigger: if player has permission "rkdrop.pandora": if arg-1 is not set: send "&7&l>> &cUzycie: /pandora gracz <gracz>" send "&7&l>> &cLub: /pandora all" if arg-1 is "gracz": if player-arg is not set: send "&7&l>> &cUzycie: /pandora gracz <gracz> <ilosc>" if player-arg is set: if arg-2 is not set: send "&7&l>> &cUzycie: /pandora gracz <gracz>" else: give 6 122 named "&5&lMagiczna Pandora" to player-arg stop if arg-1 is "all": loop all players: give 6 122 named "&5&lMagiczna Pandora" to loop-player broadcast "&7&l>> &c%player% rozdal kazdemu 6 Magicznych Pandor!" on place: if player's tool is 122 named "&5&lMagiczna Pandora": cancel event remove 1 122 named "&5&lMagiczna Pandora" from player chance of 100%: drop 64 obsidian send "&7&l>> &cA Oto Twoja Paczka Obsydianu!" chance of 25%: drop 32 diamond send "&7&l>> &cTrafiles diamenty!" chance of 20%: drop 30 emerald send "&7&l>> &cTrafiles emeraldy" chance of 1%: drop 1 beacon named "&b&lB&e&lE&a&lA&c&lC&1&lO&3&lN" broadcast "&7&l>> &c%player% wylosowal &b&lB&e&lE&a&lA&c&lC&1&lO&3&lN" chance of 60%: drop 48 iron ingot send "&7&l>> &cTrafiles zelazo" chance of 55%: drop 40 gold ingot send "&7&l>> &cTrafiles zloto" chance of 35%: drop 2 322 send "&7&l>> &cTrafiles refile" chance of 15%: drop 2 322:1 send "&7&l>> &cTrafiles koxy" on place: if player's tool is stone named "&aStoniarka": add location of target block to {stone::*} on break stone: if player's tool is golden pickaxe: loop {stone::*}: if loop-value is location of target block: remove location of target block from {stone::*} drop 1 stone named "&aStoniarka" else: loop {stone::*}: if loop-value is location of target block: wait 2 seconds set block to stone on script load: register new shaped recipe for stone named "&aStoniarka" using emerald, emerald, emerald, emerald, stone, emerald, emerald, emerald, emerald Edytowane 21 Lutego 2018 przez radek503 Cytuj Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.