on death of player:
if type of attacker is player:
if player's tool is not enchanted:
chance of 10%:
drop 1 of victim's head named "&fGłówka gracza &7%victim%"at victim's location
stop
else if player's tool is any tool of looting 1:
chance of 40%:
drop 1 of victim's head named "&fGłówka gracza &7%victim%"at victim's location
stop
else if player's tool is any tool of looting 2:
chance of 70%:
drop 1 of victim's head named "&fGłówka gracza &7%victim%"at victim's location
stop
else if player's tool is any tool of looting 3:
chance of 100%:
drop 1 of victim's head named "&fGłówka gracza &7%victim%"at victim's location
stop
on break:
if event-block is any log:
if player's gamemode is creative:
stop
else:
set {_l} to event-block
set {_s} to 1
while type of block above {_l} is any log:
wait 0.25 second
add 1 to {_s}
drop (type of block above {_l}) at event-block
set block above {_l} to air
play sound "block.wood.break" for player
set {_l} to location of block above {_l}
on death of player:
if victim has magma cream named "&9Guardian":
remove 1 of magma cream named "&9Guardian" from player's inventory
cancel drops
wait 10 seconds
add all drops of victim to victim's inventory
send "&aOcaliłeś swoje przedmioty za pomocą Guardiana!" to victim
Nie wiem czy działa ale mozesz sprawdzić
every 5 ticks in world "world":
loop all players:
if loop-player has enchanted book of mending:
remove 1 of enchanted book of mending from loop-player's inventory
add 1 of stone to loop-player's inventory
on join:
while player is online:
if block under player is slime block:
push player upwards with speed 10
wait 1 seconds
Nie wiem czy inaczej się da, nie usuwaj "wait 1 seconds" bo będzie lag mocny
Ja bym lekko to zmodyfikował
on first join:
wait 3 seconds
execute console command "randomteleport %player%"
send "&aZostałeś losowo przeteleportowany!" to player
command /explore [<string>]:
trigger:
if arg 1 is "tp":
teleport player to spawn of the world "Explore"
send "&aZostałeś przeteleportowany do świata &eExplore" to player
stop
Potrzebuję skryptu, dzięki któremu po śmierci gracza tworzyłaby się skrzynia:
- Do skrzyni przemieściłyby się wszystkie itemy które wypadły z gracza
- Skrzynia miałaby nazwę "Skarb gracza (nick)
Potrzebuję skryptu, by dało się zablokować mending na serwerze, najlepiej gdyby usunąć go z trade u villagera, a gdyby się nie dało to jak gracz ma go w łapce to on znika, lub jakikolwiek inny sposób na usunięcie mendingu. Z góry dziękuję