Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem]PVP


Rekomendowane odpowiedzi

Opublikowano

Cześć. Mam problem - Nie ma PVP na moim serwerze. W server.properties pozmieniałem na PVP: True. Mam kilka skryptów.

 

Pluginy:

 

SBNC4ke.jpg

 

Skrypty:

 

Większość by Avaterys ;x + Skrypt PVP By ChaHa (

 

variables:
        {punkty.%player%} = 100   #punkty na start
        {spawn.zombie} = true    # spawn zombie co 10 sekund
options:
        nazwa_zombie: Zombiaczek    # nazwa spawnowanych zombie
on respawn:
        add diamond sword named "&9Startowe EQ &6%player%" to player's inventory
        add bow of infinity named "&9Luk! &6%player%" to player's inventory
        add 10 steak named "&9Jedzenie! &6%player%" to player's inventory
        add arrow of power 10 named "&9Szybka strzala! &6%player%" to player's inventory
        add iron helmet named "&9Czapeczka! &6%player%" to the player's helmet
        add iron chestplate named "&9Klata! &6%player%" to the player's chestplate
        add iron leggings named "&9Gacie! &6%player%" to the player's leggings
        add iron boots named "&9Butki! &6%player%" to the player's boots
        wait 1 second
        execute console command "/playsound random.fizz %player%"
on first join:
        set {punkty.%player%} to 100
        add 10 golden apple named "&9Jabluszko! &6%player%" to player's ender chest
on death of player:
        remove diamond sword named "&9CS-Wloclawek &6%player%" from drops
        remove bow of infinity named "&9Luk! &6%player%" from drops
        remove 10 steak named "&9Jedzenie! &6%player%" from drops
        remove arrow of power 10 named "&9Szybka strzala! &6%player%" from drops
        remove iron helmet named "&9Czapeczka! &6%player%" from drops
        remove iron chestplate named "&9Klata! &6%player%" from drops
        remove iron leggings named "&9Gacie! &6%player%" from drops
        remove iron boots named "&9Butki! &6%player%" from drops
        remove xp from drops
        attacker is player:
                add {punkty.%victim%}/10 to {punkty.%attacker%}
                add 1 to the attacker's level
                remove 1 from victim's level
                apply potion of speed 2 to attacker for 5 seconds
                remove 20 from victim's balance
                strike lightning effect at the victim
                if attacker has permission "ranga.gracz":
                        set {money} to random integer between 25 and 50
                        add {money} to the attacker's balance
                        send "&2Dostales %{money}%$ i %{punkty.%victim%}/10% punktow za zabicie %victim%!" to attacker
                        stop
on death of zombie:   
        remove all drops from drops
        remove xp from drops
        add 3 emeralds to drops
on pickup emerald:
        delete event-entity
        cancel event
        add 1 to player's level
        execute console command "playsound random.orb %player%"
every 10 second:
        if {spawn.zombie} is true:
                spawn zombie at {spawnzombie}
                set name of spawned entity to "{@nazwa_zombie}"
command /zombie:
        trigger:
                set {spawnzombie} to location of player
                send "Ustawiono!"
                stop
command /punkty <offlineplayer = %player%>:
        usage: /punkty <gracz>
        aliases: pkt
        trigger:
                if arg 1 is player:
                        send "&9Masz &6%{punkty.%arg 1%}%&9 punktow!"
                        stop
                if {punkty.%arg 1%} is not set:
                        send "&4Nie ma takiego gracza!"
                        stop
                else: 
                        send "&9Gracz &6%arg 1%&9 ma &6%{punkty.%arg 1%}%&9 punktow!"
                        stop
command /reset:
        trigger:
                loop all players:
                        set {punkty.%loop-player%} to 100
                        send "&2Usunieto punkty wszystkich graczy!"
      
on consume apple of sharpness 1:              #jedzenie jabłka z ostroscia 1
        apply speed 3 to player for 5 second
on walking on water:                        #odradzanie woda
        heal player by 0.1 hearts
on rightclick on player:
        if player is holding sword:
                send "&6%name of target player%&9 ma&6 %{punkty.%name of target player%}%&9 punktow!"

 

 

 

+ Pan Stolecki xD

 

 

 

#======================Stolecki===============#
#NAME: Pan Stolecki                                #
#VERSION: 1.0                                     #
#AUTHOR: SmavCraft                         #
#=================================================#
#====================== KOD ======================#
command /npc [<text>]:
trigger:
  spawn a villager 1 meters above the player
  set the name of spawned entity to arguments
  apply slowness 1000 to the spawned entity for 1000000000 seconds
  apply resistance 1000 to the spawned entity for 1000000000 seconds
on rightclick on villager:
if name of clicked entity is "Pan Stolecki":
  cancel event
  make player execute command "/zawod"
on damage of villager:
name of victim entity is "Pan Stolecki":
  cancel event
command /StoleskiS [<text>]:
trigger:
  spawn a villager 1 meters above the player
  set the name of spawned entity to arguments
on rightclick on villager:
if name of clicked entity is "Pan Stolecki":
  cancel event
  make player execute command "/zawod"
on damage of villager:
name of victim entity is "Pan Stolecki":
  cancel event

Opublikowano

Może w WorldGuardzie masz na cuboidzie "__global__" ustawiony PVP off ?

 

Nie, ponieważ nie wyświetla się żadna wiadomość o braku PvP.

Opublikowano

1. nie uzywabym plikow by Avaterys nie podoba mi sie ich konfiguracja moze jest gdzies w skrypcie napisane ze gracz nie moze nikogo bic i pisze

cancel event

Opublikowano

Na jakim hostingu masz serwer? Kiedyś miałem też takowy problem, ale po zmianie hostingu było ok :)

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...