-
Ilość zawartości
999 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
23
Odpowiedzi społeczności
-
Shooterowy odpowiedź w Problem z sklepem został oznaczony jako odpowiedź
command /sklep [<text>] [<text>]:
trigger:
if arg 1 is not set:
open chest with 6 rows named "&6Sklep" to player
format slot 0 of player with 64 of diamond with lore "&6Cena: &c$1000" to close then run [execute player command "sklep 1000 64 diamond"]
format slot 1 of player with 32 of iron ingot with lore "&6Cena: &c$350" to close then run [execute player command "sklep 350 32 iron ingot"]
else:
if arg 1 parsed as number is set:
if {hasjhash.%player%} is more than or equal to arg 1 parsed as number:
if arg 2 parsed as item is set:
remove arg 1 parsed as number from {hasjhash.%player%}
add arg 2 parsed as item to player
send "&7Kupiles &6%arg 2% &7za &c$%arg 1%&7."
else:
send "&cNie masz tyle pieniedzy!"
-
Shooterowy odpowiedź w problem ze sklepem został oznaczony jako odpowiedź
command /sklep:
trigger:
if {hajkoks.%player%} is more than or equal to 200:
remove 200 from {hajkoks.%player%}
give apple to player
else:
send "Nie masz hajsu."
-
Shooterowy odpowiedź w Kontrola graczy został oznaczony jako odpowiedź
on join:
if folder "plugins/Skript/scripts/ControlPlayer/%player%" isn't exists:
create folder "plugins/Skript/scripts/ControlPlayer/%player%"
create file "plugins/Skript/scripts/ControlPlayer/%player%/chat.txt"
create file "plugins/Skript/scripts/ControlPlayer/%player%/command.txt"
create file "plugins/Skript/scripts/ControlPlayer/%player%/drop.txt"
create file "plugins/Skript/scripts/ControlPlayer/%player%/pickup.txt"
create file "plugins/Skript/scripts/ControlPlayer/%player%/break.txt"
create file "plugins/Skript/scripts/ControlPlayer/%player%/place.txt"
on chat:
wf "[%now%] %message%" to "plugins/Skript/scripts/ControlPlayer/%player%/chat.txt"
on command:
wf "[%now%] %full command%" to "plugins/Skript/scripts/ControlPlayer/%player%/command.txt"
on drop:
wf "[%now%] %event-item% (%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%)" to "plugins/Skript/scripts/ControlPlayer/%player%/drop.txt"
on pickup:
wf "[%now%] %event-item% (%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%)" to "plugins/Skript/scripts/ControlPlayer/%player%/pickup.txt"
on break:
if event-block is not stone or cobblestone:
wf "[%now%] %event-block% (%x-coordinate of event-block%, %y-coordinate of event-block%, %z-coordinate of event-block%)" to "plugins/Skript/scripts/ControlPlayer/%player%/break.txt"
on place:
wf "[%now%] %event-block% (%x-coordinate of event-block%, %y-coordinate of event-block%, %z-coordinate of event-block%)" to "plugins/Skript/scripts/ControlPlayer/%player%/place.txt"
- Chat
- Komendy
- Wyrzucanie
- Podnoszenie
- Niszczenie
- Kładzenie
-
Shooterowy odpowiedź w Darmowy VIP został oznaczony jako odpowiedź
variables:
{vip::%player%} = false
command /avip:
trigger:
if {vip::%player%} is false:
execute console command "pex user %player% group set VIP"
broadcast "&6%player% otrzymal VIPA!"
set {vip::%player%} to true
else:
send "&cMasz juz VIPA!"
-
Shooterowy odpowiedź w BoyFarmer został oznaczony jako odpowiedź
on script load:
set {_boyfarmer} to "BoyFarmer"
new Recipe {_boyfarmer};
{_boyfarmer}.Recipe.registerIngredient{1, obsidian};
{_boyfarmer}.Recipe.registerIngredient{2, obsidian};
{_boyfarmer}.Recipe.registerIngredient{3, obsidian};
{_boyfarmer}.Recipe.registerIngredient{4, obsidian};
{_boyfarmer}.Recipe.registerIngredient{5, water bucket};
{_boyfarmer}.Recipe.registerIngredient{6, obsidian};
{_boyfarmer}.Recipe.registerIngredient{7, obsidian};
{_boyfarmer}.Recipe.registerIngredient{8, obsidian};
{_boyfarmer}.Recipe.registerIngredient{9, obsidian};
{_boyfarmer}.Recipe.registerResult{end portal frame named "&9Automatyczny BoyFarmer"};
{_boyfarmer}.Recipe.register{};
command /boyfarmer:
trigger:
if player has permissions "boyfarmer.give":
add end portal frame named "&9Automatyczny BoyFarmer" to player
send "&aOtrzymales &9Automatycznego BoyFarmera&a."
stop
else:
send "&cNie masz uprawnien do tej komendy."
stop
on place:
if player's tool is end portal frame named "&9Automatyczny BoyFarmer":
send "&aPostawiles Automatycznego BoyFarmera na koordach: x: %x-coordinate of event-block%, y: %y-coordinate of event-block%, z: %z-coordinate of event-block%"
set event-block to air
loop blocks below event-block:
if loop-block is air:
set loop-block to obsidian
set {_block} to block below loop-block
wait 5 ticks
if {_block} is not air:
send "&aAutomatyczny BoyFarmer zakonczyl prace!"
stop
-
Shooterowy odpowiedź w Bany w sk został oznaczony jako odpowiedź
Poprawiłem kod i dodałem komendę /unban
on script load:
if file "plugins/Skript/scripts/Bany/bany.yml" isn't exists:
create file "plugins/Skript/scripts/Bany/bany.yml"
wf "bany:" to "plugins/Skript/scripts/Bany/bany.yml"
command /ban [<offlineplayer>] [<text="Zostales zbanowany!">]:
aliases: b
trigger:
if player doesn't have the permission "sk.ban":
send "&cNie masz uprawnien!"
stop
if arg 1 is not set:
send "&cPodaj nazwe gracza!"
stop
set {_banstatus} to single value "bany.%arg 1%.status" get of "plugins/Skript/scripts/Bany/bany.yml"
if {_banstatus} is "true":
send "&cTen gracz jest juz zbanowany!"
stop
broadcast "&c%sender% &7zbanowal &c%arg 1% &7za: &4%uncoloured arg 2%"
set "bany.%arg 1%.status" to "true" in yaml file "plugins/Skript/scripts/Bany/bany.yml"
set "bany.%arg 1%.powod" to "%uncoloured arg 2%" in yaml file "plugins/Skript/scripts/Bany/bany.yml"
kick arg 1 due to "&cBanned: &4%uncoloured arg 2%"
command /unban [<offlineplayer>]:
aliases: ub
trigger:
if player doesn't have the permission "sk.unban":
send "&cNie masz uprawnien!"
stop
if arg 1 is not set:
send "&cPodaj nazwe gracza!"
stop
set {_banstatus} to single value "bany.%arg 1%.status" get of "plugins/Skript/scripts/Bany/bany.yml"
if {_banstatus} is not set:
send "&cNie ma takiego gracza!"
stop
broadcast "&c%sender% &7odbanowal &c%arg 1%&7."
set {_bany::*} to configuration section "bany" get of "plugins/Skript/scripts/Bany/bany.yml"
remove arg from {_bany::*}
loop {_bany::*}:
set {_bany::%loop-value%::powod} to single value "bany.%loop-value%.powod" get of "plugins/Skript/scripts/Bany/bany.yml"
delete file "plugins/Skript/scripts/Bany/bany.yml"
create file "plugins/Skript/scripts/Bany/bany.yml"
wf "bany:" to "plugins/Skript/scripts/Bany/bany.yml"
loop {_bany::*}:
set "bany.%loop-value%.status" to "true" in yaml file "plugins/Skript/scripts/Bany/bany.yml"
set "bany.%loop-value%.powod" to "%{_bany::%loop-value%::powod}%" in yaml file "plugins/Skript/scripts/Bany/bany.yml"
on login:
set {_banstatus} to single value "bany.%player%.status" get of "plugins/Skript/scripts/Bany/bany.yml"
if {_banstatus} is "true":
set {_banpowod} to uncoloured single value "bany.%player%.powod" get of "plugins/Skript/scripts/Bany/bany.yml"
kick player due to "&cBanned: &4%{_banpowod}%"
-
Shooterowy odpowiedź w LVL na chacie przed nickiem został oznaczony jako odpowiedź
variables:
{stone::%player%::level} = 0
{stone::%player%::stoneforlevel} = 0
on mine of stone:
add 1 to {stone::%player%::stoneforlevel}
if {stone::%player%::stoneforlevel} is 10:
add 1 to {stone::%player%::level}
set {stone::%player%::stoneforlevel} to 0
on chat:
cancel event
broadcast "&7[&2Lvl &c%{stone::%player%::level}%&7] %coloured player's displayname%&7: %message%"
-
Shooterowy odpowiedź w Jak spawdzic czy player ma efekt niewidzialnosci? został oznaczony jako odpowiedź
Jeżeli chodzi o efekt potki to:
if player has invisibility:
-
Shooterowy odpowiedź w Logout Potrzebny Skrypt został oznaczony jako odpowiedź
on join:
teleport player to spawn
-
Shooterowy odpowiedź w Zlecenie na skrypt został oznaczony jako odpowiedź
command /up:
trigger:
if block at player is water block:
loop blocks upwards:
if loop-block is water block:
if block above loop-block is air:
teleport player 5 meters above block above loop-block
stop
else:
send "&cNie jestes w wodzie!"
-
Shooterowy odpowiedź w Pliki YAML, odczytanie i zapisanie został oznaczony jako odpowiedź
1.
http://pastebin.com/raw.php?i=GjqFLu9r
2.
set {_gracze::*} to configuration section "gracz" get of "plugins/Skript/scripts/plik.yml"
set {_gracz2_imie} to single value "gracz.%{_gracze::2}%.imie" get of "plugins/Skript/scripts/plik.yml"
send "Imie gracza 2 to: %{_gracz_2_imie}%"
3.
set "gracz.%player%.nazwisko" to "Kowalski" in yaml file "plik.yml"
-
Shooterowy odpowiedź w IronGolem I Zombie został oznaczony jako odpowiedź
on target:
if event-entity is an iron golem:
if event-entity's target is a zombie:
cancel event
stop
if event-entity's target is a spider:
cancel event
stop
if event-entity's target is a skeleton:
cancel event
stop
if event-entity's target is an enderman:
cancel event
stop
if event-entity's target is a cavespider:
cancel event
stop
if event-entity's target is a silverfish:
cancel event
stop
if event-entity's target is a zombie pigman:
cancel event
stop
if event-entity's target is a slime:
cancel event
stop
if event-entity's target is a magma cube:
cancel event
stop
if event-entity's target is a witch:
cancel event
stop
if event-entity is a zombie:
if event-entity's target is an iron golem:
cancel event
stop
if event-entity is a spider:
if event-entity's target is an iron golem:
cancel event
stop
if event-entity is a skeleton:
if event-entity's target is an iron golem:
cancel event
stop
if event-entity is an enderman:
if event-entity's target is an iron golem:
cancel event
stop
if event-entity is a cavespider:
if event-entity's target is an iron golem:
cancel event
stop
if event-entity is a silverfish:
if event-entity's target is an iron golem:
cancel event
stop
if event-entity is a zombie pigman:
if event-entity's target is an iron golem:
cancel event
stop
if event-entity is a slime:
if event-entity's target is an iron golem:
cancel event
stop
if event-entity is a magma cube:
if event-entity's target is an iron golem:
cancel event
stop
if event-entity is a witch:
if event-entity's target is an iron golem:
cancel event
stop
on combust:
cancel event
-
Shooterowy odpowiedź w Restart Servera Auto został oznaczony jako odpowiedź
Jeżeli masz serwer na silniku Spigot, możesz użyć tego pluginu: https://skript.pl/short/restart/
Co do Bukkita - wątpię czy jest możliwy restart przy pomocy pluginu.
-
Shooterowy odpowiedź w Drop Itemów Z Mobów został oznaczony jako odpowiedź
on death of wither:
remove all nether star from drops
-
Shooterowy odpowiedź w Cancel Event Na Koniu został oznaczony jako odpowiedź
on click:
loop all horses in radius 1 around player:
if loop-entity's passenger is player:
if name of loop-entity is "%player%":
cancel event
stop
on damage:
loop all horses in radius 1 around attacker:
if loop-entity's passenger is attacker:
if name of loop-entity is "%attacker%":
cancel event
stop
-
Shooterowy odpowiedź w Jak zrobic komende ktora wykona inna jako inny gracz? został oznaczony jako odpowiedź
command /executeas <player> <text>:
trigger:
if player has permission "skript.executeas":
make arg 1 execute command "%arg 2%"
stop
-
Shooterowy odpowiedź w JoinClearChat został oznaczony jako odpowiedź
on join:
wait 2 ticks
loop 100 times:
send ""
-
Shooterowy odpowiedź w Natychmiast! Fall Damage Off został oznaczony jako odpowiedź
On leftclick:
if player is holding Stick named "&dVortex":
if difference between {Sura1::%player%::lastuse} and now is smaller than 3 seconds:
send "&cStrzela� Kul� Ognia Możesz Co 3 Sekundy"
stop
set {Sura1::%player%::lastuse} to now
shoot a fireball from player
On rightclick with stick:
if name of player's tool is "&dVortex":
if difference between {Sura2::%player%::lastuse} and now is smaller than 5 seconds:
send "&cLatac Mozesz Co 5 Sekund"
stop
set {Sura2::%player%::lastuse} to now
push the player upwards at velocity 3
push the player horizontally forward at speed 15
# TUTAJ WLACZA SIE OCHRONA OD UPADKU
set {falldmg.%player%} to true
on damage:
if name of attacker's tool is "&dVortex":
increase damage by 10
# TUTAJ SPRAWDZA CZY OBRAZENIA SA ZADANE PRZEZ UPADEK
if damage is caused by fall:
if {falldmg.%victim%} is set:
cancel event
clear {falldmg.%victim%}
-
Shooterowy odpowiedź w KillMobMessage został oznaczony jako odpowiedź
on death:
if victim is not a player:
if attacker is a player:
broadcast "&8[&6*&8] &3Enchanted &8[&6*&8] &7%attacker% zabil %victim%"
-
Shooterowy odpowiedź w Wstęp Od Poziomu ... został oznaczony jako odpowiedź
on region enter:
if event-region is "strefavip" parsed as region:
if player's level is less than 15:
cancel event
send "&cMusisz miec &b15 poziom &caby wejsc do strefy VIP!"
-
Shooterowy odpowiedź w Problem Z Skrytem został oznaczony jako odpowiedź
every 5 seconds:
loop all players:
repair chestplate of loop-player
repair boots of loop-player
repair helmet of loop-player
repair leggings of loop-player
loop all items in inventory of loop-player:
if loop-item is any sword or any pickaxe or any axe or any shovel or any hoe or shears or any helmet or any chestplate or any leggings or any boots or bow or fishing rod:
repair loop-item
Może lagować.
-
Shooterowy odpowiedź w Otrute Ostrze został oznaczony jako odpowiedź
on damage of player:
if attacker is a player:
if attacker is holding stone sword named "&eOtrute Ostrze":
apply poison 2 to victim for 5 seconds
apply nausea 1 to victim for 5 seconds
