S
Silinen üye 78915
Ziyaretçi
Coin Market Skript
Merhaba Arkadaşlar, Bugün Sizlerle Coin Market Skript'ini Paylaşıcağız
Arkadaşım LquenS'e Çok Teşekkür Ediyorum Ve İyi Forumlar :)
Gerekli Pluginler
SilkSpawner
Vault
GroupManager
skQuery
KOD
PHP:
on skript load:
send "&6&l» &eBu Skript LquenS ve OmerDede tarafından MC-TR'ye yapılmıştır." to console
on login:
while player is online:
wait 1 minute
add 1 to {online.time.%player%}
every 45 minute:
loop all players:
{online.time.%loop-player%} is bigger than or equal to 45:
remove 45 from {online.time.%loop-player%}
add 1 to {coin.%loop-player%}
send "&a&l45 Dakika online durduğun için 1 coin kazandın" to loop-player
else:
exit 1 loop
command /coinmarket:
trigger:
wait 2 ticks
play raw sound "random.orb" at player with pitch 1 volume 5
open chest with 1 row named "&3&lCoin Market" to player
format slot 2 of player with diamond block named "&6VIP" with lore "&aVIP Menüsü" to close then run [execute player command "vipmarket"]
format slot 4 of player with emerald block named "&eSpawner" with lore "&aSpawner Menüsü" to close then run [execute player command "spawnermarket"]
format slot 6 of player with iron block named "&bPara" with lore "&aPara Menüsü" to close then run [execute player command "paramarket"]
stop
command /vipmarket [<text>]:
trigger:
wait 0.3 seconds
if arg 1 is not set:
play raw sound "random.orb" at player with pitch 1 volume 5
open chest with 1 row named "&6&lVIP Market" to player
format slot 2 of player with iron ingot named "&8&lDemir VIP" with lore "&840 Coine Demir Vip Al" to close then run [execute player command "vipmarket demir"]
format slot 4 of player with gold ingot named "&6&lAltın VIP" with lore "&680 Coine Altın Vip Al" to close then run [execute player command "vipmarket altin"]
format slot 6 of player with diamond named "&e&lElmas VIP" with lore "&b120 Coine Elmas Vip Al" to close then run [execute player command "vipmarket elmas"]
if arg 1 is "demir":
if {coin.%player%} is bigger than or equal to 40:
remove 40 from {coin.%player%}
execute console command "manuadd %player% demirvip"
send "&8&lDemir Vip'in hayırlı olsun"
else:
send "&c&lBiraz daha coine ihtiyacın var"
if arg 1 is "altin":
if {coin.%player%} is bigger than or equal to 80:
remove 80 from {coin.%player%}
execute console command "manuadd %player% altınvip"
send "&e&lAltın Vip'in hayırlı olsun"
else:
send "&c&lBiraz daha coine ihtiyacın var"
if arg 1 is "elmas":
if {coin.%player%} is bigger than or equal to 120:
remove 120 from {coin.%player%}
execute console command "manuadd %player% elmasvip"
send "&b&lElmas Vip'in hayırlı olsun"
else:
send "&c&lBiraz daha coine ihtiyacın var"
command /spawnermarket [<text>]:
trigger:
wait 0.3 seconds
if arg 1 is not set:
play raw sound "random.orb" at player with pitch 1 volume 5
open chest with 1 row named "&6&lSpawner Market" to player
format slot 2 of player with iron ingot named "&8&lInek" with lore "&815 Coine Inek Spawner" to close then run [execute player command "spawnermarket cow"]
format slot 4 of player with gold ingot named "&e&lZombiePigman" with lore "&e30 Coine Pigman Spawner" to close then run [execute player command "spawnermarket domuz"]
format slot 6 of player with diamond named "&e&lIron Golem" with lore "&860 Coine Iron Golen Spawner" to close then run [execute player command "spawnermarket iron"]
if arg 1 is "cow":
if {coin.%player%} is bigger than or equal to 15:
remove 15 from {coin.%player%}
execute console command "ss give %player% cow 1"
send "&8&lInek Spawner'in hayırlı olsun"
else:
send "&c&lBiraz daha coine ihtiyacın var"
if arg 1 is "domuz":
if {coin.%player%} is bigger than or equal to 30:
remove 30 from {coin.%player%}
execute console command "ss give %player% zombiepigman 1"
send "&e&lDomuz Zombi Spawner'in hayırlı olsun"
else:
send "&c&lBiraz daha coine ihtiyacın var"
if arg 1 is "spawnermarket ıron":
if {coin.%player%} is bigger than or equal to 60:
remove 60 from {coin.%player%}
execute console command "ss give %player% iron 1"
send "&b&lDemir Golem Spawner'in hayırlı olsun"
else:
send "&c&lBiraz daha coine ihtiyacın var"
command /paramarket [<text>]:
trigger:
wait 0.3 seconds
if arg 1 is not set:
play raw sound "random.orb" at player with pitch 1 volume 5
open chest with 1 row named "&6&lPara Market" to player
format slot 2 of player with iron ingot named "&8&l100K" with lore "&815 100K Para" to close then run [execute player command "paramarket 100k"]
format slot 4 of player with gold ingot named "&e&l10M" with lore "&e30 Coine 10M Para" to close then run [execute player command "paramarket 10m"]
format slot 6 of player with diamond named "&e&l1T" with lore "&860 Coine 1T Para" to close then run [execute player command "paramarket 1mr"]
if arg 1 is "100k":
if {coin.%player%} is bigger than or equal to 15:
remove 15 from {coin.%player%}
execute console command "eco give %player% 100000"
send "&8&l10 K'n hayırlı olsun"
else:
send "&c&lBiraz daha coine ihtiyacın var"
if arg 1 is "10m":
if {coin.%player%} is bigger than or equal to 30:
remove 30 from {coin.%player%}
execute console command "eco give %player% 10000000"
send "&e&l10 Milyon'un hayırlı olsun"
else:
send "&c&lBiraz daha coine ihtiyacın var"
if arg 1 is "1mr":
if {coin.%player%} is bigger than or equal to 60:
remove 60 from {coin.%player%}
execute console command "eco give %player% 1000000000"
send "&b&l1 Milyar'ın hayırlı olsun"
else:
send "&c&lBiraz daha coine ihtiyacın var"
command /coinbak:
trigger:
send "&a&lHesabındaki Coin sayın: &e&l%{coin.%player%}%"
command /coinver [<player>] [<int>]:
permission: coin.admin
trigger:
add arg-2 to {coin.%arg-1%}
send "&7Başarıyla &e%arg-1% &eisimli oyuncuya &e%arg-2% &7Coin verildi!"
Moderatör tarafından düzenlendi: