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

    alfskan

  3. Offline

    Rusher_Ranger

    Hi uquest/epicquest doesnt work

    Start serveur with epicquest:
    Code:
    15:00:58 [INFO] [NPC-Quester]: Setting up config files
    15:00:58 [INFO] [NPC-Quester]: Config file found!
    15:00:58 [INFO] [NPC-Quester]: Players file found!
    15:00:58 [INFO] [NPC-Quester] EpicQuest system not enabled. Disabling plugin.
    15:00:58 [INFO] [NPC-Quester]: Disabled!
    15:00:58 [INFO] [NPC-Quester]: Permissions detected
    15:00:58 [WARNING] Task of 'NPCQuester' generated an exception
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register PLA
    YER_INTERACT_ENTITY while not enabled
            at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManag
    er.java:368)
            at randy.npcq.npcq$1.run(npcq.java:139)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:449)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:372)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    :/
    thx for you help

    Sorry for my bad english im french ^^
     
  4. Offline

    spomino

    Hello,
    When i complete all requirements for a quest i can finish it by talking with a NPC but it didn't drop the quest and i can only redo this quest infinitely. I am the admin and players have the same issue. trying to solve it manually with the /uquest drop command give me an internal error.
    How can i solve it ? thanks for help and sorry for my english, i'm french.
     
  5. Offline

    Musaddict

    Wait, so where's the plugin? All i can see is download links for uQuest and EpicQuest.

    Edit: Oh i figured it out.
     
  6. Offline

    sddddgjd

    the original uquest gives lots of internal errors right now,try it with my improved one,here:
    http://forums.bukkit.org/threads/rp...-overly-customizable-quest-system-1000.29361/
    I haven't tested it with this plugin,but i will start soon,since this is why i started updating uquest in the first place! :D


    Anyway, Randy, can you please give me the source code for npc-quester with uquest?
    I want to create only one plugin combining npc-quester and uquest, i will of course give all the credits to you,i will only keep updating it to the latest build,since you no longer support it! :D
     
  7. Offline

    OblivionFan

  8. Offline

    spomino

    Thanx i'll try this now
     
  9. Offline

    Ninja11793

    Just wondering, in the config.yml at the end of every NPC there is a line called normal what is this? what do i set this to? Much appreciated! :]

    Code:
    John:
            iteminhand:
                amount: 1
                item: 1
                active: false
                consume: false
            thisNPConly: 'true'
            onlyonce: true
            quest:
                chain:
                    quests: 1,6,8
                    active: true
                normal: 1
    okay here are my errors... haha i know how read errors on command promt but these make no sense to me :confused:

    Code:
    21:50: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 mean i know its up to date!!! its just it doesnt really tell me anything.... -_- i need help?

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

    hiro24

    Could you make it possible to split the quest givers and quest turn in locations? Ex: Pick up quest from NPC A, hand it quest at NPC B.
     
  11. Offline

    grifOndOr

    not compatible with the new uquest 2;1 ?
    i ve got severe error like
    unacceptable character #FFFD special characters are not allowed
    in
     
  12. Offline

    sddddgjd

    Nope, i added some stuff that broke it -_-...i'm trying to convince Randy to give me the source,so i can integrate npc-quester inside uquest,and continue updating both! :)
     
  13. yeah Randy it'd be a big favor, i know multiple servers set up with this combination and obviously one can't continue with the other, we'd be really grateful for this support.
     
  14. Offline

    Randy Schouten

    I could give you the source of this plugin, but it would make no sense.
    Let me tell you why.

    1: Your plugin will become way too messy.
    2: There are lots of features in NPC-Quester that should be in the normal plugin, and should not be done thru NPC-Quester. (This is a major reason I started creating EpicQuest)
    3: You can do this yourself very easily, excluding several features not in uQuest. I shall send you a small piece of code on how to do this.

    Furthermore, you should make it optional if you didn't think of that already, because not everyone will use Citizens with it.

    EDIT: Sent you a message on how it works.
     
  15. Offline

    Mauzel

    You can´t use ä,ö and ü. These are the unacceptable Characters ;-)
     
  16. Offline

    YellowFellow

    Are the download links updated i t keeps saying i have v. 2.2.5
     
  17. Offline

    Randy Schouten

    Epicquest is only being updated now.
    If you use uQuest, then it will keep 2.2.5.

    I gave the 2 guys of uQuest some help in how this plugin works, so I leave the rest to them.
     
  18. Offline

    YellowFellow

    oh ok thanks for the info and ill check out EpicQuest
     
  19. Offline

    Randy Schouten

    Sure!

    It's still in progress, but I personally think it will overthrow uQuest. (If it hasn't already.)
    I'm pushing updates out by the day, so keep track of it :)
     
  20. Offline

    Rezenith

    How do I make NPCs give only specific quest from the EpicQuest list.
     
  21. Offline

    deathclaw2

    When I type in /npcq nothing happens? Ive added /npcq.help
     
  22. Offline

    4416nnd

    Error occurred while enabling NPCQuester v2.2.5 (Is it up to dat
    e?): Plugin attempted to register PLAYER_INTERACT_ENTITY while not enabled
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register PLA
    YER_INTERACT_ENTITY while not enabled
    at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManag
    er.java:374)
    at randy.npcq.npcq.onEnable(npcq.java:190)
    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:278)
    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)
     
  23. Offline

    Padrino

    Where is the Downloadlink?
     
  24. Offline

    mrvertigo27

    Any chance to support IQuest? (the new UQuest)
     
    Trololol likes this.
  25. Offline

    frozencanadian

    Hey, I might just have really, really, low caffeine levels right now, but I can't seem to find the NPC-Q download link anywhere on the post. Am I going blind? XD

    Nevermind, I found it. You may want to clarify that as when reading through the post instructions it comes across as "link to epicquest and uquest," instead of, "link for..."
     
  26. Offline

    Randy Schouten

    The download links are for whatever you are using.

    So if you need the EpicQuest version, you get the one next to EpicQuest.
    uQuest and EpicQuest refer to what plugin you are using.
     
  27. Offline

    FecalSlash

    Fuck my Life. "An internal error occured while attempting to perform this command" when i use EPICquest as a standalone. so i get uQuest which works. and then i add this plugin and the SAME error.

    "
    18:12:23 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'npcq
    ' in plugin NPCQuester v2.2.5
    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:3
    20)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:713)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    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:85)
    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.NoClassDefFoundError: com/nijiko/permissions/PermissionHand
    ler
    at randy.npcq.npcq.onCommand(npcq.java:753)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    >"
     
  28. Offline

    alfskan

    There are 100 quests in the uquest.
    I want NPC A give random quest to players between 1~50 quests.
    and NPC B give random quest to players between 51~100 quests.
    How can I make it?
     
  29. Offline

    hiro24

    How do you do this? I can't find anything in the help files or.. anywhere. Using uQuest.
     
  30. Offline

    Randy Schouten

    Everything above the line is for EpicQuest.
    The guy who took over uQuest implemented some sort of NPC support, I believe.
     
  31. Offline

    ShAd0w2kXX

    Hey there. I was curious. How exactly do I implement a "turnin" quest NPC when using this with EpicQuest?
     

Share This Page