-
Ilość zawartości
1775 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
78
Treść opublikowana przez Fendi
-
zobacz czy teraz
-
Nie dałeś :: przed returntype
-
Minecraft ma taką granicę 20 prota. Jeżeli chcesz więcej to możesz zrobić sztuczną ochronę w skrypcie/pluginie.
-
zaspoileruje ze to nie zadziala, nie mozesz uzywac replace na timespanie, najpierw trzeba zamienic na string, a potem jezeli chcesz bez ulamka to zamienic na integer
-
skrypt nie ma prawa dzialac, wyglada jak stworzony przez ai
-
if zmienna contains loop-player
-
sam wpisz, szkoda mi marnowac czasu aby wchodzic na jakies serwery dla kidosow give player end rod named "&6&lRóżczka lewitacjii" lore "loreeeeeeeeeeee"
-
Co? Chciales cooldown kopalni to wyslalem ci liste placeholderow do tego pluginu, wystarczy ze po prostu to wpiszesz w sekcji tekstu w twoim pluginie na hologramy
-
to przeciez masz %mineresetlite_time_remaining%
-
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#mineresetlite
-
No nie do konca (victim is player) (attacker is player) A przedimek? Bez tego jest blad cos takiego nie zalatwi tego problemu https://skripthub.net/docs/?id=1104
-
a do tego trzeba 2.8 A jezeli ta wersja ci z jakiejs przyczyny nie pasuje to mozesz tez uzyc https://skripthub.net/docs/?id=5476
-
z czegos takiego sie nie bierze, masz https://github.com/SkriptLang/Skript/releases
-
command /live: trigger: send "link do kanalu" to all players
-
przeciez nic tu nie masz do ustawiania, jedynie wystarczy wgrac
-
command /gracze: trigger: set {_} to chest inventory with 3 rows named "&3Gracze" set slot (integers between 0 and 27) of {_} to black stained glass pane set slot 13 of {_} to book named "&3Lista graczy:" with lore "&aLiczba graczy na serwerze: %amount of players%" set slot 2 of {_} to book named "&cDołącz do areny" with lore "&aLiczba graczy na arenie: %amount of players in world "world"%" open {_} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "&3Gracze": cancel event if clicked slot is 2: add player to {arena::*} while name of player's current inventory is "&3Gracze": set slot 13 of event-inventory to book named "&3Lista graczy:" with lore "&aLiczba graczy na serwerze: %amount of players%" set slot 2 of event-inventory to book named "&cDołącz do areny" with lore "&aLiczba graczy na arenie: %amount of players in world "world"%" wait second Jeżeli nie podasz kodu to jedynie dodam na podstawie własnych domysłów z tego co napisales.
-
dodajesz w srodku pętli while, chyba ze nie zalezy ci na tym aby się to caly czas odswiezalo to poza nia
-
command /sprawdz [<player>]: executable by: players permission: sprawdz.graczy permission message: &4Nie posiadasz dostępu do tej komendy. usage: "&cUżycie:: &6/sprawdz <gracz>" trigger: set {_gui} to chest inventory with 6 rows named "&eInspekcja gracza &a%arg 1%" set {inspectingPlayers::%player%} to arg 1 set slot 53 of {_gui} to book named "&eInformacje" with lore "&eŻycie: &a%health of arg 1%%nl%&eJedzenie: &a%hunger of arg 1%" set {_num} to 0 loop 36 times: set slot {_num} of {_gui} to slot {_num} of arg-1's inventory add 1 to {_num} set slot 37 of {_gui} to arg-1's offhand tool set slot 41 of {_gui} to arg-1's helmet set slot 42 of {_gui} to arg-1's chestplate set slot 43 of {_gui} to arg-1's leggings set slot 44 of {_gui} to arg-1's boots open {_gui} to player on inventory click: if {inspectingPlayers::%player%} is ("%player%" parsed as player): cancel event on inventory close: {inspectingPlayers::%player%} is set clear {inspectingPlayers::%player%} Nie testowałem ale chyba powinno działać. Z tym jest zawsze jakiś wylew, ale jakoś zrobiłem ,zobacz czy dobrze działa. Jak działa licze na like
-
Zatem 2 głupie błędy command /sprawdz [<player>]: executable by: players permission: sprawdz.graczy permission message: &4Nie posiadasz dostępu do tej komendy. usage: "&cUżycie:: &6/sprawdz <gracz>" trigger: set {_gui} to chest inventory with 6 rows named "&eInspekcja gracza &a%arg 1%" set {inspectingPlayers::%player%} to true set slot 53 of {_gui} to book named "&eInformacje" with lore "&eŻycie: &a%health of arg 1%%nl%&eJedzenie: &a%hunger of arg 1%" set {_num} to 0 loop 36 times: set slot {_num} of {_gui} to slot {_num} of arg-1's inventory add 1 to {_num} set slot 37 of {_gui} to arg-1's cursor slot set slot 41 of {_gui} to arg-1's helmet set slot 42 of {_gui} to arg-1's chestplate set slot 43 of {_gui} to arg-1's leggings set slot 44 of {_gui} to arg-1's boots open {_gui} to player on inventory click: if {inspectingPlayers::%player%} is set: cancel event on inventory close: {inspectingPlayers::%player%} is set clear {inspectingPlayers::%player%} 1. Gui otwiera się po zakonczeniu wszystkich setów. 2. Złe taby zostały umieszone w skrypcie
-
Podeślesz jeszcze raz kod, bo zakładam że coś zmieniałeś i nie jest taki sam jak ten na samej gorze. Poza tym piszesz o invsee, a komende masz /sprawdz. Jest to to samo?
-
function dajCD(p: player, v: text, t: text, s: timespan) :: boolean: if difference between {cooldown::%{_v}%::%{_p}%} and now is smaller than {_s}: remove difference between now and {cooldown::%{_v}%::%{_p}%} from {_s} set {_s} to "%{_s}%" replace all "seconds" and "second" with "s" in {_s} replace all "minute" and "minutes" with "m" in {_s} send "%{_t}% %{_s}%" to {_p} return false else: set {cooldown::%{_v}%::%{_p}%} to now return true on right click with firework rocket: cancel event if dajCD(player, "rakieta", "&3[Rakieta]&8 Przed następnym użyciem poczekaj&7", 3 seconds) = false prosze, licze na like
-
on break: event-block is diamond ore player's tool is enchanted with fortune set {_} to level of fortune of player's tool set {_a} to random integer from 1 to 10 give {_a}*{_} of diamond to player Tak będzie krócej, optymalniej oraz w dodatku przetestowałem i działa.
-
command /gracze: trigger: set {_} to chest inventory with 3 rows named "&3Gracze" set slot (integers between 0 and 27) of {_} to black stained glass pane set slot 13 of {_} to book named "&3Lista graczy:" with lore "&aLiczba graczy na serwerze: %amount of players%" open {_} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "&3Gracze": cancel event while name of player's current inventory is "&3Gracze": set slot 13 of event-inventory to book named "&3Lista graczy:" with lore "&aLiczba graczy na serwerze: %amount of players%" wait second Nie wiem czy to jest najlepszy sposob, ale po jednym kliknieciu w gui bedzie ci juz je odswiezac. Nie mam twojego skryptu do gry, więc za przykład włożyłem tu liczbę wszystkich graczy.
-
command /dailyrewards: permission: {@daily_use} trigger: set {_} to chest inventory with 3 rows named "{@gui_name}" set slot (integers between 0 and 27) of {_} to black stained glass pane if difference between {daily::%player's uuid%} and now is smaller than {@cooldown}: set slot 13 of {_} to {@claimed_item} named "{@unclaimed_item_name}" with lore "{@reward_name}" and "" and "{@claimed}" else: set slot 13 of {_} to {@unclaimed_item} named "{@claimed_item_name}" with lore "{@reward_name}" and "" and "{@unclaimed}" open {_} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "{@gui_name}": cancel event if clicked slot is 13: close player's inventory if clicked slot is {@claimed_item}: play sound "entity.villager.no" with volume 2 to player send "{@prefix}{@cooldown_message}" to player else if clicked slot is {@unclaimed_item}: {@reward_cmd} play sound "block.note_block.bell" with volume 2 to player set {daily::%player's uuid%} to now send "{@prefix}{@claimed_message}" to player command /tezedd: trigger: clear {daily::%player's uuid%} options: claimed: &cClaimed! unclaimed: &aClick To Claim! prefix: &d&lDaily &7&l»&r daily_use: daily.use cooldown: 24 hours gui_name: &d&lDaily Rewards unclaimed_item: minecart with chest unclaimed_item_name: &6Daily Reward claimed_item_name: &6Daily Reward claimed_item: minecart reward_name: &7+1 &bDiamond reward_cmd: give 1 of diamond to player claimed_message: &a Successfully claimed! cooldown_message: &c This reward is on cooldown! Prosze, licze na like
