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

    __Brian__

    Work in 935?
     
  3. Same problem with the commands (/npcq), it crashes the plugin :(
     
  4. Offline

    Randy Schouten

    I see these problems popping up with the newest build it seems.

    I suppose I'll take a break from EpicQuest and get on this.
    Expect a update tomorrow ;)
     
  5. Offline

    ledodreadlow

    I don't see Citizens plugin there. This is necessary for NPC-Quester to work. It uses ONLY the Citizens NPC's. Hence in the description "(links uQuest and Citizens)". This will not work with other NPC plugins.

    Could this be the reason for your error? Don't quote me on this, but I think NPC-Quester checks for the Citizens plugin. If not there, it doesn't load. So any commands to it won't show up.

     
  6. Offline

    Randy Schouten

  7. Offline

    Lynet ArchAngel

    Lol fail.. i wrote civilian instead of citizen D=
    Okey i already asked u on ur "wall"
    but il ask it here to
    i got this installed:
    Npc-Quester|uQuest|Citizen|GroupManager|Craftbukkit860
    And i cant get the npc-quester commands to show up. but everything else works fine, like how u create a normal npc, and how u use only uQuest works fine but not the Npc-Quester o.0
    using the latest versions of all those plugins, maybe i need to update craftbukkit to 935?
    or?

    Edit: Just installed 935, but just wonder if u got any clue, havent tested it on 935 yet
     
  8. Offline

    Jazy Lopez

    I have one very big question, How are we supposed to get uQuest when apart from being Inactive, it's download links are down??? Are we supposed to use that "EpicQuest" instead?
    Please Help...
     
  9. Offline

    Randy Schouten

  10. Offline

    Jazy Lopez

  11. Offline

    Randy Schouten

    No problem :)
     
  12. Offline

    Asimov

    It would be pretty cool if you can start a quest with one NPC and end it with another, ie. a chain of quests that involve delivering items from one NPC to another.
    Another thing I would suggest is if quests could automatically complete if you reach certain coordinates, or even press a button (with ButtonWarp). :)
     
  13. Offline

    keoni7071

    Hey, i just loaded this, im kinda new so i just put all the mods in (Citizens, Quest thingy and the citizen quest thingy) It worked (ish) The citizens came...... but only the guys that are helping develope this... I dont really know how to make em actually talk and like do things...... they only follow u after you smack em :p. The /help dont work, and nor does the /npcq.. Help?
     
  14. Offline

    PlannedBoredom

    well if u need any server testing i would be glad to let u use mine. msg me if needed.
     
  15. Offline

    Randy Schouten

    Gotcha, might need some help with the group quests, because well... you need a group :p
     
  16. Offline

    PlannedBoredom

    hah yeah ok just message me in advance and im sure i can make it.
     
  17. Offline

    dzekins

    i dont understand how to make thoes quests i see the commands but still dont get it, for ex. how to make so first npc gives quest to the user that he have to talk with second npc?

    and for some reason when i do reload npcs disapier
     
  18. updated to the new version of citizens and now it has stoped working (had to to stop them flying away)

    So was unable to test for 1.7

    is this me 1.7or citizens

    Error code
    Code:
    [SEVERE] Could not pass event PLAYER_INTERACT_ENTITY to NPCQuester
    java.lang.NoClassDefFoundError: com/fullwall/Citizens/NPCs/NPCManager
    at randy.npcq.npcqEntityListener.onPlayerInteractEntity(npcqEntityListener.java:54)
    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)
    2011-07-03 11:41:00 [SEVERE] Could not pass event PLAYER_INTERACT_ENTITY to NPCQuester
    java.lang.NoClassDefFoundError: com/fullwall/Citizens/NPCs/NPCManager
    at randy.npcq.npcqEntityListener.onPlayerInteractEntity(npcqEntityListener.java:54)
    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)
    2011-07-03 11:41:01 [INFO] /94.231.109.47:33642 lost connection
    2011-07-03 11:41:39 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    sorry
     
  19. Offline

    Sleelin

    Code:
    10:42:08 [SEVERE] Error occurred while enabling NPCQuester v2.2.3 (Is it up to date?): null
    java.lang.NullPointerException
    >    at randy.npcq.npcq.onEnable(npcq.java:338)
    >    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    >    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    >    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    >    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    >    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    >    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)
    
    If I had the source I'd help you diagnose this problem, but I don't, so I can't. Check line 338, inside the onEnable function and let me know whether this is me, you, or bukkit.
     
  20. Offline

    Logan deBC

    The new version of Citizens made it so this one doesn't work anymore.
     
  21. Offline

    kazimir

    Same problem here!
     
  22. Offline

    Jazy Lopez

    Same here... Have citizens .9a and recommended bukkit build :D
     
  23. Offline

    Sleelin

    @Randy Schouten: actually I think you may just need to recompile against the latest versions of bukkit and citizens.
     
  24. Offline

    Jaker232

    Error above the same.

    I want this plugin so bad.. it's broken. D:
     
    korin125 likes this.
  25. Offline

    scrub88

    will this work with epicquest rather than uquest?
     
  26. Offline

    korin125

    Doesn't work and errors when clicking an NPC. I would love to see this plugin updated, my users keep asking for it!
     
  27. Offline

    DrBreadgun

    When I do (/npcq add Zach_Wendell 0 true) I don't see the npc? why?

    Also, how do I pick ip the quest?

    up*

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

    1born2kill

    Dont triple post -.-
     
  29. Offline

    Randy Schouten

    Sorry for the huge delay guys!
    The website decided I should not get anymore notifications about this thread.

    Anyway, I updated NPC-Quester to work with the newest Citizens.
    Enjoy!

    As a note: once my own quest plugin (EpicQuest) is finished, this plugin will start supporting that, and not uQuester anymore.
    This is not because I want myself to have more users or whatever, but simply because uQuest is not updated anymore and I find it lacking features.
     
  30. Just to let you know, "/npcq ?" or any other unsuported command (or misspelled command) the whole server crashes. I tried /npcq add (without arguments) and everything crashed :s
    You're better not miss up your command :/

    CB 953, last NPCQ (2.2.4) & Citizen (1.0.9b)

    Code:
    2011-07-07 15:46:41 [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:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
        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
     
  31. Offline

    Randy Schouten

    That is weird that is crashes your server...
    It gives me that error but nothing else, are you sure it this that is crashing your server?
     

Share This Page