Merhaba arkadaşlar, ben PREMIERE Setups Türkiye temsilcisi Ege Türker.
Bugün sizlere bir skript tanitacagim
Öncelikle yabancı uyruklu çalışanlarımızın ortak konusuna bakmak için
Değerli ziyaretçimiz, içeriği görebilmek için
şimdi giriş yapın veya kayıt olun.
Linkine göz atmanız yetecektir. Çok uzatmadan skriptimize geçelim.
Skript Kodlari:
Kod:
options:
prefix: &c[&aRB&c]
command: /rainbowbeacon
aliases: /rengarenkfener
permission: rb.kullan
denypermission: &cYetkin yok
#Fenerlerin yenilenme süreci
time: 5 ticks
autoPlaceBase: true
beaconblock: iron block
smoothColours: true
syncBeacons: true
on script load:
delete {rb::colours::*}
add white stained glass, red stained glass, pink stained glass, orange stained glass, magenta stained glass, light blue stained glass, yellow stained glass, light green stained glass, gray stained glass, light gray stained glass, cyan stained glass, purple stained glass, blue stained glass, brown stained glass, green stained glass and black stained glass to {rb::colours::*}
command {@command} [<text>]:
aliases: {@aliases}
permission: {@permission}
permission message: {@denypermission}
trigger:
if arg 1 is not set:
message "{@prefix} &e/rb place &7- Rengarenk fener olusturur"
message "{@prefix} &e/rb removeall &7-Siler"
message "{@prefix} &e/rb reload&7- Yeniler"
else if arg 1 is "place":
give player a beacon named "{@prefix}" with lore "&6Koyarak olusturun"
else if arg 1 is "removeall":
loop {rb::beacons::*}:
set block at loop-value to air
set block above loop-value to air
if {@autoPlaceBase} is true:
loop blocks in radius 2 around loop-value:
if loop-block is {@beaconblock}:
set loop-block to air
delete {rb::beacons::*}
message "{@prefix} &cButun RB ler silindi"
else if arg 1 is "reload":
execute player command "/sk reload rainbowbeacon"
else:
message "{@prefix} &cBilinmeyen komut"
on place of beacon:
if player's tool is beacon named "{@prefix}" with lore "&6Koyarak olusturun":
if player has permission "{@permission}":
add event-location to {rb::beacons::*}
if {@autoPlaceBase} is true:
set {_l} to location below event-location
set block at {_l} to {@beaconblock}
add 1 to x-coordinate of {_l}
set block at {_l} to {@beaconblock}
add 1 to z-coordinate of {_l}
set block at {_l} to {@beaconblock}
subtract 1 from x-coordinate of {_l}
set block at {_l} to {@beaconblock}
subtract 1 from x-coordinate of {_l}
set block at {_l} to {@beaconblock}
subtract 1 from z-coordinate of {_l}
set block at {_l} to {@beaconblock}
subtract 1 from z-coordinate of {_l}
set block at {_l} to {@beaconblock}
add 1 to x-coordinate of {_l}
set block at {_l} to {@beaconblock}
add 1 to x-coordinate of {_l}
set block at {_l} to {@beaconblock}
else:
cancel event
message "{@prefix} {@denypermission}"
on break of beacon:
loop {rb::beacons::*}:
if loop-value is event-location:
if player has permission "{@permission}":
set block above event-location to air
remove event-location from {rb::beacons::*}
message "{@prefix} &cFener altyapidan silindi"
if {@autoPlaceBase} is true:
loop blocks in radius 2 around event-location:
if loop-block is {@beaconblock}:
set loop-block to air
else:
cancel event
message "{@prefix} {@denypermission}"
every {@time}:
if {@syncBeacons} is true:
if {@smoothColours} is true:
loop {rb::beacons::*}:
if block above loop-value is not stained glass:
loop {rb::beacons::*}:
set block above loop-value-2 to blue stained glass
if data value of block above loop-value is more than 13:
loop {rb::beacons::*}:
set data value of block above loop-value-2 to 1
else if data value of block above loop-value is 6:
loop {rb::beacons::*}:
set data value of block above loop-value-2 to 9
else if data value of block above loop-value is 11:
loop {rb::beacons::*}:
set data value of block above loop-value-2 to 13
else:
loop {rb::beacons::*}:
add 1 to the data value of block above loop-value-2
else:
set {_b} to random item out of {rb::colours::*}
loop {rb::beacons::*}:
set block above loop-value to {_b}
else:
loop {rb::beacons::*}:
if {@smoothColours} is true:
if block above loop-value is not stained glass:
set block above loop-value to blue stained glass
if data value of block above loop-value is more than 13:
set data value of block above loop-value to 1
else if data value of block above loop-value is 6:
set data value of block above loop-value to 9
else if data value of block above loop-value is 11:
set data value of block above loop-value to 13
else:
add 1 to the data value of block above loop-value
else:
set block above loop-value to random item out of {rb::colours::*}