Skocz do zawartości

[Pytanie] Wytabujecie mi!


Rekomendowane odpowiedzi

Prosze o wytabowanie

options:

tag: &f[&3Terenf] #TAG pluginu

size_cuboid: 20 #Wielkosc Cuboida

distance_for_cuboid: 0 #Dystans od spawnu, po ktorym mozna zalozyc cuboid (kratki)

variables:

{cuboid.%player%} = false

 

command /teren [] []:

trigger:

if argument 1 is not set:

message "&8======= &4 &8======="

message "&8 /teren &7 - &3Pomoc dot. terenow"

message "&8 /teren stworz&7 - &3Zaklada cuboid"

message "&8 /teren usun &7 - &3Kasuje cuboid"

message "&8 /teren info [Nick]&7 - &3Informacje o cuboidzie gracza"

message "&8 /teren autor &7- &3Informacje o skrypcie/autorze"

message "&8======= &4 &8======="

argument 1 is "stworz":

if {cuboid.%player%} is false:

if distance between the player and spawn point is greater than {@distance_for_cuboid}:

set {cuboid.%player%} to true

make console execute command "pex user %name of player% add worldguard.*"

make console execute command "pex user %name of player% add worldedit.*"

execute player command "//pos1"

execute player command "//pos2"

execute player command "//outset {@size_cuboid}"

execute player command "//expand vert"

execute player command "/rg define cuboid_%player%"

execute player command "/rg addowner cuboid_%player% %player%"

execute player command "rg flag cuboid_%player% greeting &6Obecny teren nalezy do gracza: &f[&5%player%&f]"

execute player command "rg flag cuboid_%player% farewell &6Opuszczono teren gracza: &f[&5%player%&f]"

execute player command "/rg save"

make console execute command "pex user %name of player% remove worldguard.*"

make console execute command "pex user %name of player% remove worldedit.*"

message "{@tag} &6Tworzenie cuboidu..."

wait 1 real second

message "{@tag} &6Cuboid utworzony w promieniu &8{@size_cuboid} &7kratek"

else:

message "{@tag} &6Masz juz cuboid!"

else:

message "{@tag} &6Aby utworzyc gildie musisz znajdowac sie &8{@distance_for_cuboid} &7kratek od spawnu"

argument 1 is "usun":

if {cuboid.%player%} is true:

set {cuboid.%player%} to false

make console execute command "pex user %name of player% add worldguard.*"

make console execute command "pex user %name of player% add worldedit.*"

execute player command "/rg delete cuboid_%player%"

make console execute command "pex user %name of player% remove worldguard.*"

make console execute command "pex user %name of player% remove worldedit.*"

message "{@tag} &6Kasowanie cuboidu..."

wait 1 real second

message "{@tag} &6Cuboid zostal usuniety"

else:

message "{@tag} &6Nie masz cuboida!"

argument 1 is "info":

make console execute command "pex user %name of player% add worldguard.*"

make console execute command "pex user %name of player% add worldedit.*"

execute player command "/rg info cuboid_%argument 2%"

make console execute command "pex user %name of player% remove worldguard.*"

make console execute command "pex user %name of player% remove worldedit.*"

argument 1 is "autor":

message "&8======= &4 &8======="

message " &7Author: &8Kizys (Sysiu)"

message " &7Website: &8http://kizys.pl/"

message " &7Wersja Skryptu: &8 1.0 BETA"

message " &7Licencja dla: &8PanGold"

on Skript start:

send "" to console

send "&2Teren &f>> &eSkrypt zostal zaladowany!" to the console

send "" to the console

send "&2Author &f>> &eKizys (Sysiu)" to the console

send "" to the console

 

Odnośnik do komentarza
Udostępnij na innych stronach

options:
		tag: &f[&3Terenf] #TAG pluginu
		size_cuboid: 20 #Wielkosc Cuboida
		distance_for_cuboid: 0 #Dystans od spawnu, po ktorym mozna zalozyc cuboid (kratki)
variables:
	{cuboid.%player%} = false
           
command /teren [<text>] [<text>]:
	trigger:
		if argument 1 is not set:
			message "&8======= &4 &8======="
			message "&8 /teren &7 - &3Pomoc dot. terenow"
			message "&8 /teren stworz&7 - &3Zaklada cuboid"    
			message "&8 /teren usun &7 - &3Kasuje cuboid"              
			message "&8 /teren info [Nick]&7 - &3Informacje o cuboidzie gracza"
			message "&8 /teren autor &7- &3Informacje o skrypcie/autorze"
			message "&8======= &4 &8======="
		argument 1 is "stworz":
			if {cuboid.%player%} is false:
				if distance between the player and spawn point is greater than {@distance_for_cuboid}:
					set {cuboid.%player%} to true
					make console execute command "pex user %name of player% add worldguard.*"
					make console execute command "pex user %name of player% add worldedit.*"
					execute player command "//pos1"
					execute player command "//pos2"
					execute player command "//outset {@size_cuboid}"
					execute player command "//expand vert"
					execute player command "/rg define cuboid_%player%"
					execute player command "/rg addowner cuboid_%player% %player%"
					execute player command "rg flag cuboid_%player% greeting &6Obecny teren nalezy do gracza: &f[&5%player%&f]"
					execute player command "rg flag cuboid_%player% farewell &6Opuszczono teren gracza: &f[&5%player%&f]"
					execute player command "/rg save"
					make console execute command "pex user %name of player% remove worldguard.*"
					make console execute command "pex user %name of player% remove worldedit.*"
					message "{@tag} &6Tworzenie cuboidu..."
					wait 1 real second
					message "{@tag} &6Cuboid utworzony w promieniu &8{@size_cuboid} &7kratek"
				else:
					message "{@tag} &6Masz juz cuboid!"
				else:
					message "{@tag} &6Aby utworzyc gildie musisz znajdowac sie &8{@distance_for_cuboid} &7kratek od spawnu"
		argument 1 is "usun":
			if {cuboid.%player%} is true:
				set {cuboid.%player%} to false
				make console execute command "pex user %name of player% add worldguard.*"
				make console execute command "pex user %name of player% add worldedit.*"
				execute player command "/rg delete cuboid_%player%"
				make console execute command "pex user %name of player% remove worldguard.*"
				make console execute command "pex user %name of player% remove worldedit.*"
				message "{@tag} &6Kasowanie cuboidu..."
				wait 1 real second
				message "{@tag} &6Cuboid zostal usuniety"
			else:
				message "{@tag} &6Nie masz cuboida!"
		argument 1 is "info":
			make console execute command "pex user %name of player% add worldguard.*"
			make console execute command "pex user %name of player% add worldedit.*"
			execute player command "/rg info cuboid_%argument 2%"
			make console execute command "pex user %name of player% remove worldguard.*"
			make console execute command "pex user %name of player% remove worldedit.*"
		argument 1 is "autor":
			message "&8======= &4 &8======="
			message " &7Author: &8Kizys (Sysiu)"
			message " &7Website: &8http://kizys.pl/"
			message " &7Wersja Skryptu: &8 1.0 BETA"
			message " &7Licencja dla: &8PanGold"
		on Skript start:
			send "" to console
			send "&2Teren &f>> &eSkrypt zostal zaladowany!" to the console
			send "" to the console
			send "&2Author &f>> &eKizys (Sysiu)" to the console
			send "" to the console

Liczę na +

csHDdb6.png

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 [Pytanie] Wytabujecie mi!   0 użytkowników
    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...