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

    Randy Schouten

  3. Offline

    Smex

    Heroes Support! So player can also get xp from this plugin.
     
  4. Offline

    Briggybros

    but uQuest hasn't been updated...
     
  5. Offline

    reidh

    Hello! This is a really cool plugin! But I don't understand how to assign NPC's quests? I have both epicquest and NPC Quester installed but I couldn't find anything that actually explains how to use either of them (or use them together). Please help :)
     
  6. Are you able to set up a quest where a friend and you can work together to complete a single quest at the same time?
    Like my friend would get the quest, and part of that quest would be to get a friend and do something together and then you both get a reward. (If not that would be cool to add in if it is not to difficult.) And maybe the option to set it up so if you done the quest through a friend, then you cannot take the quest yourself, or set it up so you are able to take it even though you did it with someone else already, but this time it has to be done with someone different?

    But otherwise cool mod! :)

    Oh and another idea I had (sorry, but it did say you are looking for ideas :p), it would be cool if you got a quest from a npc that would be something like (just for an example) "help me mine to the bottom of the earth and back again" and if you except the quest then the npc follows you and you have to protect him wile you do the quest (and he could be used as extra inventory space.) While doing this quest you would get commands like /follow and /wait to tell the npc what to do, or if he/she gets stuck you could use /tp npc here, which would not work while the npc is waiting.

    Oh and if you take the idea of the "one quest two people" concept, you should add in the option to decide if you want to do it alone for a bigger reward or do it with many people for a smaller reward.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  7. Can you make it for the craftbukkit 1060 please ??
     
  8. Just like a few other users, I've encountered the same problem with this plugin. I'm using it with uQuest. I set up the first Questgiver with a nice set of Quests. Everything works smoothly. But when I try to set up another one, with a single Quest, server shows the following message on start:

    Code:
    01:05:24 [INFO] [NPC-Quester]: Setting up config files
    01:05:24 [INFO] [NPC-Quester]: Config file found!
    01:05:24 [INFO] [NPC-Quester]: Players file found!
    01:05:24 [INFO] [NPC-Quester]: Permissions detected
    01:05:24 [INFO] [NPC-Quester]: Random branch is empty, ignoring.
    01:05:24 [INFO] [NPC-Quester]: Players completed branch is empty, ignoring.
    01:05:24 [SEVERE] Error occurred while enabling NPCQuester v2.2.5 (Is it up to d
    ate?): null
    java.lang.NullPointerException
            at randy.npcq.npcq.onEnable(npcq.java:333)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:878)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:272)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146
    )
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    I tried everything. I even copied the same code that was for the first Questgiver to the 2nd one and it still craches. Is there any way around it to give certian quests to the certian NPCs? Anything I should check? I'm not the only user having this problem, please give us some answer. Thanks!
     
  9. Offline

    HappyGrenades

    Is there multiworld support?
     
  10. Offline

    Objit

    I can't figure it out. It seems like it can only give random quests to NPC using EpicQuest. Is it possible to have 1 NPC give only one quest.
     
  11. Probably authour is not even checking this thread anymore, because he's only working on his new plugin now. Anyway, I've managed to make it work all together. My only problem is that: 1. You can't take more than 1 quest at the time and 2. You can return your quest to absolutely any questgiver in the game. Is there any workaround for it? (I'm suing it with uQuest).
     
  12. Offline

    AHgpeu

    Code:
     [SEVERE] Could not pass event ENTITY_TARGET to Citizens
    java.util.NoSuchElementException
            at java.util.ArrayDeque.removeFirst(Unknown Source)
            at java.util.ArrayDeque.pop(Unknown Source)
            at com.citizens.npctypes.questers.Quester.cycle(Quester.java:109)
            at com.citizens.npctypes.questers.Quester.onRightClick(Quester.java:88)
            at com.citizens.resources.npclib.HumanNPC.callRightClick(HumanNPC.java:163)
            at com.citizens.listeners.EntityListen.onEntityTarget(EntityListen.java:124)
            at org.bukkit.plugin.java.JavaPluginLoader$64.execute(JavaPluginLoader.java:691)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at com.citizens.listeners.PlayerListen.onPlayerInteractEntity(PlayerListen.java:103)
            at org.bukkit.plugin.java.JavaPluginLoader$12.execute(JavaPluginLoader.java:321)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:870)
            at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    >
    :(
     
  13. Offline

    ItsQ

    Whats the RB you use?
    Citizens version?
     
  14. Offline

    Randy Schouten

    God, I'm sorry.

    If you haven't checked a thread for a while, you don't get alerts on it anymore.
    That's what happened to me.
    I'm sorry, honestly.

    Anyhow, EpicQuest has an a lot better API to work with now, so this will get an update soon.
     
  15. Offline

    Jaminb2030

    Plz move to BukkitDev
     
  16. Offline

    Merkel

    is there something with conditional branches? Its very cool but not very complex
     
  17. Offline

    Randy Schouten

    What do you mean?

    Do you mean like, complete quest from this NPC first, then another NPC unlocks?
     
  18. Offline

    Merkel

    yep- but is to much work, isn't it?
     
  19. Offline

    Randy Schouten

    It is a planned feature. ;)
     
  20. Offline

    Percefane

    Hi,

    sorry, i've a problem yet, but with NPC-quester now. :)

    Code:
    19:00:09 [SEVERE] Could not pass event PLAYER_INTERACT_ENTITY to NPCQuester
    java.lang.NoSuchMethodError: randy.eq.eqAPI.turnInQuest(Ljava/lang/String;)V
    at randy.npcq.npcqEntityListener.onPlayerInteractEntity(npcqEntityListen
    er.java:31)
    at org.bukkit.plugin.java.JavaPluginLoader$12.execute(JavaPluginLoader.j
    ava:321)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:870)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    NPC doesn't work. :(
    I've this message when i right clicking on them.

    Thank you for your help.
     
  21. Offline

    ItsQ

    updated this for Ecpiquest 0.9?
     
  22. Offline

    Jaminb2030

    no, i wish he would i need to assign cretin quests to certain NPC's or i cant use epicquest.
     
  23. Offline

    ItsQ

    ok, Please update it to work with Epicquest!
    I love your plugins!
     
  24. Offline

    ozziecraft

    Not updated to 2.3.1 says on my server on 2.2.5 update your download link or get a wiki for the love of god
     
  25. Offline

    Yahtze

    @Randy Schouten

    Can you PLEASE update this to work with a dev Build of Citizens ?

    It gives an error when trying to interact with an NPC.

     
  26. Offline

    xDice

    i have a idea:
    a user should get a quest only every 60 minutes. is this possible?
     
  27. Offline

    Ledoth

    Rage!!! Ok so i remember realy wanting this plugin but i dont know wat to do /npcq nothing, /npcq help nothing, /npcq help 1, its not saying that npcq is not a command but its im not shure if its that its not updated or somthing i just need help ty but LOVE the mod. :mad:
     
  28. Offline

    doctarock

    Is this going to be updated for 1.8? this is a really cool plugin but im getting errors now :(
     
  29. Offline

    Alwayssecond

    Well i got this plug in on my 1.8.1 server and npc's work. I can give them quests too, but when i right click them, they don't give me any quests. It just says I selected my NPC and that's it..... Please help, i know i'm not the smartest but i'm really stuck here.
     
  30. Offline

    dirtyfetus

    wheres the download link for this plugin!?!:mad:
     
  31. Offline

    Alwayssecond

    The download link is in the description, you can't miss it actually. It's the fourth bold header.... you just need to get the right one for uquest or epicquest
     

Share This Page