Inactive [RPG] NPC-Quester v2.3.1 - Make NPCs give quests (links uQuest/EpicQuest and Citizens) [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Randy Schouten, Jun 9, 2011.

  1. Offline

    Randy Schouten

    NPC-Quester - Make NPCs give quests!
    Version: 2.3.1

    If you ever wanted a plugin that would make your NPCs give out quests, this is the plugin for you.
    Lots of features to be added, so keep on the lookout!

    Features:
    • uQuest:
      • NPCs give random quests
      • Specified NPCs give out a specific quest and restricted those quests if wanted
      • If wanted, make players have a specified item in their hand with a specified amount, and if you want it, take it from them too
      • Quest chains!
      • Make NPCs give out the quest only once
    • EpicQuest:
      • Give solo quests
      • Give group quests
    How to install: (read carefully!)


    First off, required plugins:
    uQuest or EpicQuest (quests)
    Citizens (NPCs)
    Permissions (commands, not neccesary but nice to have)

    uQuest:
    Now, to give your NPCs quests, use the ingame commands to make your NPCs quests!​
    You can also copy paste one of the examples and type your own settings there if you find that easier too.​

    EpicQuest:
    Use in-game commands to add NPCs or change the config​

    Names are case sensitive!

    When you are done adding your questers, /reload your server to load them.

    Download:

    For uQuest (not iQuest!): RAR, ZIP
    For EpicQuest: RAR, ZIP

    How to use:
    To get a quest, right click a NPC who is in the config file.

    Commands with uQuest:
    Code:
    /npcq help [page], shows commands.
    There's too much commands to type here, so just use the help command to see them all.
    Reload command removed for now, it doesn't work
    Permissions with uQuest:
    Code:
    npcq.add
    npcq.edit - Normal quest editing
    npcq.remove - Normal quest removing
    npcq.item - Quest giver item editing and removing
    npcq.chain - Chain quest adding, removing and editing
    npcq.help - Shows all commands in-game
    Commands with EpicQuest:
    Code:
    /npcq help - Shows commands.
    /npcq add solo/group/turnin [npc name] - Add a quester
    /npcq remove [npc name] - Remove a quester
    Permissions with EpicQuest:
    Code:
    npcq.add - Add questers
    npcq.remove - Remove questers
    npcq.help - Show all commands in-game
    Todo:
    • Option to restrict random quest givers to NOT give out specified quests (Planned for next version)
    • Quest chains
    • Get quests only once
    • Right click a NPC twice to get a quest, see q info on first click
    • Automatic quest amount counting (Planned for next version)
    • Need a certain quest level before able to get quests from certain NPCs
    • Command to add random quest givers (Planned for next version)
    • Show quest status instead of "You already have a quest" when you hit a quest giver (Planned for next version)
    • Complete quest on hitting the npc (Planned for next version)
    • Possible quest fees
    • Complete quests only once then disable them for that player
    • Suggestions always welcome!
    Changelog:


    • v2.3.1
      • Fixed the remove command for EpicQuest
      • Added another NPC type: "turnin"
      • ^Right click that NPC to turn in quests
    • v2.3
      • Added EpicQuest support! (There's a second download now for that.)
    -------------------------------------------------------------------------------------------------------------------------
    From here will only be EpicQuest updates, not uQuest
    • v2.2.5
      • Again, fixed to work with newest Citizens (stop changing hooks T_T)
    • v2.2.4
      • Bug fix:
        • Now works with newest Citizens version
    • v2.2.3
      • Bug fix:
        • The add command now adds the newest feature (this bug caused the plugin to read the config in a wrong way. Sorry!)
    • v2.2.2
      • Bug fix:
        • Chain quests now work properly with the new "onlyonce" feature
    • v2.2.1
      • Bug fix:
        • Quests should be given out properly now with the new features
    • v2.2
      • New additions:
        • Automatic quest counting
        • Option to have NPCs give out a quest only once
        • See the quest, then type a command to accept or decline it
      • Changes:
        • Added what item you need to have in your hand if you don't have the correct one
        • Permission nodes or items are merged
      • And some other stuff I can't remember, including changes and bugfixes (nothing major)
    • v2.1
      • New additions:
        • Commands to change quest chains
      • Changes:
        • Changed all commands to be compatible with v2.x.x and higher
        • Changed the help pages a little, /help shows categories with pages now
    • v2.0.4
      • Bug fix
        • Fixed quest chains not giving out properly if "iteminhand active = false" or "iteminhand consume = false"
    • v2.0.3
      • Bug fix:
        • Fixed the issue of "iteminhand active = true" and "iteminhand consume = false" resulting in not giving a quest
    • v2.0.2
      • Bug fix:
        • Fixed quests not giving out of the NPC had a colored name (This was the bug that bothered several users.)
    • v2.0.1
      • Bug fix:
        • Fixed quest progress saving possibly not saving correctly with multiple users
    • v2.0
      • New addition:
        • Chain quests!
        • Plugin remembers where you were in your chain quest, so you don't have to do it over ;)
      • Bug fixes:
        • Random stuff I can't remember
        • This includes NPCs not giving quests
    • v1.3.1b
      • Bug fixes:
        • Fixed some texts on [false/true] commands not displaying correctly
        • Fixed default config not working
        • Fixed a player not being able to turn in a quest if item consume and active are false
        • Fixed sending the player a message with all the configs for all NPCs
      • Changes:
        • Changed overall file handling, it's a lot more error resistant now
    • v1.3.1a
      • Bug fix:
        • Fixed config not read properly
        • Changes:
        • Improved check to see if a branch is empty
    • v1.3.1
      • Bug fixes:
        • Fixed commands not adding questers correctly with new format
        • Fixed random questers not working properly
    • v1.3
      • New additions:
        • Added the ability that you need a specific item in your hand to get a quest
        • Added the ability to consume that specific item
        • Added the ability to consume a certain amount of that item
        • If you right click the NPC you got the quest from and you completed the objectives, the quest is turned in
        • Shows the amount of objectives finished if you didn't complete a quest and hit the NPC you got the quest from
        • Added a check to see if a branch is empty, so there won't be errors if you have one empty
        • Added lots of commands
      • Bug fixes:
        • Fixed the commands from the previous version(s)
        • Fixed /help giving an error, now shows first page
        • Fixed NPCs saying "derp" when asking for a quest
        • Changes:
        • Help pages are now in categories
    • v1.2.1
      • New addition:
        • Compatible with 860
    • v1.2
      • Bug fixes:
        • Commands are now (hopefully) fully fixed
        • Fixed all NPCs giving quests
        • Stopped my plugin from ruining uQuest's quests.yml file (sorry!)
      • Changes:
        • Removed the /npcq reload command, it doesn't work as of now
    • v1.1
      • New additions:
        • Extra commands
        • Ability to have specific quests private or not
      • Bug fixes:
        • Fixed the /remove command
      • Changes:
        • /help now has 2 pages. So instead of "/help", type "/help 1" or "/help 2"
    • v1.0
      • Initial release
    Big thanks to the creators of:
    uQuest (http://forums.bukkit.org/threads/rp...st-and-citizens-860.20677/page-14#post-402289)
    Citizens
     
  2. Offline

    ohmydoddtv

    Still not working :(
     
  3. Offline

    Randy Schouten

    Then I'd like some more info :p

    Could you post your config in code tags?
    Do you get an error? If so, post the full error.

    Also make sure to check the start log (when it starts the server) to see if it gives any errors.
    Most of the time there will be a note if something didn't work as it should.
     
  4. Offline

    ohmydoddtv

    right ok I redownloaded this AND uQuest, uQuest comes with 53 quests standard. As soon as I redownload them both I go onto the server and type '/npcq add Mary 3 true' (hoping that Mary would get quest 3.)
    It then says 'Mary has quest 3. Only this NPC: true.'
    I then reload and no matter how many time I right click Mary she doesnt do anything....

    Is there anything I need to do after redownloading the configs even if I haven't changed any of the files apart from that in game command?
     
  5. Offline

    Randy Schouten

    Again, did you get a error at the start of when you right click the NPC?
    What version of NPC-Quester do you have?
    Could you post your config?
     
  6. Offline

    c97hristian

    I got an idea of what u can make to this mod:
    When u take a quest u get a certain items for example an axe if u need to cut wood.
    It would be very nice ;P
    Nice mod
     
  7. Offline

    ohmydoddtv

    The latest version of everything.

    specific:
    Mary:
    iteminhand:
    amount: 1
    item: 1
    active: false
    consume: false
    thisNPConly: 'true'
    quest: 3

    I keep getting this also in the console logs: 15:10:04 [SEVERE] Could not pass event PLAYER_INTERACT_ENTITY to NPCQuester
     
  8. Offline

    Randy Schouten

    You forgot to get the newest config, I think.
    The "quest" part has expanded quite alot.

    Also make sure to have the newest version of NPC-Quester, the new commands were added in v2.1.
    The current version you use doesn't add quest chains as far as I see now.
     
    ohmydoddtv likes this.
  9. Offline

    Bonkerz

    • Complete quests only once then disable them for that player
      I NEED THAT, REALLY PLS ! ♥
     
  10. Offline

    ohmydoddtv

    Thank your advise worked :) I download the JAR file and that didnt seen to download the latest version for me :p

    Can you add a 'accept or 'decline' option after you right click people? I don't want to be forced to accept a quest before I even know what it is... :p

    Agreed, people are just going to be doing the same quests over and over :/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  11. Offline

    Bonkerz

    Agreed, people are just going to be doing the same quests over and over :/

    Yep, that's just make me cry when i see that..
     
  12. Offline

    Randy Schouten

    Geuss what the next feature is I'm already working on... :p
     
  13. Offline

    Bonkerz

    HELL YEAH. And when do it come out ? i really need that to make my server been epic !
     
  14. Offline

    Randy Schouten

    Mmmm...
    I can't really give an ETA on this one.
    Expect it before the weekend ends.

    Also, instead of having it like "Done you can't do it anymore", I want it that you can put in your own number for the amount of times a player can do the quest.
     
  15. Offline

    Bonkerz

    [​IMG]

    I'm kidding, that's really great, ur plugin is simply awesome!
     
  16. Offline

    Randy Schouten

    Thank you!
     
  17. Offline

    1born2kill

    Code:
    2011-06-16 15:02:01 [INFO] [NPC-Quester]: Setting up config files
    2011-06-16 15:02:01 [INFO] [NPC-Quester]: Config file found!
    2011-06-16 15:02:01 [INFO] [NPC-Quester]: Players file found!
    2011-06-16 15:02:01 [INFO] [NPC-Quester]: Permissions detected
    2011-06-16 15:02:01 [SEVERE] Error occurred while enabling NPCQuester v2.0.4 (Is it up to date?): null
    java.lang.NullPointerException
        at randy.npcq.npcq.onEnable(npcq.java:182)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:799)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Please Help, wont work D:
     
  18. Offline

    Randy Schouten

    There's something wrong with the config...
    Could you post it here?
     
  19. Offline

    ohmydoddtv

    YES I've got everything up and running properly and this plugin is SOOO awesome :D You need to put some sort of donation link up, when I finally put up my server I might donate ;)

    So yeah recommendation list:
    - Make people only be able to do quests once
    - Have the option to 'Accept' or 'Decline'
    - Make some sort of video showing how to do it all (Trust me, videos will help everyone out a lot)
    - Put up a donation link

    Anyone want me to add to this list???
     
  20. Offline

    seaniscrazy

    What does thisnpconly do?
     
  21. Offline

    1born2kill

    Which Config? the Plugin? or what? just incase, ill send NPC-Quester and UQuest
    Code:
    amount:52
    specific:
        ExampleSpecific:
            iteminhand:
                amount: 1
                item: 1
                active: false
                consume: false
            thisNPConly: 'true'
            quest:
                chain:
                    quests: 4,1,7
                    active: 'true'
                normal: 0
    random:
        ExampleRandom:
            iteminhand:
                amount: 1
                item: 1
                active: false
                consume: false
    
    and this is UQuest:
    Code:
    #Change this to false if you are only using uQuest for it's API
    etc:
        useDefaultUQuest: true
        #Will not show players the quests rewards untill they finish the quest
        hideQuestRewards: false
        #The random quest rewards to give players. (This will be nested and look like reward: item: soon. I'm just trying to get this update out atm)
        questRewards: 87,Netherrack Blocks,10~88,Soul Sand Blocks,10~89,Glowstone Blocks,10~18,Leaf Blocks,10~344,Eggs,10~348,Glowstone Dust,10
    
    #### Database:
    Database:
        #Saves to flatfile when false
        useSQLite: false
        #(Only for flatfile)Sends a broadcast to the players when quests save.
        broadcastSaving: true
        #(Only for flatfile)How often to save players to flatfile.
        SaveQuestersInfoIntervalInMinutes: 30
    
    #### PluginSupport:
    PluginSupport:
        #The number of seconds after enabling to check for plugin linkage. Make this larger if your having issues with uQuest detecting plugins.
        pluginTimerCheck: 5
        #Set to true if you want to have support for these plugins.
        usePermissions: true
        #Options (copy exactly): iConomy, BOSEconomy, Essentials
        MoneyPlugin: iConomy
        moneyName: Monies
    
    #### QuestLevels:
    QuestLevels:
        #How many quests a player needs to do to level
        questLevelInterval: 50
        #Multiply the money rewards/amount needed for objectives
        scaleQuestLevels: true
    
    #### Announcements:
    Announcements:
        #Interval to broadcast a players # of quests completed
        questAnnounceInterval: 5
        #Interval to give players random quest reward
        questRewardInterval: 10;
     
    #### QuestDropping:
    QuestDropping:
        #How often (in minutes) a player can drop a quest. (Timer reset on server restart)
        dropQuestInterval: 60
        #How much money it costs to drop a quest. (Only used if a money support plugin is used
        dropQuestCharge: 5000
    
    I dont think the config files of u-quest will help.
     
  22. Offline

    Randy Schouten

    It will restrict random quest givers to give out the quest that NPC has.

    At your "amount" value, there's no space.
    So change "amount:52" to "amount: 52"

    There's a donation link in my signature if you want to donate ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  23. Offline

    Dreaming

    The quest's dont hive me money.
    E have Essentials installed and i use it to Buy and Sell items,
    And when i do quest's they dont give me money, why?
    I use the comand /balance to view my money and continues the same.
    Help me i need to win money with the quest's wich i do!
    Please Help Me :s
     
  24. Offline

    ohmydoddtv

    Donated 10 Euros :)

    Can you please add to your Todo list the option to 'Accept' or 'Decline' a quest after they tell you what the quest is?

    /Balance? What plugin are you using for that?

    Go to the 'Citizens' folder in your plugins and then open up the 'economy' YML file, then change 'use-econplugin' to true if you haven't done so already.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  25. Offline

    Jombi

    Update the plugin. You're running it at 2.0.4...
     
  26. Offline

    1born2kill

    Umm Whenever I Download the Plugin , its Always 2.0.4, please change it, cause I cant seem to download it from that link...
     
  27. Offline

    Randy Schouten

    Might've been something I forgot to change.
    I suppose the thing I told didn't work then?

    Fixed a possible problem with questers saving to the wrong player and not loading correctly with more questers.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  28. Offline

    ohmydoddtv

    Any idea when the next updates coming? :)

    I need everything sorted out by the 1st, it's when I'm launching my massive RPG server. :)
     
  29. Offline

    Randy Schouten

    If you've been following this thread a little (or even look at the date this was created), you'll probably see that updates come pretty quickly ;)

    I have a pretty busy weekend, so I might or might not get the next features out this weekend.
     
  30. Offline

    ohmydoddtv

    I've only been using the plugin for 2 days now .

    What you trying to do for the next update? Everything on the todo list or just a couple? :)
     
  31. Offline

    Randy Schouten

    I'm planning on implementing the first three on the todo list that aren't finished.
    Almost got the "Get quest once" done.
    I have an idea on how to do the quest counting, and I also have an idea for the right click a npc twice thing.
    Not sure how that'll work out tho, so that might be in the update after this.

    Quest counter and "only once" successfully implemented (should ;)).

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016

Share This Page