-
Ilość zawartości
999 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
23
Treść opublikowana przez Shooterowy
- Poprzednia
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- Dalej
-
Strona 2 z 48
-
options: cooldown: 5 seconds on first join: wait a tick add ender pearl named "&3Nieskończona perła" to player on shoot: if shooter is a player: if name of shooter's tool is "&3Nieskończona perła": if {perla::%shooter%::teleport} is true: cancel event send "&cMożesz wyrzucić tylko jedną perłę w tym samym czasie." to shooter stop if difference between {perla::%shooter%::czas} and now is smaller than {@cooldown}: cancel event set {_czas} to {@cooldown} remove difference between {perla::%shooter%::czas} and now from {_czas} send "&cNieskończoną perłę możesz użyć ponownie za &6%{_czas}%" to shooter stop set {perla::%shooter%::teleport} to true on teleport: if event-entity is a player: if teleport cause is ender pearl: if {perla::%event-entity%::teleport} is true: clear {perla::%event-entity%::teleport} add ender pearl named "&3Nieskończona perła" to event-entity set {perla::%event-entity%::czas} to now
-
on consume: if "%event-item%" is "potions of strong strength": wait a tick remove strength from player apply strength to player for 90 seconds else if "%event-item%" is "potions of strong speed": wait a tick remove speed from player apply speed to player for 90 seconds
-
options: czas: 5 minutes on rightclick with amethyst shard: if player's tool is amethyst shard named "&c&lMagiczny Amulet": if difference between {amulet::%player%} and now is smaller than {@czas}: send "&cAmulet nie jest jeszcze gotowy." stop set {amulet::%player%} to now remove regeneration from player remove absorption from player remove resistance from player remove fire resistance from player remove strength from player remove speed from player remove amethyst shard named "&c&lMagiczny Amulet" from player wait 1 tick apply speed 3 to player for 10 seconds apply strength 2 to player for 10 seconds apply fire resistance 4 to player for 10 seconds apply resistance 4 to player for 10 seconds apply absorption 4 to player for 10 seconds apply regeneration 2 to player for 10 seconds send "&b&l» &7Uzyles Amuletu! &cEfekty zostaly nadane!" W twoim kodzie sprawdzasz, czy gracz ma ametyst z nazwą a potem usuwasz szmaragd z nazwą, poprawiłem Ci to.
-
Zmieniłeś nazwę (kolor) gui tylko w jednym miejscu open chest inventory with 4 rows named "&6Wymiana sztabek na bloki" to player if name of event-inventory is "&bWymiana sztabek na bloki": W jednym masz &6 a w drugim &b
-
Skrypt/plugin zeby postawiony przez gracza Cobblestone po danym czasie znikał i wracal do eq
Shooterowy odpowiedział(a) na TrefeleK pytanie w Zlecenia
Dodatki chyba zbędne. Skrypt pisany pod Skript 2.6.4- 4 odpowiedzi
-
- cobblestone
- stawianieblokow
-
(i 3 więcej)
Oznaczone tagami:
-
Usuwaj po kolei pluginy i próbuj wejść na serwer. Możesz też spróbować usunąć plik usercache.json.
-
Skrypt/plugin zeby postawiony przez gracza Cobblestone po danym czasie znikał i wracal do eq
Shooterowy odpowiedział(a) na TrefeleK pytanie w Zlecenia
options: blockTime: 5 on join: loop {MagicStone::Player::%player%::blocks::*}: if block at loop-value is cobblestone: delete block at loop-value clear {MagicStone::Block::%loop-value%} clear {MagicStone::Player::%player%::blocks::*} set slot 8 of player to 64 cobblestone named "&eMagiczny kamień" on inventory click: if event-inventory is player's inventory: if index of clicked slot is 7 or 8: cancel event on swap hand items: if name of player's tool is "&eMagiczny kamień": cancel event on place: if name of player's held item is "&eMagiczny kamień": if amount of cobblestone named "&eMagiczny kamień" in player's inventory is 1: cancel event stop add event-block to {MagicStone::Player::%player%::blocks::*} set {MagicStone::Block::%event-block%} to player wait {@blockTime} seconds if {MagicStone::Block::%event-block%} is not set: stop remove event-block from {MagicStone::Player::%player%::blocks::*} clear {MagicStone::Block::%event-block%} add 1 cobblestone named "&eMagiczny kamień" to player if event-block is cobblestone: delete event-block on break: if {MagicStone::Block::%event-block%} is set: delete drops add 1 cobblestone named "&eMagiczny kamień" to player remove event-block from {MagicStone::Player::%{MagicStone::Block::%event-block%}%::blocks::*} clear {MagicStone::Block::%event-block%} on death: if victim is a player: remove all cobblestone named "&eMagiczny kamień" from drops on respawn: wait a tick set slot 8 of player to 64 cobblestone named "&eMagiczny kamień" on pickup: if name of event-item is "&eMagiczny kamień": cancel event delete item on drop: if name of event-item is "&eMagiczny kamień": cancel event- 4 odpowiedzi
-
- cobblestone
- stawianieblokow
-
(i 3 więcej)
Oznaczone tagami:
-
you have no home bed or charge respawn anchor or it was obstructed
Shooterowy odpowiedział(a) na pruslay pytanie w Pytania i problemy
Zmienna z _ na początku to zmienna tymczasowa, może być ona używana w obrębie jednego eventu. @pruslay Spróbuj tak: on death: victim is a player bed location of victim is not set set the bed location of victim to spawn point of "world" -
function showScoreboard(player: player): while {_player} is online: if {scoreboard::%{_player}%} is false: exit loop set {_rank} to placeholder "vault_rank" from {_player} set title of {_player}'s scoreboard to "&aWitaj, &6%{_rank}% %{_player}%&a!" set line 1 of {_player}'s scoreboard to "Portfel: %{portfel::%{_player}%}%" wait a second on join: wait a tick showScoreboard(player) command /sb: trigger: if {scoreboard::%player%} is false: set {scoreboard::%player%} to true send "&aScoreboard włączony." showScoreboard(player) else: set {scoreboard::%player%} to false send "&cScoreboard wyłączony." clear player's scoreboard Wymagane: - PlaceholderAPI - skript-placeholders / ersatz
-
function showScoreboard(player: player): while {_player} is online: if {scoreboard::%{_player}%} is false: exit loop set title of {_player}'s scoreboard to "&aWitaj, &6%{_player}%&a!" set line 1 of {_player}'s scoreboard to "Portfel: %{portfel::%{_player}%}%" wait a second on join: wait a tick showScoreboard(player) command /sb: trigger: if {scoreboard::%player%} is false: set {scoreboard::%player%} to true send "&aScoreboard włączony." showScoreboard(player) else: set {scoreboard::%player%} to false send "&cScoreboard wyłączony." clear player's scoreboard
-
on death: victim is a player attacker is a player set {_drops::*} to drops set {_loop} to rounded down size of {_drops::*}/2 loop {_loop} times: set {_item} to random element of {_drops::*} add {_item} to {items::%victim%::*} remove {_item} from {_drops::*} remove {_item} from drops on respawn: wait a tick if size of {items::%player%::*} > 0: add {items::%player%::*} to player clear {items::%player%::*}
-
Jeśli usuniesz tę funkcję to będzie można kopiować itemy ze skarbca. Musiałbyś przerobić skrypt tak, żeby skarbiec co jakiś czas (np 5 ticków) się odswieżał dla każdego gracza, który go otworzył.
-
on death: if attacker is a player: if victim is not a player: if {zad::misja::1::%attacker%} is 1: if name of victim contains "Potwor": add 1 to {zad::postep::%attacker%} if {zad::postep::%attacker%} is 5: add 1 diamond to attacker set {zad::postep::%attacker%} to 0 if {zad::misja::1::%attacker%} is not set: send "nie ustawiona misja" to attacker broadcast "%{zad::postep::%attacker%}%"
-
if attacker is a player:
-
dodaj cancel event po if name of event-inventory = "&cRANGI":
-
on rightclick with blaze rod: if name of event-item is "&eNiszczyciel pajęczyn": cancel event if difference between {niszczyciel::%player%} and now is less than 10 seconds: set {_t} to 10 seconds remove difference between {niszczyciel::%player%} and now from {_t} send "&cNiszczyciel pajęczyn może być użyty ponownie za %{_t}%." stop set {_cw} to number of all blocks in radius 5 around player where [input is cobweb] delete (all blocks in radius 5 around player where [input is cobweb]) send "&7Zniszczone pajęczyny: %{_cw}%" to player remove blaze rod named "&eNiszczyciel pajęczyn" from player set {niszczyciel::%player%} to now
-
on join: while player is online: send action bar "&aWitaj &6%player%&a!" to player wait 2 seconds
-
spróbuj if loop-value parsed as player is set: lub if loop-value parsed as offline player is online:
-
Blokada slotów w ekwipunku gracza.
Shooterowy odpowiedział(a) na urfavoli pytanie w Pytania i problemy
on join: set slot (numbers between 9 and 35) of player to red glass pane named " " on inventory click: if event-inventory is player's inventory: if index of clicked slot is between 9 and 35: cancel event on death: if victim is a player: remove all red glass pane named " " from drops on respawn: wait a tick set slot (numbers between 9 and 35) of player's inventory to red glass pane named " " -
command /zapisz [<text>]: trigger: if player's inventory is empty: send "&cTwój ekwipunek jest pusty!" stop if arg is not set: send "&cPodaj nazwę ekwipunku!" stop if {saveInv::%player%::%arg%} is set: send "&cTa nazwa jest już zajęta!" stop set {saveInv::%player%::%arg%} to arg set {saveInv::%player%::%arg%::date} to now set {_s} to 0 loop 41 times: if slot {_s} of player is not empty: set {saveInv::%player%::%arg%::items::%{_s}%} to slot {_s} of player add 1 to {_s} clear player's inventory send "&eTwój ekwipunek z nazwą &9%arg% &ezostał zapisany dnia &9%{saveInv::%player%::%arg%::date}%" send "&7Zapisanych przedmiotów: &9%size of {saveInv::%player%::%arg%::items::*}%" command /przywroc [<text>]: trigger: set {_inv} to chest inventory with 1 row named "&aZapisane ekwipunki" set {_s} to 0 loop {saveInv::%player%::*}: set slot {_s} of {_inv} to chest named "&c%loop-index%" with lore "&eData zapisu: &9%{saveInv::%player%::%loop-index%::date}%" and "&eZapisanych przedmiotów: &9%size of {saveInv::%player%::%loop-index%::items::*}%" and "&ePrzedmioty:" loop {saveInv::%player%::%loop-index%::items::*}: add " &e- &9%loop-value-2%" to lore of slot {_s} of {_inv} add 1 to {_s} open {_inv} to player on inventory click: if name of event-inventory is "&aZapisane ekwipunki": cancel event if clicked inventory is player's inventory: stop if type of clicked slot is not chest: stop if player's inventory is not empty: send "&cTwój ekwipunek musi być pusty!" stop set {_id} to uncolored name of clicked slot loop {saveInv::%player%::%{_id}%::items::*}: set {_s} to loop-index parsed as integer set {_i} to loop-value set slot {_s} of player to {_i} close player's inventory send "&eEkwipunek z dnia &9%{saveInv::%player%::%{_id}%::date}% &ezostał przywrócony." clear {saveInv::%player%::%{_id}%::*} and {saveInv::%player%::%{_id}%}
-
Skrypty killstreak i K/D na scoreboard
Shooterowy odpowiedział(a) na rozwaga pytanie w Pytania i problemy
K/D jest obliczanie przy odświeżaniu scoreboardu. -
Skrypty killstreak i K/D na scoreboard
Shooterowy odpowiedział(a) na rozwaga pytanie w Pytania i problemy
on death: victim is a player add 1 to {Stats::%victim's uuid%::deaths} attacker is a player attacker is not victim add 1 to {Stats::%attacker's uuid%::kills} and {Stats::%attacker's uuid%::killstreak} set {Stats::%victim's uuid%::killstreak} to 0 on join: if {Stats::%player's uuid%::kills} is not set: set {Stats::%player's uuid%::kills} to 0 set {Stats::%player's uuid%::deaths} to 0 set {Stats::%player's uuid%::killstreak} to 0 while player is online: set {_kd} to {Stats::%player's uuid%::kills}/{Stats::%player's uuid%::deaths} if {_kd} is less than 0: set {_kd} to 0 set title of player's scoreboard to "&a&lStatystyki" set line 4 of player's scoreboard to " &eZabójstwa: &c%{Stats::%player's uuid%::kills}%" set line 3 of player's scoreboard to " &eŚmierci: &c%{Stats::%player's uuid%::deaths}%" set line 2 of player's scoreboard to " &eK/D: &c%{_kd}%" set line 1 of player's scoreboard to " &eKillStreak: &c%{Stats::%player's uuid%::killstreak}%" wait 1 second -
function rangiGUI(p: player): set {_gui} to chest inventory with 5 rows named "&e&lRangi" set slot (numbers between 0 and 44) of {_gui} to black stained glass pane named "&bRangi dostępne na serwerze" set slot 10 of {_gui} to iron ingot named "&7MiniVip" with lore "Przykładowy opis" set slot 13 of {_gui} to gold ingot named "&6Vip" with lore "Przykładowy opis" set slot 16 of {_gui} to diamond named "&3SuperVip" with lore "Przykładowy opis" set slot 28 of {_gui} to emerald named "&aMegaVip" with lore "Przykładowy opis" set slot 31 of {_gui} to item frame named "&cYouTuber" with lore "Przykładowy opis" set slot 34 of {_gui} to glow item frame named "&cYouTuber&4+" with lore "Przykładowy opis" open {_gui} to {_p} on inventory click: if name of event-inventory is "&e&lRangi": cancel event command /rangi: trigger: rangiGUI(player) Skript 2.6.4
-
po naciesnieciu tabliczki wykonuje sie komenda np /bank do 2 skryptu
Shooterowy odpowiedział(a) na KrystianobYT1234 pytanie w Pytania i problemy
execute player command "/komenda" -
skrypt na spawnowanie niewidzialnych zwierzat
Shooterowy odpowiedział(a) na ADSONTTV pytanie w Zlecenia
loop 2 times: spawn a cow at player apply invisibility to spawned entity for 999 days
- Poprzednia
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- Dalej
-
Strona 2 z 48
