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. 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 (Text):
    1. /npcq help [page], shows commands.
    2. There's too much commands to type here, so just use the help command to see them all.
    3. Reload command removed for now, it doesn't work
    Permissions with uQuest:
    Code (Text):
    1. npcq.add
    2. npcq.edit - Normal quest editing
    3. npcq.remove - Normal quest removing
    4. npcq.item - Quest giver item editing and removing
    5. npcq.chain - Chain quest adding, removing and editing
    6. npcq.help - Shows all commands in-game
    Commands with EpicQuest:
    Code (Text):
    1. /npcq help - Shows commands.
    2. /npcq add solo/group/turnin [npc name] - Add a quester
    3. /npcq remove [npc name] - Remove a quester
    Permissions with EpicQuest:
    Code (Text):
    1. npcq.add - Add questers
    2. npcq.remove - Remove questers
    3. 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. Offline

    Arno00

    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. 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 (Text):
    1. 12:27:37 [SEVERE] Could not pass event PLAYER_INTERACT_ENTITY to NPCQuester
    2. java.lang.NullPointerException
    3.     at randy.npcq.npcqEntityListener.onPlayerInteractEntity(npcqEntityListener.java:250)
    4.     at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
    5.     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    6.     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    7.     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:843)
    8.     at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    9.     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    10.     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    11.     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    12.     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    13.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    14.     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    15.  
    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 (Text):
    1. 21:13:05 [INFO] penter used command "/npcq accept"
    2. 21:13:05 [SEVERE] null
    3. org.bukkit.command.CommandException: Unhandled exception executing command 'npcq
    4. ' in plugin NPCQuester v2.2.4
    5.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    6.         at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    7. 9)
    8.         at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    9. 98)
    10.         at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    11. java:711)
    12.         at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    13.  
    14.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    15.         at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    16.         at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    17.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    18.         at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    19.         at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    20.         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    21.         at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    22. Caused by: java.lang.NullPointerException
    23.         at randy.npcq.npcq.onCommand(npcq.java:766)
    24.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    25.         ... 12 more
    26. >
     
  10. 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.
  11. Offline

    ohmydoddtv

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

    Phinary

    uquest is dead :/
     
  14. Offline

    rtcabooservb

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

    xwyz

    UQuest inactive?
     
  16. Offline

    hiro24

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

    Code (Text):
    1. 10:33:01 [SEVERE] Could not pass event PLAYER_INTERACT_ENTITY to NPCQuester
    2. java.lang.NoClassDefFoundError: com/citizens/NPCs/NPCManager
    3.         at randy.npcq.npcqEntityListener.onPlayerInteractEntity(npcqEntityListen
    4. er.java:55)
    5.         at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j
    6. ava:314)
    7.         at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    8. a:58)
    9.         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    10. ava:321)
    11.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:843)
    12.         at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    13.         at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    14.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    15.         at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    16.         at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    17.         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    18.         at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    19. Caused by: java.lang.ClassNotFoundException: com.citizens.NPCs.NPCManager
    20.         at java.net.URLClassLoader$1.run(Unknown Source)
    21.         at java.security.AccessController.doPrivileged(Native Method)
    22.         at java.net.URLClassLoader.findClass(Unknown Source)
    23.         at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    24. java:36)
    25.         at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    26. java:24)
    27.         at java.lang.ClassLoader.loadClass(Unknown Source)
    28.         at java.lang.ClassLoader.loadClass(Unknown Source)
    29.         ... 12 more
    any suggestions?
     
  17. Do you have version 2.2.4?

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

    jamiehewitt

    Am fully updated on this and Citizens and i get that error still.
    Suggestions?
     
  19. 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 (Text):
    1. 22:40:49 [SCHWERWIEGEND] Could not pass event PLAYER_INTERACT_ENTITY to NPCQuest
    2. er
    3. java.lang.NoClassDefFoundError: com/citizens/NPCs/NPCManager
    4.         at randy.npcq.npcqEntityListener.onPlayerInteractEntity(npcqEntityListen
    5. er.java:55)
    6.         at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j
    7. ava:314)
    8.         at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    9. a:58)
    10.         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    11. ava:321)
    12.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:843)
    13.         at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    14.         at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    15.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    16.         at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    17.         at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    18.         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    19.         at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    20. Caused by: java.lang.ClassNotFoundException: com.citizens.NPCs.NPCManager
    21.         at java.net.URLClassLoader$1.run(Unknown Source)
    22.         at java.security.AccessController.doPrivileged(Native Method)
    23.         at java.net.URLClassLoader.findClass(Unknown Source)
    24.         at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    25. java:36)
    26.         at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    27. java:24)
    28.         at java.lang.ClassLoader.loadClass(Unknown Source)
    29.         at java.lang.ClassLoader.loadClass(Unknown Source)
    30.         ... 12 more
    31. >
     
  20. Offline

    Tallkid96

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

    Hempa

    It would be awesome if you made it like in WoW. I mean with question marks and exclamation marks.
     
  22. 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? :)
     
  23. 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.
     
  24. 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 :)
     
  25. 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?
     
  26. Offline

    Arignir

    Hello,

    I've got the same probleme, someone have the solution ?
     
  27. Should work with the newest version again.
     
  28. Offline

    Spectre

    NVM srry fixed it
     
  29. Offline

    Arignir

    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.
     
  30. 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