Citizens. Квесты

Darkest Teo

Активный участник
Пользователь
Баллы
63
Установил на свой сервер плагин Citizens, ради квестов.
Может ли кто-нибудь обьяснить мне, как создавать квесты?
Понял только что через игру создать нельзя, только введя что-то в quests.yml
Но вот что именно туда надо вписывать?😕
 
Туда нужно вписывать квесты... Dот тебе ссылка, если знаешь английский, то поможет:
http://wiki.citizensnpcs.net/index.php?title=Quests.yml

И вот тебе пример (Я прочитал на этом сайте лишь нужные теги. И вот, что я смог создать):
Код:
#GOWARD QUEST
 
Welcome:
 
    texts:
        description: <g>[Goward] <white>Welcome, young man. My name is Goward, I'm a head of this village! The village is strave, we need a food. Help us, and I'll award you as I can.
        completion: <g>[Goward] <white>Thank you for food! <gold>Here are cakes as a reward.
        acceptance: <white>Quest <y>accepted<white>.
    repeats: 1
    objectives:
        '0':
            '0':
                type: Delivery
                npcdestination: 0
                materialid: 297
                amount: 10
                message: <g>[Goward] <white>Thank you for this!
                rewards:
                    '0':
                        type: item
                        id: 297
                        amount: 10
                        take: true
            '1':
                type: Delivery
                npcdestination: 0
                materialid: 260
                amount: 20
                message: <g>[Goward] <white>Thank you for this!
                rewards:
                    '0':
                        type: item
                        id: 260
                        amount: 20
                        take: true
            '2':
                type: Delivery
                npcdestination: 0
                materialid: 366
                amount: 10
                message: <g>[Goward] <white>Thank you for this!
                rewards:
                    '0':
                        type: item
                        id: 366
                        amount: 10
                        take: true
            '3':
                type: Delivery
                npcdestination: 0
                materialid: 360
                amount: 30
                message: <white>Quest <y>completed<white>!
                rewards:
                    '0':
                        type: item
                        id: 360
                        amount: 30
                        take: true
    rewards:
        '0':
            type: item
            id: 354
            amount: 3
            take: false
New trouble:
 
    texts:
 
        description: <g>[Goward] <white>Hello, my friend. You did a good work. I have a bad news... Skeletons are terrorise our citizens! If you <y>kill some skeletons <white>I'll award you.
        completion: <g>[Goward] <white>Thank you! <gold>Here are money for your work.
        acceptance: <white>Quest <y>accepted<white>.
    requirements:
        '0':
            type: quest
            quest: Welcome
    repeats: 1
    objectives:
        '0':
            '0':
                type: Hunt
                amount: 10
                string: 'Skeleton'
                message: <y>Return to <g>Goward<y>!
        '1':
            '0':
                type: Delivery
                npcdestination: 0
                materialid: 0
                amount: 1
                message: <white>Quest <y>completed<white>!
    rewards:
        '0':
            type: money
            amount: 150
            take: false
        '0':
            type: health
            amount: 10
            take: false
Need iron:
 
    texts:
 
        description: <g>[Goward] <white>Hello, my friend. Now is a difficult time. It seems like creatures are hunt us! Blacksmith need an iron to make weapon, but all of my people is busy now. Can you <y>bring some iron to the blacksmith<white>?  Shure your chore will be award.
        completion: <g>[Goward] <white>Thank you! <gold>Here are money for your work.
        acceptance: <white>Quest <y>accepted<white>.
    requirements:
        '0':
            type: quest
            quest: New trouble
    repeats: 1
    objectives:
        '0':
            '0':
                type: Delivery
                npcdestination: 1
                materialid: 265
                amount: 30
                message: <y>Return to <g>Goward<y>!
                rewards:
                    '0':
                        type: item
                        id: 265
                        amount: 30
                        take: true
        '1':
            '0':
                type: Delivery
                npcdestination: 0
                materialid: 0
                amount: 1
                message: <white>Quest <y>completed<white>!
    rewards:
        '0':
            type: money
            amount: 200
            take: false
 
Туда нужно вписывать квесты... Dот тебе ссылка, если знаешь английский, то поможет:
http://wiki.citizensnpcs.net/index.php?title=Quests.yml

И вот тебе пример (Я прочитал на этом сайте лишь нужные теги. И вот, что я смог создать):
Код:
#GOWARD QUEST

Welcome:

    texts:
        description: <g>[Goward] <white>Welcome, young man. My name is Goward, I'm a head of this village! The village is strave, we need a food. Help us, and I'll award you as I can.
        completion: <g>[Goward] <white>Thank you for food! <gold>Here are cakes as a reward.
        acceptance: <white>Quest <y>accepted<white>.
    repeats: 1
    objectives:
        '0':
            '0':
                type: Delivery
                npcdestination: 0
                materialid: 297
                amount: 10
                message: <g>[Goward] <white>Thank you for this!
                rewards:
                    '0':
                        type: item
                        id: 297
                        amount: 10
                        take: true
            '1':
                type: Delivery
                npcdestination: 0
                materialid: 260
                amount: 20
                message: <g>[Goward] <white>Thank you for this!
                rewards:
                    '0':
                        type: item
                        id: 260
                        amount: 20
                        take: true
            '2':
                type: Delivery
                npcdestination: 0
                materialid: 366
                amount: 10
                message: <g>[Goward] <white>Thank you for this!
                rewards:
                    '0':
                        type: item
                        id: 366
                        amount: 10
                        take: true
            '3':
                type: Delivery
                npcdestination: 0
                materialid: 360
                amount: 30
                message: <white>Quest <y>completed<white>!
                rewards:
                    '0':
                        type: item
                        id: 360
                        amount: 30
                        take: true
    rewards:
        '0':
            type: item
            id: 354
            amount: 3
            take: false
New trouble:

    texts:

        description: <g>[Goward] <white>Hello, my friend. You did a good work. I have a bad news... Skeletons are terrorise our citizens! If you <y>kill some skeletons <white>I'll award you.
        completion: <g>[Goward] <white>Thank you! <gold>Here are money for your work.
        acceptance: <white>Quest <y>accepted<white>.
    requirements:
        '0':
            type: quest
            quest: Welcome
    repeats: 1
    objectives:
        '0':
            '0':
                type: Hunt
                amount: 10
                string: 'Skeleton'
                message: <y>Return to <g>Goward<y>!
        '1':
            '0':
                type: Delivery
                npcdestination: 0
                materialid: 0
                amount: 1
                message: <white>Quest <y>completed<white>!
    rewards:
        '0':
            type: money
            amount: 150
            take: false
        '0':
            type: health
            amount: 10
            take: false
Need iron:

    texts:

        description: <g>[Goward] <white>Hello, my friend. Now is a difficult time. It seems like creatures are hunt us! Blacksmith need an iron to make weapon, but all of my people is busy now. Can you <y>bring some iron to the blacksmith<white>?  Shure your chore will be award.
        completion: <g>[Goward] <white>Thank you! <gold>Here are money for your work.
        acceptance: <white>Quest <y>accepted<white>.
    requirements:
        '0':
            type: quest
            quest: New trouble
    repeats: 1
    objectives:
        '0':
            '0':
                type: Delivery
                npcdestination: 1
                materialid: 265
                amount: 30
                message: <y>Return to <g>Goward<y>!
                rewards:
                    '0':
                        type: item
                        id: 265
                        amount: 30
                        take: true
        '1':
            '0':
                type: Delivery
                npcdestination: 0
                materialid: 0
                amount: 1
                message: <white>Quest <y>completed<white>!
    rewards:
        '0':
            type: money
            amount: 200
            take: false
Не заходит на сайт
 
Установил на свой сервер плагин Citizens, ради квестов.
Может ли кто-нибудь обьяснить мне, как создавать квесты?
Понял только что через игру создать нельзя, только введя что-то в quests.yml
Но вот что именно туда надо вписывать?😕
Там квесты не очень, я сейчас пишу плагин-дополнение к Citizens с gui из инвенторей.
 
Назад
Верх Низ