Bulundu Vip Süre Skript

  • Konuyu Başlatan Konuyu Başlatan Yasuoxdx
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 840
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Yasuoxdx

Yay Yok, İskelet Yok
Katılım
23 Haziran 2017
Mesajlar
315
Elmaslar
43
Puan
13.870
Minecraft
Azelora

Discord:

kyjons

/vipsüre yazınca vipin bitmesine kaç gün kaldığını öğrenmelerini istiyorum oyuncuların
 
Kod:
#Bu Skript Muhammet Gököz tarafından Yazılmıitır
#Version 1.0
#Bu Kısmı Değiştirmeyiniz
options:
    prefix: &7[&aServer-Ismi&7] &c
    perm: admin.admin

on login:
    if {vipilkdaha.%player%} is not set:
        set {vipsure.%arg 1%} to 0
        set {vipilkdaha.%player%} to true

command /surelivip [<player>] [<text>] [<text>] [<text>]:
    trigger:
        if player has permission "{@perm}":
            if arg 4 is set:
                set {vipsure.%arg 1%} to arg 3
                set {viponceki.%arg 1%} to arg 4
                execute console command "manuadd %arg 1% %arg 2%"
                send "{@prefix} %arg 1% Adli Oyuncumuz %arg 3% Saat %arg 2% Olmustur" to players
            else:
                send "{@prefix} Kullanim= /surelivip {oyuncuismi} {vipadı} {kacsaat} {simdikirutbesi} &aNot= &c1Gun=24 Saat" to player
        else:
            send "{@prefix} Bu Komutu Kullanmaya Yetkin Yok" to player

every 1 hour:
    loop all players:
        remove 1 from {vipsure.%loop-player%}
        if {vipsure.%loop-player%} is "0":
            send "{@prefix} Vip Suren bitti Onceki rutben olan %{viponceki.%loop-player%}% e Donuyorsun" to loop-player
            execute console command "manuadd %loop-player% {viponceki.%loop-player%}"

command /vipsurem [<player>]:
    trigger:
        if arg 1 is set:
            if player has permission "{@perm}":
                send "{@prefix} %arg 1% adli oyuncunun kalan vip suresi %{vipsure.%arg 1%}% Saat" to player
        if arg 1 is not set:
            send "{@prefix} Kalan Vip Suren= %{vipsure.%player%}% Saat" to player

command /surelivipadmin [<player>] [<text>]:
    trigger:
        if player has permission "{@perm}":
            if arg 2 is "sil":
                set {vipsure.%arg 1%} to 0
                send "{@prefix} %arg 1% Adli Oyuncunun Vip Suresi Silindi" to player
 
Skript kullanmanı tercih etmem Plugin kullanman daha iyi olur.

Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.


YAML:
# =============== PixelVip Configuration Options ================
#
# This is the default configuration and some information about some configurations.
#
# In "groups" on "commands" and "cmdChances"(Lists) you can use this placeholders:
# - {p} = Players Name
# - {vip} = Vip Group
# - {playergroup} = Player Group before Vip activation
# - {days} = Days of activated Vip
#
# In "groups" > "cmdChances"(List) you can add commands to run based on a % chance.
# Use numbers below 0-100 like the example on "vip1".
#
# In "configs" > "cmdOnRemoveVip"(String) you can use this placeholders:
# - {p} = Player Name
# - {vip} = Name of Vip Removed
#
# In "configs" > "commandsToRunOnChangeVip"(List) you can use this placeholders:
# - {p} = Player Name
# - {newvip} = Name of Vip the player is changing to
# - {oldvip} = Name of Vip the player is changing from
#
# In "configs" > "commandsToRunOnVipFinish" and "run-on-vip-finish" (Lists) you can use this placeholders:
# - {p} = Player Name
# - {vip} = Name of Vip
# - {playergroup} = Player Group before Vip activation
#
# On Vault options, you can use "set" to set the VIP group or "add" to add VIP group to player.
# *Using Vault you don't need to set any permission plugin command to set groups, Vault will do all this jobs.


groups:
  VIP:
    commands:
    - duyuru &e{p} &7adlı oyuncu &e{days} &7günlük &e{vip} &7aldı
    - eco give {p} 20000000000
    run-on-vip-finish:
    - broadcast
  VIP+:
    commands:
    - duyuru &e{p} &7adlı oyuncu &e{days} &7günlük &e{vip} &7aldı
    - eco give {p} 30000000000
    run-on-vip-finish:
    - broadcast
  MegaVIP:
    commands:
    - duyuru &e{p} &7adlı oyuncu &e{days} &7günlük &e{vip} &7aldı
    - eco give {p} 40000000000
    run-on-vip-finish:
    - broadcast
  LeaderVIP:
    commands:
    - duyuru &e{p} &7adlı oyuncu &e{days} &7günlük &e{vip} &7aldı
    - eco give {p} 50000000000
    - adakitsıfırla {p}
    run-on-vip-finish:
    - broadcast
configs:
  database:
    type: file
    mysql:
      host: jdbc:mysql://localhost:3306/
      db-name: pixelvip
      username: user
      password: pass
      keys:
        table-name: pixelvip_keys
        columns:
          key: col_key
          group: col_group
          duration: col_duration
          uses: col_uses
          cmds: col_cmds
          info: col_info
          comments: col_comments
      vips:
        table-name: pixelvip_vips
        columns:
          uuid: col_uuid
          vip: col_vip
          playerGroup: col_playerGroup
          duration: col_duration
          nick: col_nick
          expires-on-exact: col_expires
          active: col_active
          kits: col_kits
          comments: col_comments
      transactions:
        table-name: pixelvip_transactions
        columns:
          idt: col_idt
          nick: col_nick
  spigot:
    clickKeySuggest: false
    clickSuggest: /usekey {key}
  key-size: 10
  Vault:
    use: true
    mode: set
  cmdToReloadPermPlugin: manload
  cmdOnRemoveVip: ''
  commandsToRunOnVipFinish:
  - nick {p} off
  - renksifirla {p}
  commandsToRunOnChangeVip: []
  queueCmdsForOfflinePlayers: false
  worldCmdsAllowed:
  - world
  - world_nether
  - world_the_end
  - ASkyBlock
  - ASkyBlock_nether
  - Edit
  - LeaderSpawn
bungee:
  enableSync: false
  serverID: server1
apis:
  pagseguro:
    use: false
    email: [email protected]
    token: yourtoken
    ignoreOldest: 22/04/2019
  paypal:
    use: false
  commandIds:
    '1': darvip {p} Vip1 15
    '2': silk give {p} iron_golem 2
    '3': eco give {p} 10000
strings:
  _pluginTag: '&3SunucuAdı &8» &7'
  noPlayersByName: '&7Oyuncu &eVIP &7değil!'
  onlyPlayers: '&cOnly players ca use this command!'
  noKeys: '&aTheres no available keys! Use &6/newkey &aor &6/newikey &ato generate
    one.'
  listKeys: '&aAnahtar Listesi:'
  listItemKeys: '&Eşya Anahtar Listesi:'
  vipInfoFor: '&aVip Bilgisi '
  playerNotVip: '&7Sen veya bu kişi &eVIP &7değil!'
  moreThanZero: '&cThis number need to be more than 0'
  keyGenerated: '&aGenerated a key with the following:'
  keySendTo: '&aYou received a key with the following:'
  invalidKey: '&cThis key is invalid or not exists!'
  vipActivated: '&aVIP Başarıyla Aktif Edildi:'
  usesLeftActivation: '&bThis key can be used for more: &6{uses} &btimes.'
  activeVip: '&8- &eVIP Türü: &d{vip}'
  activeDays: '&8- &eGün: &a{days} gün'
  timeLeft: '&8- &eKalan Gün: &6'
  totalTime: 'Gün: &6'
  timeKey: 'Anahtar: &6'
  hoverKey: '&7&o(Click to get the Key)&r'
  timeGroup: '&8- &eVIP Türü: &d'
  timeActive: '&8- &eAktiflik: &6'
  infoUses: '&b- Uses left: &6'
  activeVipSetTo: '&aYour active VIP is '
  noGroups: '&cBöyle bir grup bulunamıyor &6'
  days: ' &agün'
  hours: ' &asaat'
  minutes: ' &adakika'
  and: ','
  vipEnded: '&e{vip} Süresi Bitti'
  lessThan: '&6Less than one minute to end your vip...'
  vipsRemoved: '&7Oyuncudan başarıyla &eVIP &7silindi!'
  vipSet: '&7Oyuncuya başarıyla &eVIP &7verildi!'
  sync-groups: '&aGroup configs send to all servers!'
  list-of-vips: '&aVIP Olanlar: '
  vipAdded: '&aVIP başarıyla oyuncuya verildi'
  item: '&a-- Item: &b'
  itemsGiven: '&aGiven {items} item(s) using a key.'
  itemsAdded: '&aItem(s) added to key:'
  keyRemoved: '&aKey removed with success: &b'
  noKeyRemoved: '&cTheres no keys to remove!'
  cmdNotAllowedWorld: '&cThis command is not allowed in this world!'
  'true': '&aAktif'
  'false': '&cDe-Aktif'
  reload: '&3SunucuAdı &8» &bConfig.yml &7başarıyla yenilendi!'
  confirmUsekey: '&4Warning: &cMake sure you have free space on your inventory to
    use this key for your vip or items. &6Use the same command again to confirm!'
  pagseguro:
    waiting: '&cPagSeguro: Your purchase has not yet been approved!'
    codeused: '&cPagSeguro: This code has already been used!'
    expired: '&cPagSeguro: This code has expired!'
    noitems: '&cPagSeguro: No items delivered. Contact an administrator to help you!'
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst