patrick2dev
ölü.
- Katılım
- 11 Aralık 2017
- Mesajlar
- 818
- Elmaslar
- 724
- Puan
- 8.305
Merhabalar,
kendi serverim için bir plugin paketi yapmaya çalışıyorum.
Fakat askyblock/challenges.yml'de bir hata var.
Tam olarak anlamadım kodu atayım siz bakarsınız.
kendi serverim için bir plugin paketi yapmaya çalışıyorum.
Fakat askyblock/challenges.yml'de bir hata var.
Tam olarak anlamadım kodu atayım siz bakarsınız.
Kod:
##########################################################################################
# Challenges
# Rewards and required items have to be described using Bukkit Materials
# and be exactly correct
# Do not use Type Id's - they will not work
# Challenges can be one of three types - inventory, island or level.
# inventory - means the player must have the items on them
# island - means the items have to be on the island and within 10 blocks of the player
# entities are also supported, e.g., COW.
# level - means the island level has to be equal or over this amount.
# If level is set as nothing '', then the challenge is a free challenge and can be
# done at any time.
# Challenges can be repeatable only if they are inventory challenges
# permissions can be given as a reward
#
# Reward Commands - commands can be run when a challenge is completed and repeated
# Commands are:
# rewardcommands:
# - command1
# - command2
# repeatrewardcommands:
# - command1
# - command2
# The commands are listed and run in order. Do not put a / in front of the command.
# The token [player] will be replaced with the player's name.
# Example:
# rewardcommands:
# - pex promote [player]
# - heal [player]
# - warp winner_circle [player]
# If a command fails, it will be noted in the console.
#
# The format for POTIONS is as follows:
#
# Format POTION:NAME:<LEVEL>:<EXTENDED>:<SPLASH/LINGER>:QTY
# LEVEL, EXTENDED, SPLASH, LINGER are optional.
# LEVEL is a number, 1 or 2
# LINGER is for V1.9 servers and later
# Examples:
# POTION:STRENGTH:1:EXTENDED:SPLASH:1
# POTION:INSTANT_DAMAGE:2::LINGER:2
# POTION:JUMP:2:NOTEXTENDED:NOSPLASH:1
# POTION:WEAKNESS::::1 - any weakness potion
#
# Valid potion names are:
# WATER, REGEN, SPEED, FIRE_RESISTANCE, POISON, INSTANT_HEAL, NIGHT_VISION, WEAKNESS,
# STRENGTH, SLOWNESS, JUMP, INSTANT_DAMAGE, WATER_BREATHING, INVISIBILITY
# For V1.9 these are also available:
# LUCK, MUNDANE, THICK, AWKWARD
#
#
# Reseting islands and challenges - usually challenges are reset when a player resets
# their island (see resetchallenges in config.yml). You can stop some challenges from
# being reset by using resetallowed:false in the challenge.
##########################################################################################
challenges:
# Challenge levels - list as many as you like. If a challenge's level is '' it can
# be done anytime. You cannot name a challenge the same as a level.
levels: 'SkyRanks'
# The number of undone tasks that can be left on a level before unlocking next level
waiveramount: 1
# Free levels - which levels above should be auto done when reached, therefore unlocking next level.
# Example:
# freelevels: 'Novice' will immediately put player onto Competent level challenges
# freelevels: 'Novice Competent' will make all Novice, Competent and Expert challenges available immediately.
# freelevels: 'Competent' will open Competent and Expert levels once Novice is complete
freelevels: 'SkyRanks'
# This section determines what happens when a player unlocks a new level
# The subname should correspond to the levels listed above
# Note that there is no section for the first level as it is automatically unlocked
levelUnlock:
SkyRanks:
# What additional message to send player
message: 'Artık rütbe atlayabilirsiniz'
rewardDesc: 'A diamond!'
itemReward: 'DIAMOND:1'
moneyReward: 100
expReward: 100
# List permissions separated by spaces
permissionReward: ''
# Commands to run on this player. Use [player] for their name.
commands:
#- kit tools [player]
#- some other command
skylord:
friendlyname: 'SkyLord'
description: 'Adani 100000 level yap Sonra -/skylordol'
icon: IRON_INGOT
level: 'Elit'
type: level
requiredItems: 100000
takeItems: false
itemReward: 'DIAMOND:1'
rewardText: '1 diamond'
moneyReward: 250
expReward: 250
permissionReward: 'skylord.ol'
repeatable: false
repeatItemReward: ''
repeatRewardText: ''
repeatMoneyReward: 0
repeatExpReward: 0
skyking:
friendlyname: 'SkyKing'
description: 'Adani 500000 level yap Sonra -/skykingol'
icon: GOLD_INGOT
level: 'Elit'
type: level
requiredItems: 500000
takeItems: false
itemReward: 'DIAMOND:1'
rewardText: '1 diamond'
moneyReward: 250
expReward: 250
permissionReward: 'skyking.ol'
repeatable: false
repeatItemReward: ''
repeatRewardText: ''
repeatMoneyReward: 0
repeatExpReward: 0
skygod:
friendlyname: 'SkyGod'
description: 'Adani 1500000 level yap Sonra -/skygodol'
icon: EMERALD
level: 'Elit'
type: level
requiredItems: 1500000
takeItems: false
itemReward: 'DIAMOND:1'
rewardText: '1 diamond'
moneyReward: 250
expReward: 250
permissionReward: 'skygod.ol'
repeatable: false
repeatItemReward: ''
repeatRewardText: ''
repeatMoneyReward: 0
repeatExpReward: 0
skyzero:
friendlyname: 'SkyZero'
description: 'Adani 15000000 level yap Sonra -/skyzerool'
icon: DIAMOND
level: 'Elit'
type: level
requiredItems: 15000000
takeItems: false
itemReward: 'DIAMOND:1'
rewardText: '1 diamond'
moneyReward: 250
expReward: 250
permissionReward: 'skyzero.ol'
repeatable: false
repeatItemReward: ''
repeatRewardText: ''
repeatMoneyReward: 0
repeatExpReward: 0
skyzeus:
friendlyname: 'SkyZeus'
description: 'Adani 40000000 level yap Sonra -/skyzeusol'
icon: GOLD_BLOCK
level: 'Elit'
type: level
requiredItems: 40000000
takeItems: false
itemReward: 'DIAMOND:1'
rewardText: '1 diamond'
moneyReward: 250
expReward: 250
permissionReward: 'skyzeus.ol'
repeatable: false
repeatItemReward: ''
repeatRewardText: ''
repeatMoneyReward: 0
repeatExpReward: 0
skymaster:
friendlyname: 'SkyMaster'
description: 'Adani 100000000 level yap Sonra -/skymasterol'
icon: EMERALD_BLOCK
level: 'Elit'
type: level
requiredItems: 100000000
takeItems: false
itemReward: 'DIAMOND:1'
rewardText: '1 diamond'
moneyReward: 250
expReward: 250
permissionReward: 'skymaster.ol'
repeatable: false
repeatItemReward: ''
repeatRewardText: ''
repeatMoneyReward: 0
repeatExpReward: 0
emekli:
friendlyname: 'Emekli'
description: 'Adani 250000000 level yap Sonra -/emekliol'
icon: DIAMOND_BLOCK
level: 'Elit'
type: level
requiredItems: 250000000
takeItems: false
itemReward: 'DIAMOND:1'
rewardText: '1 diamond'
moneyReward: 250
expReward: 250
permissionReward: 'emekli.ol'
repeatable: false
repeatItemReward: ''
repeatRewardText: ''
repeatMoneyReward: 0
repeatExpReward: 0
skriptte vs. bir hata yok sadece burada hata var.
Bana yardımcı olacaklar.
Discord: mur00backend#0524
Yani Plugin paketinde yardım edecekler demek istedim :)
Bana yardımcı olacaklar.
Discord: mur00backend#0524
Yani Plugin paketinde yardım edecekler demek istedim :)