Skocz do zawartości

Bugowanie skryptu na itemy po respawnie


Polecane posty

witam mam serwer pvp, i odrazu dostaje sie itemy po wejsciu na serwer i mam skrypt ze po respawnie daje itemy do eq ale poczas pvp jak sie zloga to buguje sie i nie mozna wejsc na serwer bo sie wystwietla ze ktos jest juz na serwerze i czym zastapic "on respawn" bo to jest blad na pewno tego bo sprawdzalem, sprawdzalem tez on death itd ale nie daje itemow,  skrypt ponizej

 

 

 

on first join:
    set action bar of player to "&c&lWitaj po raz pierwszy na serwerze&7."
    clear the player's inventory
    heal player
    execute player command "warp spawn"
    give iron helmet of protection 4 and unbreaking 2 to player's helmet
    give iron chestplate of protection 4 and unbreaking 2 to player's chestplate
    give iron leggings of protection 4 and unbreaking 2 to player's leggings
    give iron boots of protection 4 and unbreaking 2 to player's boots
    give iron sword of sharpness 4 and unbreaking 2 to player
    give iron sword of knockback 2 and unbreaking 2 to player
    give 15 golden apple:0 to player
    give fishing rod to player
    give water bucket to player
    give 64 cobblestone to player
    give 64 cobblestone to player
    give 2 ice to player
    give 1 278 to player
    give 16 cooked porkchop to player
    if player has permission "items.vip":
        give 1 ender pearl named "&6&lPerla VIPA" to player
        give bow of power 3 named "&6&lLuk VIPA" to player
        give 16 arrow to player

            
on join:
    set action bar of player to "&7Dolaczyles do areny &a&lIron&7."
    clear the player's inventory
    heal player
    execute player command "warp spawn"
    remove resistance from player
    remove speed from player
    remove strength from player
    remove absorption from player    
    remove fire resistance from player
    remove regeneration from player
    give iron helmet of protection 4 and unbreaking 2 to player's helmet
    give iron chestplate of protection 4 and unbreaking 2 to player's chestplate
    give iron leggings of protection 4 and unbreaking 2 to player's leggings
    give iron boots of protection 4 and unbreaking 2 to player's boots
    give iron sword of sharpness 4 and unbreaking 2 to player
    give iron sword of knockback 2 and unbreaking 2 to player
    give 15 golden apple:0 to player
    give fishing rod to player
    give water bucket to player
    give 64 cobblestone to player
    give 64 cobblestone to player
    give 2 ice to player
    give 1 278 to player
    give 16 cooked porkchop to player
    if player has permission "items.vip":
        give 1 ender pearl named "&6&lPerla VIPA" to player
        give bow of power 3 named "&6&lLuk VIPA" to player
        give 16 arrow to player

 

on respawn:
    clear the player's inventory
    heal player
    remove resistance from player
    remove speed from player
    remove strength from player
    remove absorption from player    
    remove fire resistance from player
    remove regeneration from player
    execute player command "warp spawn"
    send "&8&m-----------------------------"
    send "&c&lZostales zabity!"
    send "&8&m-----------------------------"
    give iron helmet of protection 4 and unbreaking 2 to player's helmet
    give iron chestplate of protection 4 and unbreaking 2 to player's chestplate
    give iron leggings of protection 4 and unbreaking 2 to player's leggings
    give iron boots of protection 4 and unbreaking 2 to player's boots
    give iron sword of sharpness 4 and unbreaking 2 to player
    give iron sword of knockback 2 and unbreaking 2 to player
    give 15 golden apple:0 to player
    give fishing rod to player
    give water bucket to player
    give 64 cobblestone to player
    give 64 cobblestone to player
    give 2 ice to player
    give 1 278 to player
    give 16 cooked porkchop to player
    if player has permission "items.vip":
        give 1 ender pearl named "&6&lPerla VIPA" to player
        give bow of power 3 named "&6&lLuk VIPA" to player
        give 16 arrow to player
 

Edytowano przez alk0mat_

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
  • Biter. zmienił tytuł tematu Bugowanie skryptu na itemy po respawnie

Bądź aktywny! Zaloguj się lub utwórz konto

Tylko zarejestrowani użytkownicy mogą komentować zawartość tej strony

Utwórz konto

Zarejestruj nowe konto, to proste!

Zarejestruj nowe konto

Zaloguj się

Posiadasz własne konto? Użyj go!

Zaloguj się
  • Kto przegląda   0 użytkowników

    Brak zalogowanych użytkowników przeglądających tę stronę.

×
Okienko zamknie się za 5 sekund...