-
Ilość zawartości
6123 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
232
Treść opublikowana przez xAxee
-
a właśnie też się zdziwiłem ale wymaga texts lub offline players
-
on chat: player has permisson "unban" unban message
-
pewnie masz starą wersje skripta. Zobacz to: on walking on diamond block: if player doesn't have compass named "&6Tryby": add compass named "&6Tryby" to player on click: if player's tool's name is "&6Tryby": execute player command "tryby" on drop: if event-item's name is "&6Tryby": cancel event on inventory click: if clicked slot's name is "&6Tryby": cancel event
-
function createTop(name: string, size: integer, format: string="[P] - [V]") :: strings: set {_indices::*} to indexes of {%{_name}%::*} set {_index} to 1 if {_size} = 0: return "" if {_size} < 0: set {_reversed} to true set {_size} to ({_size} * (-1)) loop {_indices::*}: if {%{_name}%::%loop-value%} = number or timespan or date: set {_values::%{_index}%} to {%{_name}%::%loop-value%} set {_indexes::%{_index}%} to "%loop-value%" add 1 to {_index} if {_size} > (size of {_indexes::*}): set {_size} to (size of {_indexes::*}) loop {_size} times: loop {_values::*}: if {_max} is not set: set {_max} to loop-value-2 set {_index} to loop-index else: if {_reversed} is not true: if loop-value-2 > {_max}: set {_max} to loop-value-2 set {_index} to loop-index else: if loop-value-2 < {_max}: set {_max} to loop-value-2 set {_index} to loop-index set {_var} to {_format} replace "[VALUE]" and "[V]" with "%{_max}%" in {_var} replace "[INDEX]" and "[I]" with "%loop-number%" in {_var} replace "[PLAYER]" and "[P]" with {_indexes::%{_index}%} in {_var} add {_var} to {_return::*} delete {_indexes::%{_index}%}, {_values::%{_index}%}, {_max} and {_index} return {_return::*} every 5 second: set {_list::*} to createTop("rank", 3, "&e[I]. &6[P] &7[V]") set all players's tab list header to (join {_list::*} with "%nl%")
-
on walking on diamond block: add compass named "&6Tryby" to player if player doesn't have compass named "&6Tryby" on click: if player's tool's name is "&6Tryby": execute player command "tryby" on drop: if event-item's name is "&6Tryby": cancel event on inventory click: if clicked slot's name is "&6Tryby": cancel event
-
on join: add now to {wejscia::*} add player to {join::%now%::*} if {join::%now%::*} doesn't contain player command /statystyki [<text>]: trigger: send "&cWejscia dzis: &6%size of ({wejscia::*} where [difference between now and input < 1 day])%" send "&cUnikalne wejscia dzis: &6%size of {join::%now%::*}%" send "&cWejscia tydzien: &6%size of ({wejscia::*} where [difference between now and input < 1 week])%" send "&cWejscia calosc: &6%size of {wejscia::*}%" send "&cWszyscy gracze: &6%size of all offline players%" send "&cGracze online: &6%size of all players%"
-
on load: loop (skutil url "LINK"'s contents): if loop-value is "nazwa serwera": send "Serwer posiada licencje" to all players stop send "Serwer nie posiada licencji" to all players disable script script SkUtilities. Tylko w skrypcie coś takiego nie ma najmniejszego sensu bo kazdy to moze usunąć
-
command /antygrief [<text>]: permission: * permission message: Nie masz uprawnien do tej komendy trigger: if {antygrief} is not false: set {antygrief} to false send "off" stop set {antygrief} to true send "on" on place: {antygrief} is true wait 180 seconds set event-block to air
-
Plugin Na Wypadanie Np. Coina Z Gracza Po Zabiciu
xAxee odpowiedział(a) na sajgon10 pytanie w Pytania i problemy
@EventHandler public void onPlayerDeath(PlayerDeathEvent e){ ItemStack item = new ItemStack(Material.GOLD_INGOT, 1); ItemMeta meta = item.getItemMeta(); meta.setDisplayName("Nazwa"); item.setItemMeta(meta); e.getDrops().add(item); } -
Jeżeli linki są wyłączone tak jak domyślnie w configu skripta to taki link też nie będzie działać
-
function getDownDoorLocation(l: location) :: location: if block under {_l} is any door: set {_l} to block under {_l}'s location return {_l} command /zamknij: trigger: if target block is not any door: send "Patrz na drzwi" stop set {_l} to getDownDoorLocation(target block) if {DoorLock::%{_l}%} is set: send "Te drzwi sa juz zablokowane" stop set {_code} to random integer between -9999999 and 9999999 set {DoorLock::%{_l}%} to {_code} add tripwire hook named "Klucz do drzwi %{_code}%" to player send "&aOd teraz by otworzyć te drzwi, otwierając drzwi musisz trzymać ten klucz w ręce." on rightclick: if target block is not any door: stop set {_l} to getDownDoorLocation(target block) if {DoorLock::%{_l}%} is not set: stop if player's tool is tripwire hook named "Klucz do drzwi %{DoorLock::%{_l}%}%": stop cancel event send "&cPotrzebujesz klucza, aby otworzyć te drzwi." on break: if event-block is not any door: stop set {_l} to getDownDoorLocation(event-block) if {DoorLock::%{_l}%} is not set: stop if player's tool is tripwire hook named "Klucz do drzwi %{DoorLock::%{_l}%}%": stop cancel event send "&cPotrzebujesz klucza, aby zniszczyc te drzwi."
-
command /działka [<text>] [<text>]: trigger: if arg-1 is not "stwórz" or "usuń": send "&r " send " &8&l>> &cBłąd! &7Co chcesz zrobić?" send " &7&oZalecane użycie komendy &c&o/pomoc działka" send "&r " stop if arg-2 is not set: send "Podaj nazwe dzialki" stop if arg-2's length > 4: send "Za duzo znakow" stop if arg-2's length < 3: send "Za malo znakow" stop execute player command "is create classic-island" execute player command "is setname %arg-2%"
-
on break: event-block is shulker box if player can hold event-block's drops: add event-block's drops to player clear drops
-
add 2 to player's max health
-
command /rangi [<text>]: trigger: set {_chest} to chest inventory named "&aRangi" with 1 row set {_chest}'s slot 2 to wooden sword named "&eVIP" set {_chest}'s slot 3 to iron sword named "&eSVIP" set {_chest}'s slot 5 to gold sword named "&eSPONSOR" set {_chest}'s slot 6 to diamond sword named "&eSWAGER" open {_chest} to player function openGui(t: text) :: inventory: set {_chest} to chest inventory named "&e%{_t}%" with 1 row set {_chest}'s slot 3 to light green wool named "&aKup" set {_chest}'s slot 5 to red wool named "&cAnuluj" return {_chest} on inventory click: if name of player's current inventory is "&aRangi": cancel event if clicked slot is 2: open openGui("VIP") to player if clicked slot is 3: open openGui("SVIP") to player if clicked slot is 5: open openGui("SPONSOR") to player if clicked slot is 6: open openGui("SWAGER") to player stop if name of player's current inventory is "&eVIP" or "&eSVIP" or "&eSPONSOR" or "&eSWAGER": cancel event if clicked slot is 5: close player's inventory
-
"zakaz kopiowania i zmieniania autora" ta? To zajebiście https://youtu.be/V2e3jbjYcZY
-
1. Jeżeli robisz zmienną tymczasową to już nie musisz jej przypisywać do gracza ponieważ istnieje ona tylko w tym evencie set {_gui::%player%} to chest inventory with 4 rows named "&6>> &5ZDRAPKI &6<<" set {_gui::status::%player%} to true 2. Niby nic nie zmienia ale tego wait 2 ticks nie musi być jeżeli używasz normalnego formatowania i otwierasz gui po ustawianiu slotów set slot 35 of {_gui::%player%} to barrier named "&6>> &c&lWYJDŹ &6<<" wait 2 ticks open {_gui::%player%} to player 3. wykonają się oba chance, więc gracz będzie mógł wydropić i coś i nic i będą obie wiadomości chance of 20%: give player {@slabadrops} send "&aZdrapka okazała się szczęśliwa! Zobacz ekwipunek!" chance of 80%: send "&cZ tej zdrapki nie dostałeś nic!" zrób to tak: chance of 20%: give player {@slabadrops} send "&aZdrapka okazała się szczęśliwa! Zobacz ekwipunek!" else: send "&cZ tej zdrapki nie dostałeś nic!" Z plusów: 1. Fajnie że wypełnienie gui zrobiłeś listą integerów set slot (integers between 0 and 55) of {_gui::%player%} to gray stained glass pane named "&8ZDRAPKI" 2. Dobrze że korzystasz z skriptowego formatowania gui i że przy inventory click sprawdzasz też czy to nie inventory gracza wait 2 ticks open {_gui::%player%} to player on inventory click: event-inventory is not player's inventory
-
Ponawiam pytanie jednego z tutejszych graczy z 2018r
xAxee odpowiedział(a) na West pytanie w Pytania i problemy
on craft: if event-item's type is enchanted golden apple or golden apple: cancel event if event-item's name is "&cZlote jablko" or "&aZlote jablko": uncancel event -
on load: clear {mine::*} # Bloki na ktorych ma dzialac nowe kopanie set {mine::config::blocks::*} to stone # Domyslny czas kopania set {mine::config::default} to 1 second #konfiguracja poszczegolnych blokow set {mine::data::stone block} to 2 second on mine: if {mine::config::blocks::*} contain block: cancel event set {_block} to "%block's type%" if {mine::players::%player%::block} is not block's location: set {mine::players::%player%::block} to block's location set {mine::players::%player%::time} to now stop if difference between now and {mine::players::%player%::time} >= {mine::data::%{_block}%}: uncancel event stop send action bar "%difference between now and {mine::players::%player%::time}%/%{mine::data::%{_block}%}%" to player on left click: set {mine::players::%player%::block} to target block's location set {mine::players::%player%::time} to now
-
będzie działać
-
Plagiat, do tego źle przepisany
-
A jak dokładnie ma działać
-
Skrypt na informacje o ostatniej wiadomosci i komendzie
xAxee odpowiedział(a) na Delivetator temat w Nauka
Data ustawiana do zmiennych tylko przy przeładowaniu... Masz zmienna że skripta %now% -
Zamień player na victim
