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

    quickclay

    So if I block users from having access to the /uquest menu, they will still have access to quests through NPCs that I set up right? Just making sure I don't need /uquest permissions anymore.. thanks!
     
  3. Sorry, my bad. This was not crashing my server >.<
    So it's not bad, the plugin is working well even if there is an error >.<
    Sorry for that :/

    Something else i found : I choose item 340 (book) to get a quest from a random quest giver, but when i don't have the correct item in hand it says me : "YOu don't have the correct item in your hands" but when i have the correct items, it does nothing :( (i don't get the quest)
    This happens only when consume is set to false.

    Also, could you add documentation about the config file ? Because i'd like to add quester by the file, not in game, but i don't understand all of the config.

    And some other request : could you add quest chain betweens npc ?
    NPC 1 : gives quest 1
    NPC 2 : gives quest 2 ONLY if quest 1 has been done ?
    and so on.

    Thanks for this great plugin ;) I'm really looking forward Epic Quest since uQuest is outdatted :(
     
  4. Offline

    Hempa

    does EpicQuest work? caus there is no fl link for uQuest
     
  5. Offline

    Randy Schouten

    EpicQuest does not work with this as of yet, but you can still find a link to another post I made with a re-upload of uQuest in the first post (at the bottom).
     
  6. Offline

    Hempa

    ok thanks!
     
  7. Offline

    Shad

    Code:
    12:27:37 [SEVERE] Could not pass event PLAYER_INTERACT_ENTITY to NPCQuester
    java.lang.NullPointerException
        at randy.npcq.npcqEntityListener.onPlayerInteractEntity(npcqEntityListener.java:250)
        at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:843)
        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:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Getting this error when someone clicks on an npc.
     
  8. Offline

    ohmydoddtv

    Link this with epicquest already! xD
     
  9. Offline

    penter

    When i reload my server and type then /npcq accept
    comes this error
    Code:
    21:13:05 [INFO] penter used command "/npcq accept"
    21:13:05 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'npcq
    ' in plugin NPCQuester v2.2.4
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    98)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:711)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
            at randy.npcq.npcq.onCommand(npcq.java:766)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    >
     
  10. Offline

    Kararty

  11. Offline

    Johnnyboy118

    Kararty and everyone else, I believe ohmydoddtv is talking about the developer linking NPC-Quester to work with EpicQuest instead of uQuest because the developer of uQuest has stopped development. All of this information can be found on either his EpicQuest page or his NPC-Quester page.

    I strongly agree with ohmydoddtv, please link NPC-Quester to Epicquest!
    Thank You.
     
    ohmydoddtv likes this.
  12. Offline

    ohmydoddtv

  13. Offline

    Kararty

    My bad I don't get the ALERT if no one replies me. Yeah really true! LINK IT ALREADY :p
     
  14. Offline

    Phinary

    uquest is dead :/
     
  15. Offline

    rtcabooservb

    Any ETA on linking up with epicquest?
     
    ohmydoddtv likes this.
  16. Offline

    xwyz

    UQuest inactive?
     
  17. Offline

    hiro24

    Getting this from clicking NPCs after they are assigned as a quest giver:

    Code:
    10:33:01 [SEVERE] Could not pass event PLAYER_INTERACT_ENTITY to NPCQuester
    java.lang.NoClassDefFoundError: com/citizens/NPCs/NPCManager
            at randy.npcq.npcqEntityListener.onPlayerInteractEntity(npcqEntityListen
    er.java:55)
            at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j
    ava:314)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:843)
            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:84)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.citizens.NPCs.NPCManager
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 12 more
    any suggestions?
     
  18. Offline

    Randy Schouten

    Do you have version 2.2.4?

    I think this is the error that I fixed in 2.2.4.
     
  19. Offline

    jamiehewitt

    Am fully updated on this and Citizens and i get that error still.
    Suggestions?
     
  20. Offline

    bart07a

    I have the same problem.
    I have installed the newest Citizens, NPC-Quester and the uQuest from the link in the first post.
    uQuest and Citizens work fine.
    I have have installed the newest Java,too.

    When someone click on a NPC I get this error:

    Code:
    22:40:49 [SCHWERWIEGEND] Could not pass event PLAYER_INTERACT_ENTITY to NPCQuest
    er
    java.lang.NoClassDefFoundError: com/citizens/NPCs/NPCManager
            at randy.npcq.npcqEntityListener.onPlayerInteractEntity(npcqEntityListen
    er.java:55)
            at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j
    ava:314)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:843)
            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:84)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.citizens.NPCs.NPCManager
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 12 more
    >
     
  21. Offline

    Tallkid96

    can u make it so you can obtain iconomy money from doing quests?
     
  22. Offline

    Hempa

    It would be awesome if you made it like in WoW. I mean with question marks and exclamation marks.
     
  23. Offline

    ohmydoddtv

    Please be aware guys that uQuest hasn't been updated in a while and things with that and this are bound to go wrong, instead of using uQuest use this: http://forums.bukkit.org/threads/wi...-ultimate-quest-plugin-935.23427/#post-425087

    It's a plugin that Randy (also the developer of this plugin) is working on as uQuest is now inactive. He is also hopefully soon linking Citizens with that using this plugin.

    Also Randy, how's progress going? :)
     
  24. Offline

    bart07a

    Yes is know that, but some guys says that uquest + NPC-quester are still working.
    I think a quest from a NPC are cooler than a quest in text form. And I also think that it take a long time until Epic Quest is finished and linked with Citizens.
    This is the reason why I wanted to use this one.
    But I will test Epic Quest soon.
     
  25. Offline

    ohmydoddtv

    Can we please have some details about how far away this is from linking Epic Quest? :/

    My players are really starting to moan about having no quests :( When I get a job I will be sure to donate plenty to you and the Citizens developer, as long as I'm happy with the plugins :)
     
  26. Offline

    TheOnlyLavaster

    I keep trying to type in the command /npcq help (I've even tried /npcq help 1) but nothing pops up, not even an error message. What's up with that?
     
  27. Hello,

    I've got the same probleme, someone have the solution ?
     
  28. Offline

    Randy Schouten

    Should work with the newest version again.
     
  29. Offline

    Spectre

    NVM srry fixed it
     
  30. Hello,

    When I add a quest to a NPC, he don't give me it.
    I've try right/left click, anythings works.

    Someone could help me ?
    I use NPC-Quester, Uquest (the old one) and Citizen.
     
  31. Offline

    Randy Schouten

    I'm going to need a little more info.

    Errors?
    Post config?
    What exactly did you do?
    Are you sure that you have the names of the NPCs correct? They are case-sensitive.
     

Share This Page