Merhaba değerli forum üyeleri. Karşınızda gene ben ve gene bir skript : ). Bu gün sizlere yapmış olduğum puan skriptini tanıtacağım.
NOT: Fotoğraflara eklemeyi unutmuşum, sohbete bir şey yazınca başında puan gözüküyor.
Gerekli eklentiler: Skript, SKQuery, SKRayfall, ChestCommands
Görüntüler:
Skript:
NOT: Fotoğraflara eklemeyi unutmuşum, sohbete bir şey yazınca başında puan gözüküyor.
Gerekli eklentiler: Skript, SKQuery, SKRayfall, ChestCommands
Oyuncu
- /puan: oyuncuya puanı, kazandığı puanı, kaybettiği puanı, harcadığı puanı, K/D oranı hakkında bilgi verir.
- /duyuru <yazi>: oyuncu duyurmak istediği mesajı 500 puan karşılığı duyurur.
- /puanmarket: puan karşılığı alış-veriş yapmaya sağlar.
- /puangonder <oyuncu> <miktar>: Belirtilen oyuncuya kendi hesabından puan gönderir.
Admin
- /puanver <oyuncu> <miktar>: belirtilen oyuncuya puan verir.
- /puanal <oyuncu> <miktar>: belirtilen oyuncudan puan alır.
- /puan: oyuncuya puanı, kazandığı puanı, kaybettiği puanı, harcadığı puanı, K/D oranı hakkında bilgi verir.
- /duyuru <yazi>: oyuncu duyurmak istediği mesajı 500 puan karşılığı duyurur.
- /puanmarket: puan karşılığı alış-veriş yapmaya sağlar.
- /puangonder <oyuncu> <miktar>: Belirtilen oyuncuya kendi hesabından puan gönderir.
Admin
- /puanver <oyuncu> <miktar>: belirtilen oyuncuya puan verir.
- /puanal <oyuncu> <miktar>: belirtilen oyuncudan puan alır.
Görüntüler:
Skript:
Kod:
variables:
{olum.%player%} = 0
{oldurme.%player%} = 0
{puan.%player%} = 100
{_x.%player%} = 0
{_y.%player%} = 0
{toplanilanpuanlar.%player%} = 0
{kaybedilenpuanlar.%player%} = 0
{hpuan.%player%} = 0
on death of player:
if attacker is a player:
set {_x} to random integer between 1 and 9
set {_y} to random integer between 1 and 3
add {_x} to {puan.%attacker%}
add {_x} to {toplanilanpuanlar.%attacker%}
remove {_y} from {puan.%victim%}
add {_y} to {kaybedilenpuanlar.%victim%}
message "&3Puan &8- &6%victim% &7adli oyuncuyu katlettigin icin &2%{_x}% &7puan kazandin!" to attacker
message "&3Puan &8- &7Oldugun icin &4%{_y}% &7puan kaybettin!" to victim
add 1 to {olum.%victim%}
add 1 to {oldurme.%attacker%}
on chat:
if {chat} is true:
cancel event
broadcast "&8[&6%{puan.%player%}%&8] %player's display name% &8>> &f%message%"
else:
cancel event
message "&8&l>> &7Sohbet Kapali!"
command /puan:
trigger:
message "&8&l&m--=*=--&8&l>> &3&lPuan &8&l&8&l&m--=*=--"
message ""
message "&8&l>> &7Puanin: &6%{puan.%player%}%"
message " &8&l>> &7Kazanilan Puan: &2%{toplanilanpuanlar.%player%}%"
message " &8&l>> &7Kaybedilen Puan: &4%{kaybedilenpuanlar.%player%}%"
message " &8&l>> &7Harcanan Puan: &6%{hpuan.%player%}%"
message ""
message "&8&l>> &7Olum&8/&7Oldurme: &6%{olum.%player%}%&8/&6%{oldurme.%player%}%"
message ""
message "&8&l&m--=*=--&8&l>> &3&lPuan &8&l&8&l&m--=*=--"
command /puanver [<player>] [<number>]:
permission: op
trigger:
add arg-2 to {puan.%arg-1%}
message "&3Puan &8- &6%arg-1%&7'e &2%arg-2% &7puan verdin."
message "&3Puan &8- &6Yonetim &7tarafindan sana &2%arg-2% &7puan verildi." to arg-1
stop
command /puanal [<player>] [<number>]:
permission: op
trigger:
remove arg-2 from {puan.%arg-1%}
message "&3Puan &8- &6%arg-1%&7'den &2%arg-2% &7puan aldin."
message "&3Puan &8- &6Yonetim &7tarafindan senden &2%arg-2% &7puan alindi." to arg-1
stop
command /puangonder [<player>] [<number>]:
trigger:
if {puan.%player%} is greater than arg-2:
remove arg-2 from {puan.%player%}
add arg-2 to {puan.%arg-1%}
message "&3Puan &8- &e%arg-1% &7adli oyuncuya, &e%arg-2% &7puan gonderdin. Guncel puanin: &6%{puan.%player%}%" to player
message "&3Puan &8- &e%player% &7adli oyuncu sana, &e%arg-2% &7puan gonderdi. Guncel puanin: &6%{puan.%arg-1%}%" to arg-1
else:
message "&3Puan &8- &7Yeterli puanin yok!"
command /duyuru <text>:
trigger:
if {puan.%player%} is greater than 499:
if {duyuru} is false:
remove 500 from {puan.%player%}
add 500 to {hpuan.%player%}
set {duyuru} to true
set {chat} to false
broadcast ""
broadcast "&8&l>> &7Sohbet kisa sureligine kapatilmistir."
broadcast ""
wait 2 seconds
broadcast "&8&l&m--=*=--&8&l>> &3&lDuyuru &8&l<<--=*=--"
broadcast ""
broadcast "&8&l>> &3%player% &7diyor ki:"
broadcast "&8&l>> &7%arg-1%"
broadcast ""
broadcast "&8&l&m--=*=--&8&l>> &3&lDuyuru &8&l<<--=*=--"
wait 2 seconds
broadcast ""
broadcast "&8&l>> &7Sohbet acilmistir."
broadcast ""
set {duyuru} to false
set {chat} to true
else:
message "&cDuyuru &8- &7Suan bir duyuru yapiliyor!"
else:
message "&cDuyuru &8- &7Duyur yapmak icin &6500 &7puan gereklidir."
command /puanmarket:
trigger:
open chest with 4 row named "&4&lPuan Market" to the player
format slot 0 of player with diamond helmet named "&bElmas Kask" with lore "|| &8• &7Tiklayarak &bElmas Kask &7alabilirsin.|| &8• &6100 &7puan" to close then run [make player execute command "kask e"]
format slot 9 of player with diamond chestplate named "&bElmas Zirh" with lore "|| &8• &7Tiklayarak &bElmas Zirh &7alabilirsin.|| &8• &6100 &7puan" to close then run [make player execute command "zirh e"]
format slot 18 of player with diamond leggings named "&bElmas Pantolon" with lore "|| &8• &7Tiklayarak &bElmas Pantolon &7alabilirsin.|| &8• &6100 &7puan" to close then run [make player execute command "pantolon e"]
format slot 27 of player with diamond boots named "&bElmas Bot" with lore "|| &8• &7Tiklayarak &bElmas Bot &7alabilirsin.|| &8• &6100 &7puan" to close then run [make player execute command "bot e"]
format slot 1 of player with golden helmet named "&eAltin Kask" with lore "|| &8• &7Tiklayarak &eAltin Kask &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "kask a"]
format slot 10 of player with golden chestplate named "&eAltin Zirh" with lore "|| &8• &7Tiklayarak &eAltin Zirh &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "zirh a"]
format slot 19 of player with Golden leggings named "&eAltin Pantolon" with lore "|| &8• &7Tiklayarak &eAltin Pantolon &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "pantolon a"]
format slot 28 of player with golden boots named "&eAltin Bot" with lore "|| &8• &7Tiklayarak &eAltin Bot &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "bot a"]
format slot 2 of player with chain helmet named "&7Zincir Kask" with lore "|| &8• &7Tiklayarak &7Zincir Kask &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "kask z"]
format slot 11 of player with chain chestplate named "&7Zincir Zirh" with lore "|| &8• &7Tiklayarak &7Zincir Zirh &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "zirh z"]
format slot 20 of player with chain leggings named "&7Zincir Pantolon" with lore "|| &8• &7Tiklayarak &7Zincir Pantolon &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "pantolon z"]
format slot 29 of player with chain boots named "&7Zincir Bot" with lore "|| &8• &7Tiklayarak &7Zincir Bot &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "bot z"]
format slot 5 of player with diamond sword named "&bElmas Kilic" with lore "|| &8• &7Tiklayarak &bElmas Kilic &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "kilic e"]
format slot 6 of player with golden sword named "&eAltin Kilic" with lore "|| &8• &7Tiklayarak &eAltin Kilic &7alabilirsin.|| &8• &660 &7puan" to close then run [make player execute command "kilic a"]
format slot 7 of player with iron sword named "&fDemir Kilic" with lore "|| &8• &7Tiklayarak &fDemir Kilic &7alabilirsin.|| &8• &670 &7puan" to close then run [make player execute command "kilic d"]
format slot 15 of player with diamond axe named "&bElmas Balta" with lore "|| &8• &7Tiklayarak &bElmas Balta &7alabilirsin.|| &8• &640 &7puan" to close then run [make player execute command "balta e"]
format slot 16 of player with golden axe named "&eAltin Balta" with lore "|| &8• &7Tiklayarak &eAltin Balta &7alabilirsin.|| &8• &620 &7puan" to close then run [make player execute command "balta a"]
format slot 17 of player with iron axe named "&fDemir Balta" with lore "|| &8• &7Tiklayarak &fDemir Balta &7alabilirsin.|| &8• &630 &7puan" to close then run [make player execute command "balta d"]
format slot 33 of player with book named "&4&l DIKKAT!" with lore "|| &8• &7&o Bu skript &eHarunBulBull &7&otarafindan yazilmistir.|| &8• &7&o Izinsiz paylasilmasi yasaktir!" to close
command /kask <text>:
trigger:
if arg-1 is "e":
if {puan.%player%} is greater than 99:
add 100 to {hpuan.%player%}
remove 100 from {puan.%player%}
give 1 diamond helmet to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
if arg-1 is "a":
if {puan.%player%} is greater than 79:
add 80 to {hpuan.%player%}
remove 80 from {puan.%player%}
give 1 golden helmet to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
if arg-1 is "z":
if {puan.%player%} is greater than 79:
add 80 to {hpuan.%player%}
remove 80 from {puan.%player%}
give 1 chain helmet to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
command /zşrh <text>:
trigger:
if arg-1 is "e":
if {puan.%player%} is greater than 99:
add 100 to {hpuan.%player%}
remove 100 from {puan.%player%}
give 1 diamond chestplate to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
if arg-1 is "a":
if {puan.%player%} is greater than 79:
add 80 to {hpuan.%player%}
remove 80 from {puan.%player%}
give 1 golden chestplate to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
if arg-1 is "z":
if {puan.%player%} is greater than 79:
add 80 to {hpuan.%player%}
remove 80 from {puan.%player%}
give 1 chain chestplate to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
command /pantolon <text>:
trigger:
if arg-1 is "e":
if {puan.%player%} is greater than 99:
add 100 to {hpuan.%player%}
remove 100 from {puan.%player%}
give 1 diamond leggings to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
if arg-1 is "a":
if {puan.%player%} is greater than 79:
add 80 to {hpuan.%player%}
remove 80 from {puan.%player%}
give 1 golden leggings to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
if arg-1 is "z":
if {puan.%player%} is greater than 79:
add 80 to {hpuan.%player%}
remove 80 from {puan.%player%}
give 1 chain leggings to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
command /bot <text>:
trigger:
if arg-1 is "e":
if {puan.%player%} is greater than 99:
add 100 to {hpuan.%player%}
remove 100 from {puan.%player%}
give 1 diamond boots to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
if arg-1 is "a":
if {puan.%player%} is greater than 79:
add 80 to {hpuan.%player%}
remove 80 from {puan.%player%}
give 1 golden boots to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
if arg-1 is "z":
if {puan.%player%} is greater than 79:
add 80 to {hpuan.%player%}
remove 80 from {puan.%player%}
give 1 chain boots to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
command /kilic <text>:
trigger:
if arg-1 is "e":
if {puan.%player%} is greater than 79:
add 80 to {hpuan.%player%}
remove 80 from {puan.%player%}
give 1 diamond sword to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
if arg-1 is "a":
if {puan.%player%} is greater than 59:
add 60 to {hpuan.%player%}
remove 60 from {puan.%player%}
give 1 golden sword to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
if arg-1 is "d":
if {puan.%player%} is greater than 69:
add 70 to {hpuan.%player%}
remove 70 from {puan.%player%}
give 1 iron sword to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
command /balta <text>:
trigger:
if arg-1 is "e":
if {puan.%player%} is greater than 39:
add 40 to {hpuan.%player%}
remove 40 from {puan.%player%}
give 1 diamond axe to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
if arg-1 is "a":
if {puan.%player%} is greater than 19:
add 20 to {hpuan.%player%}
remove 20 from {puan.%player%}
give 1 golden axe to player
else:
message "&3Puan Market &8- &7Yetersiz puan."
if arg-1 is "d":
if {puan.%player%} is greater than 29:
add 30 to {hpuan.%player%}
remove 30 from {puan.%player%}
give 1 iron axe to player
else:
message "&3Puan Market &8- &7Yetersiz puan."