Aynen Banada Lazım.WhiteList Mesajını Ayarlayabilen Bi Skript Yapılabilir Mi?
Aynen Banada Lazım.
options:
prefix : &8[&7Whitelist&8]&7
kickmsg : &e[&aWhite&6List&e]&b Serverimizde &fBAKIM &bVar&d.
bypass : bukkit.op
permission : bukkit.op
variables:
{whitelist} = false # Just defaulting the whitelist to off when you start the skript
{wlbroadcast} = op # This is who the whitelist messages broadcast to (With vanilla whitelist it defaults to OP)
{deathwl} = off # Option of removing people from the whitelist when they die
command /whitelist [<text>] [<text>]:
description: Whitelist command
usage: /whitelist
permission: {@permission}
permission message: ยง4Yetkin Yok..
aliases: /wl
executable by: players and console
trigger:
# Turning the whitelist on
if arg 1 is "on":
if {whitelist} is false:
set {whitelist} to true
if {wlbroadcast} is "op":
loop all players:
loop-player is op
message "{@prefix} Whitelist on" to loop-player
else if {wlbroadcast} is "all":
broadcast "{@prefix} Whitelist on"
else:
message "{@prefix} Whitelist on" to command sender
else:
message "{@prefix} The whitelist is already on!" to command sender
# Turning the whitelist off
else if arg 1 is "off":
if {whitelist} is true:
set {whitelist} to false
if {wlbroadcast} is "op":
loop all players:
loop-player is op
message "{@prefix} Whitelist off" to loop-player
else if {wlbroadcast} is "all":
broadcast "{@prefix} Whitelist off"
else:
message "{@prefix} Whitelist off" to command sender
else:
message "{@prefix} The whitelist is already off!" to command sender
# Adding people to the whitelist
else if arg 1 is "add":
if arg 2 is not set:
message "{@prefix} Please set a player or all players to add to the whitelist" to command sender
else if arg 2 is "all":
loop all players:
set {whitelisted::%loop-player%} to true
if {wlbroadcast} is "op":
loop all players:
loop-player is op
message "{@prefix} All whitelisted" to loop-player
else if {wlbroadcast} is "all":
broadcast "{@prefix} All whitelisted"
else:
message "{@prefix} All whitelisted" to command sender
else:
set {whitelisted::%arg 2%} to true
if {wlbroadcast} is "op":
loop all players:
loop-player is op
message "{@prefix} %arg 2% added to whitelist" to loop-player
else if {wlbroadcast} is "all":
broadcast "{@prefix} %arg 2% added to whitelist"
else:
message "{@prefix} %arg 2% added to whitelist" to command sender
# Removing people from the whitelist
else if arg 1 is "remove":
if arg 2 is not set:
message "{@prefix} Please set a player or all players to add to the whitelist" to command sender
else if arg 2 is "all":
clear {whitelisted::*}
if {wlbroadcast} is "op":
loop all players:
loop-player is op
message "{@prefix} Whitelist emptied" to loop-player
else if {wlbroadcast} is "all":
broadcast "{@prefix} Whitelist emptied"
else:
message "{@prefix} Whitelist emptied" to command sender
else:
delete {whitelisted::%arg 2%}
if {wlbroadcast} is "op":
loop all players:
loop-player is op
message "{@prefix} %arg 2% removed from whitelist" to loop-player
else if {wlbroadcast} is "all":
broadcast "{@prefix} %arg 2% removed from whitelist"
else:
message "{@prefix} %arg 2% removed from whitelist" to command sender
# Listing all the people on the whitelist
else if arg 1 is "list":
loop {whitelisted::*}:
add "%loop-index%" to {_Temp::*}
message "{@prefix} Whitelisted players:" to command sender
message "%{_Temp::*}%" to command sender
# Changing who can see the whitelist messages
else if arg 1 is "broadcast":
if arg 2 is "op":
set {wlbroadcast} to "op"
message "{@prefix} Broadcast set to op" to command sender
else if arg 2 is "all":
set {wlbroadcast} to "all"
message "{@prefix} Broadcast set to all" to command sender
else if arg 2 is "none":
set {wlbroadcast} to "none"
message "{@prefix} Broadcast set to none" to command sender
else:
message "{@prefix} Please set it to op, all or none" to command sender
# Toggling death whitelist
else if arg 1 is "death":
if arg 2 is "on":
{deathwl} is "off"
set {deathwl} to "on"
if {wlbroadcast} is "op":
loop all players:
loop-player is op
message "{@prefix} Death whitelist enabled" to loop-player
else if {wlbroadcast} is "all":
broadcast "{@prefix} Death whitelist enabled"
else:
message "{@prefix} Death whitelist enabled" to command sender
else if arg 2 is "off":
{deathwl} is "on"
set {deathwl} to "off"
if {wlbroadcast} is "op":
loop all players:
loop-player is op
message "{@prefix} Death whitelist disabled" to loop-player
else if {wlbroadcast} is "all":
broadcast "{@prefix} Death whitelist disabled"
else:
message "{@prefix} Death whitelist disabled" to command sender
else:
message "{@prefix} Please set death whitelist to on/off!"
# Help command
else:
message "{@prefix} List of available commands:" to command sender
message "/whitelist on &7- Turns the whitelist on" to command sender
message "/whitelist off &7- Turns the whitelist off" to command sender
message "/whitelist add <player/all> &7- Adds a player or everyone on the server to the whitelist" to command sender
message "/whitelist remove <player/all> &7- Removes a player from the whitelist or clears the whitelist" to command sender
message "/whitelist list &7- Lists everyone on the whitelist currently" to command sender
message "/whitelist broadcast <op/all/none> &7- Sets who can see broadcasts" to command sender
message "/whitelist death <on/off> &7- Turns the death whitelist on or off" to command sender
message "To access the default whitelist, do /bukkit:whitelist" to command sender
on connect:
{whitelist} is true
{whitelisted::%player%} is not set
player does not have permission "{@bypass}"
kick the player due to "{@kickmsg}"
on death of player:
{deathwl} is "on"
delete {whitelisted::%victim%}
kardeşim hep istiyorsun sende sana o kadar yardımcı olmuşlar biraz kendin uğraş biraz çabalasana nedir bu herşeyi hazır bekliyorsun istersen serveride biz yapalım? zaten yapıyoruzda..Bir Istegim Daha Olucak.
- Yarım Saatte Bir Serverdeki Tüm Oyuncuların Envanterine 10 Elmas - 10 Zümrüt - 10 Demir - 10 Altın Gelmesini Istiyorum.
Bir Istegim Daha Olucak.
- Yarım Saatte Bir Serverdeki Tüm Oyuncuların Envanterine 10 Elmas - 10 Zümrüt - 10 Demir - 10 Altın Gelmesini Istiyorum.
every 30 minutes:
execute console command "/give players 264 10"
Anlasam Yapacagım Be Kardeşim.kardeşim hep istiyorsun sende sana o kadar yardımcı olmuşlar biraz kendin uğraş biraz çabalasana nedir bu herşeyi hazır bekliyorsun istersen serveride biz yapalım? zaten yapıyoruzda..Linki görebilmek için üye olmanız gerekiyor. Giriş yap veya üye ol.
hocam bak ben bildiğim kadarı ile arkadaşa ders veriyorum her akşam ama kulaklıgım bozuldu mikrofon olmadanda rahat edemiyorum 2 gün sonra gelirsen hep beraber skript öğrenebiliriz. kimseyede muhtaç olmazsın. skype: coder1824Anlasam Yapacagım Be Kardeşim.
hala bekliom atmadın d
on join:
set {seriyebaglama.%player%} to 0
on death:
if attacker is a player:
if victim is a player:
if {seriyebaglama.%attacker%} is 0:
set {seriyebaglama.%attacker%} to 1
send "Bir rakip katledildi!" to players
stop
if {seriyebaglama.%attacker%} is 1:
set {seriyebaglama.%attacker%} to 2
send "Adam ikiledi!" to players
stop
if {seriyebaglama.%attacker%} is 2:
set {seriyebaglama.%attacker%} to 3
send "Adam seriye bağladı!" to players
stop
if {seriyebaglama.%attacker%} is 3:
set {seriyebaglama.%attacker%} to 4
send "Adam seriye bağladı!" to players
stop
if {seriyebaglama.%attacker%} is 4:
set {seriyebaglama.%attacker%} to 5
send "<red>&lDört de dört!" to players
stop
if {seriyebaglama.%attacker%} is 5:
set {seriyebaglama.%attacker%} to 0
send "<cyan>&lPenta Kill!" to players
stop
on quit:
delete {seriyebaglama.%player%}
bir dahaki sefere bir yerden alinti yaparken kaynak belirtKod:options: prefix : &8[&7Whitelist&8]&7 kickmsg : &e[&aWhite&6List&e]&b Serverimizde &fBAKIM &bVar&d. bypass : bukkit.op permission : bukkit.op variables: {whitelist} = false # Just defaulting the whitelist to off when you start the skript {wlbroadcast} = op # This is who the whitelist messages broadcast to (With vanilla whitelist it defaults to OP) {deathwl} = off # Option of removing people from the whitelist when they die command /whitelist [<text>] [<text>]: description: Whitelist command usage: /whitelist permission: {@permission} permission message: ยง4Yetkin Yok.. aliases: /wl executable by: players and console trigger: # Turning the whitelist on if arg 1 is "on": if {whitelist} is false: set {whitelist} to true if {wlbroadcast} is "op": loop all players: loop-player is op message "{@prefix} Whitelist on" to loop-player else if {wlbroadcast} is "all": broadcast "{@prefix} Whitelist on" else: message "{@prefix} Whitelist on" to command sender else: message "{@prefix} The whitelist is already on!" to command sender # Turning the whitelist off else if arg 1 is "off": if {whitelist} is true: set {whitelist} to false if {wlbroadcast} is "op": loop all players: loop-player is op message "{@prefix} Whitelist off" to loop-player else if {wlbroadcast} is "all": broadcast "{@prefix} Whitelist off" else: message "{@prefix} Whitelist off" to command sender else: message "{@prefix} The whitelist is already off!" to command sender # Adding people to the whitelist else if arg 1 is "add": if arg 2 is not set: message "{@prefix} Please set a player or all players to add to the whitelist" to command sender else if arg 2 is "all": loop all players: set {whitelisted::%loop-player%} to true if {wlbroadcast} is "op": loop all players: loop-player is op message "{@prefix} All whitelisted" to loop-player else if {wlbroadcast} is "all": broadcast "{@prefix} All whitelisted" else: message "{@prefix} All whitelisted" to command sender else: set {whitelisted::%arg 2%} to true if {wlbroadcast} is "op": loop all players: loop-player is op message "{@prefix} %arg 2% added to whitelist" to loop-player else if {wlbroadcast} is "all": broadcast "{@prefix} %arg 2% added to whitelist" else: message "{@prefix} %arg 2% added to whitelist" to command sender # Removing people from the whitelist else if arg 1 is "remove": if arg 2 is not set: message "{@prefix} Please set a player or all players to add to the whitelist" to command sender else if arg 2 is "all": clear {whitelisted::*} if {wlbroadcast} is "op": loop all players: loop-player is op message "{@prefix} Whitelist emptied" to loop-player else if {wlbroadcast} is "all": broadcast "{@prefix} Whitelist emptied" else: message "{@prefix} Whitelist emptied" to command sender else: delete {whitelisted::%arg 2%} if {wlbroadcast} is "op": loop all players: loop-player is op message "{@prefix} %arg 2% removed from whitelist" to loop-player else if {wlbroadcast} is "all": broadcast "{@prefix} %arg 2% removed from whitelist" else: message "{@prefix} %arg 2% removed from whitelist" to command sender # Listing all the people on the whitelist else if arg 1 is "list": loop {whitelisted::*}: add "%loop-index%" to {_Temp::*} message "{@prefix} Whitelisted players:" to command sender message "%{_Temp::*}%" to command sender # Changing who can see the whitelist messages else if arg 1 is "broadcast": if arg 2 is "op": set {wlbroadcast} to "op" message "{@prefix} Broadcast set to op" to command sender else if arg 2 is "all": set {wlbroadcast} to "all" message "{@prefix} Broadcast set to all" to command sender else if arg 2 is "none": set {wlbroadcast} to "none" message "{@prefix} Broadcast set to none" to command sender else: message "{@prefix} Please set it to op, all or none" to command sender # Toggling death whitelist else if arg 1 is "death": if arg 2 is "on": {deathwl} is "off" set {deathwl} to "on" if {wlbroadcast} is "op": loop all players: loop-player is op message "{@prefix} Death whitelist enabled" to loop-player else if {wlbroadcast} is "all": broadcast "{@prefix} Death whitelist enabled" else: message "{@prefix} Death whitelist enabled" to command sender else if arg 2 is "off": {deathwl} is "on" set {deathwl} to "off" if {wlbroadcast} is "op": loop all players: loop-player is op message "{@prefix} Death whitelist disabled" to loop-player else if {wlbroadcast} is "all": broadcast "{@prefix} Death whitelist disabled" else: message "{@prefix} Death whitelist disabled" to command sender else: message "{@prefix} Please set death whitelist to on/off!" # Help command else: message "{@prefix} List of available commands:" to command sender message "/whitelist on &7- Turns the whitelist on" to command sender message "/whitelist off &7- Turns the whitelist off" to command sender message "/whitelist add <player/all> &7- Adds a player or everyone on the server to the whitelist" to command sender message "/whitelist remove <player/all> &7- Removes a player from the whitelist or clears the whitelist" to command sender message "/whitelist list &7- Lists everyone on the whitelist currently" to command sender message "/whitelist broadcast <op/all/none> &7- Sets who can see broadcasts" to command sender message "/whitelist death <on/off> &7- Turns the death whitelist on or off" to command sender message "To access the default whitelist, do /bukkit:whitelist" to command sender on connect: {whitelist} is true {whitelisted::%player%} is not set player does not have permission "{@bypass}" kick the player due to "{@kickmsg}" on death of player: {deathwl} is "on" delete {whitelisted::%victim%}
Bir Istegim Daha Olucak.
- Yarım Saatte Bir Serverdeki Tüm Oyuncuların Envanterine 10 Elmas - 10 Zümrüt - 10 Demir - 10 Altın Gelmesini Istiyorum.
every 30 real minutes:
give 10 of diamond to all players
give 10 of emerald to all players
give 10 of iron ingot to all players
give 10 of gold ingot to all players
bir dahaki sefere bir yerden alinti yaparken kaynak belirt
İstedigin gibi sorabilirsin @murat6135kardeşim hep istiyorsun sende sana o kadar yardımcı olmuşlar biraz kendin uğraş biraz çabalasana nedir bu herşeyi hazır bekliyorsun istersen serveride biz yapalım? zaten yapıyoruzda..Linki görebilmek için üye olmanız gerekiyor. Giriş yap veya üye ol.
at bakalim büyük ihtimal eksik addondan dolayidir hataPeki Tamam. Bu kodda Hata Var Hatayı Yazsam Düzeltirmisin?
post kasmak için yer arama hep hazırı öğretiyorsun bırak kendisi öğrensin tabii seninde işine gelir.İstedigin gibi sorabilirsin @murat6135