Skocz do zawartości

Dodanie permisji do skryptu


Mateusz90122

Rekomendowane odpowiedzi

Mogę prosić aby dodać premissie do skryptu:

command /helpop [<text>]:
trigger:
if arg 1 is set:
set {hptp} to player
send json of "&8&l[&c&lHELPOP&8&l] &7%player% &8» &6%arg%" tooltip "&8» &7Teleportacja do &egracza" run "/tp %{hptp}%" to all ops
send "&e&lHELPOP &8» &7Twoje zgloszenie zostalo wyslane do &eadmina&7! Czekaj cierpliwie na &2odpowiedz&7!" to player
 
set {helpop.%player%} to false
wait {@spamhelpop} minute
set {helpop.%player%} to true
if arg 1 is not set:
send "&e&lHELPOP &8» &7Poprawne uzycie: &e/helpop <wiadomosc>"
 
on death:
if victim is player:
drop victim's skull
on command "/helpop":
if {helpop.%player%} is false:
cancel event
send "&e&lHELPOP &8» &7Na helpop mozna pisac co &e1 minute&7!"





Premissia: SVGDHelpop
Aby dotyczyło się OP'ów i premissi. Żeby widzieli Moderatorzy itd
Odnośnik do komentarza
Udostępnij na innych stronach

Powinno dzialac:

options:
	prefix: &cTWOJEIP.pl

variables:
    {cooldown::%player%} = false

command /helpop [<text>]:
    trigger:
        if arg 1 is set:
            if {cooldown::%player%} is false:
                send "{@prefix} &3&l>> &7Wyslales zgloszenie na helpop o tresci: &c%arg 1%"
                set {hptp} to player
                loop all players:
                    if loop-player has permission "player.admin":
                        send json of "&8[&c&oHelpOP&8] &7Gracz &e%player% &7potrzebuje pomocy: &e%arg 1%." tooltip "&6> &aTELEPORTACJA DO GRACZA" run "/tp %{hptp}%" to loop-player
                set {cooldown::%player%} to true
                wait 15 seconds
                set {cooldown::%player%} to false
            else:
                send "{@prefix} &3&l>> &cNa HelpOP mozesz pisac co 15 sekund!"
        else:
            send "{@prefix} &3&l>> &cPodaj tresc zgloszenia &8(&c/helpop tresc_wiadomosci&8)"
on join:
    set {cooldown::%player%} to false

A jak te nie dziala to uzyj tego:

options:
	prefix: &cTWOJEIP.pl

variables:
    {cooldown::%player%} = false

command /helpop [<text>]:
    trigger:
        if arg 1 is set:
            if {cooldown::%player%} is false:
                send "{@prefix} &3&l>> &7Wyslales zgloszenie na helpop o tresci: &c%arg 1%"
                loop all players:
                    if loop-player has permission "player.admin":
                        send json of "&8[&c&oHelpOP&8] &7Gracz &e%player% &7potrzebuje pomocy: &e%arg 1%." tooltip "&6> &aTELEPORTACJA DO GRACZA" run "/tp %player%" to loop-player
                set {cooldown::%player%} to true
                wait 15 seconds
                set {cooldown::%player%} to false
            else:
                send "{@prefix} &3&l>> &cNa HelpOP mozesz pisac co 15 sekund!"
        else:
            send "{@prefix} &3&l>> &cPodaj tresc zgloszenia &8(&c/helpop tresc_wiadomosci&8)"
on join:
    set {cooldown::%player%} to false

Licze na wielkiego like z twojej strony, jesli oczywiscie dziala :)

 

❤ MC.PROPACRAFT.PL 


★ SKRYPTY ★


★ TECHNIK SERWERÓW MINECRAFT ★


✮ Pomogłem? Strzej lajka! ✮


 

Odnośnik do komentarza
Udostępnij na innych stronach

 

 

 

Powinno dzialac:

options:
	prefix: &cTWOJEIP.pl

variables:
    {cooldown::%player%} = false

command /helpop [<text>]:
    trigger:
        if arg 1 is set:
            if {cooldown::%player%} is false:
                send "{@prefix} &3&l>> &7Wyslales zgloszenie na helpop o tresci: &c%arg 1%"
                set {hptp} to player
                loop all players:
                    if loop-player has permission "player.admin":
                        send json of "&8[&c&oHelpOP&8] &7Gracz &e%player% &7potrzebuje pomocy: &e%arg 1%." tooltip "&6> &aTELEPORTACJA DO GRACZA" run "/tp %{hptp}%" to loop-player
                set {cooldown::%player%} to true
                wait 15 seconds
                set {cooldown::%player%} to false
            else:
                send "{@prefix} &3&l>> &cNa HelpOP mozesz pisac co 15 sekund!"
        else:
            send "{@prefix} &3&l>> &cPodaj tresc zgloszenia &8(&c/helpop tresc_wiadomosci&8)"
on join:
    set {cooldown::%player%} to false

A jak te nie dziala to uzyj tego:

options:
	prefix: &cTWOJEIP.pl

variables:
    {cooldown::%player%} = false

command /helpop [<text>]:
    trigger:
        if arg 1 is set:
            if {cooldown::%player%} is false:
                send "{@prefix} &3&l>> &7Wyslales zgloszenie na helpop o tresci: &c%arg 1%"
                loop all players:
                    if loop-player has permission "player.admin":
                        send json of "&8[&c&oHelpOP&8] &7Gracz &e%player% &7potrzebuje pomocy: &e%arg 1%." tooltip "&6> &aTELEPORTACJA DO GRACZA" run "/tp %player%" to loop-player
                set {cooldown::%player%} to true
                wait 15 seconds
                set {cooldown::%player%} to false
            else:
                send "{@prefix} &3&l>> &cNa HelpOP mozesz pisac co 15 sekund!"
        else:
            send "{@prefix} &3&l>> &cPodaj tresc zgloszenia &8(&c/helpop tresc_wiadomosci&8)"
on join:
    set {cooldown::%player%} to false

Licze na wielkiego like z twojej strony, jesli oczywiscie dziala :)

Nie działa ;c

Odnośnik do komentarza
Udostępnij na innych stronach

Pluginy ,ktore sa na to potrzebne to: skQuery, Skript+.

 

Nigdy nie mialem czegos takiego na serwerze, ze teleportuje od razu admina do tego gracza po kliknieciu bo ja uzywam zwyklego:

variables:
    {cooldown::%player%} = false

command /helpop [<text>]:
    trigger:
        if arg 1 is set:
            if {cooldown::%player%} is false:
                send "&e&lX&6&lX&e&lX &3&l>> &7Wyslales zgloszenie na helpop o tresci: &c%arg 1%"
                loop all players:
                    if loop-player has permission "player.admin":
                        send "&8[&c&oHelpOP&8] &7Gracz &e%player% &7potrzebuje pomocy: &e%arg 1%." to loop-player
                set {cooldown::%player%} to true
                wait 15 seconds
                set {cooldown::%player%} to false
            else:
                send "&e&lX&6&lX&e&lX &3&l>> &cNa HelpOP mozesz pisac co 15 sekund!"
        else:
            send "&e&lX&6&lX&e&lX &3&l>> &cPodaj tresc zgloszenia &8(&c/helpop tresc_wiadomosci&8)"
on join:
    set {cooldown::%player%} to false

I ci lepiej tez to polecam.

 

❤ MC.PROPACRAFT.PL 


★ SKRYPTY ★


★ TECHNIK SERWERÓW MINECRAFT ★


✮ Pomogłem? Strzej lajka! ✮


 

Odnośnik do komentarza
Udostępnij na innych stronach

Zarchiwizowany

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

  • Ostatnio przeglądający forum Dodanie permisji do skryptu   0 użytkowników
    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...