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

    Izbay

    High priority seems to have no effect on mcMMO, but it also still doesn't get the interaction through to the NPC. I removed mcMMO but the interaction still isn't getting through in both high priority version and standard. Whatever is causing it must have changed between 1.3.1b and 2.0.1 x_x I'll disable mods one by one and let you know if I can find the culprit.
     
  3. Offline

    Randy Schouten

    Thank you.
     
  4. Offline

    yamashi

    I also removed McMMO and noticed that it's still not forwarded correctly.
    My plugins are : AntiHack, BananaMapRender, BorderGuard, Citizens, EasyRPG, Factions, General, iConomy, iConomyChestShop, LWC, MyHome, Permissions, uQuest, this, WorldEdit and WorldGuard

    Active is always set to false...
    I can't figure out how to activate it.
     
  5. Offline

    Izbay

    The only other one we have in common that deal with right clicks is WorldEdit/Guard disabling it now to see if it's the cause.

    edit: nope. neither of them... worldedit/guard and mcmmo both disabled and still no dice. I'm about out of ideas >.<
     
  6. Offline

    Randy Schouten

    This is weird to say the least.
    I've just downloaded the newest version of Citizens too, but that also doesn't seem to be the case.

    Could you maybe upload your server for me so I can check it out?
     
  7. Offline

    Jameshobbs

    Code:
    2011-06-15 14:07:13 [SEVERE] Error occurred while enabling NPCQuester v2.0 (Is it up to date?): Plugin attempted to register PLAYER_INTERACT_ENTITY while not enabled
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register PLAYER_INTERACT_ENTITY while not enabled
        at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManager.java:346)
        at randy.npcq.npcq.onEnable(npcq.java:176)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:799)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    
    Getting the above error. List of plugins:
    Code:
    :Plugins: MCTelnet, ModTRS, MinecartManiaCore, mcMMO, Permissions, HeroChat,
    iConomy, MagicSpells, CommandHelper, MinecartManiaAutocart, CraftBukkitUpToDate,
    Residence, BorderGuard, mobSpawner, ZeeSlag, obuShutTheHellUp, mcdCarpeteer,
    FeaturePack, ShopAds, BananaChunk, mxRingplatform, RocketBoots, MobRider, MultiVerse,
    MusicCraft, ZeldaChickens, PorteCoulissante, iConomySuperpick, TravelPortals,
    iConomyChestShop, FlamboyantFlock, WorldGuard, MinecartManiaSignCommands,
    VoxelSniper, PortalStick, Essentials, WorldEdit, obuVoting, StruckDown, VanishNoPickup,
    HeroicDeath, MinecartManiaChestControl, NPCQuester, LWC, Annoyer,
    MinecartManiaStation, SheepFeed, milkAdmin, EssentialsSpawn
    
    I saw a few tests using a special version quester for mcmmo, but have not tried it yet. Figure i'd post the error and plugins first to get some opinions.

    Anyways any help regarding this issue would be excellent.

    Thank you

    Edit:

    I did a /reload for all plugins and it popped that error message out. I also tried a complete server restart and get the same error.
     
  8. Offline

    Randy Schouten

    I think you don't have uQuest and Citizens installed.
    I don't see them at least.
     
  9. Offline

    Izbay

    Uploading now. I'll message you the link in 20ish minutes. :] Oh, and thanks for all the help, by the way!
     
  10. Offline

    Randy Schouten

    Doing my best.
    I find it very weird that it doesn't work for some of you.
    I just installed the plugin on my own dedicated server, and it all works fine..
     
  11. Offline

    yamashi

    Could you give us the exact commands in the exact order so that we can try a test case because we might also be doing it wrong.

    Thx
     
  12. Offline

    Randy Schouten

    Yes sorry, I forgot to give you a list of permissions that are needed for this plugin.
    Just go in-game and type /npcq help, to get a list of commands.

    Update on the bug!

    I have found the problem.
    NPCs with colored names will have the name "&aDerp" for example instead of just "Derp".
    So the plugin will not recognize the name.

    I will start on this immediately.

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

    Meph91

    Hey, at first, really great plugin.
    But it doesn't work at my server.
    It's the problem with " Could not pass event ENTITY_TARGET to Citizens ".
    I have tried bukkit 818 and 860 and also the WIP and normal version of Citizens.
    my config is right, too,also the amount thing.
     
  14. Offline

    Randy Schouten

    You have to right click the NPCs since a few versions ago.
    It might be that you try to hit it...

    In any case, this wouldn't be a problem with my plugin, or it would say something such as: "Could not pass event ENTITY_TARGET to NPQQuester".
     
  15. Offline

    Meph91

    No, i right klick him, have it tested again.. I can't get a quest from him. Am I right, that I have to make the command /npcq add Priest 1 true and then the npc in front of me,named Priest, created with Citizens before, can give me the quest?
     
  16. Offline

    Randy Schouten

    Ah right, I should note this in the first post.

    The commands have to be updated, I forgot to do that.
    You should take the config from the download, copy paste it, and change it to your wishes for now.

    Version 2.0.2 is now live!

    This fixed the bug that several users had trouble with!
    May you guys enjoy this plugin as much as the rest :D

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

    Meph91

    Hmm, I don't get it..
    This is my config now:

    amount: 52
    specific:
    Priest:
    iteminhand:
    amount: 1
    item: 1
    active: true
    consume: true
    thisNPConly: 'true'
    quest: 01
    normal: 0
    random:
    Derpish:
    iteminhand:
    amount: 1
    item: 1
    active: true
    consume: true

    And he doesn't give me a quest at all.
     
  18. Offline

    Randy Schouten

    Redownload the config.
    Don't remove anything, only set stuff to "false" if you don't want to use it, it'll all work fine then.
     
  19. Offline

    Meph91

    Yeah, now it's working! Thank you a lot; one step more on my way to a rpg server =P
     
  20. Offline

    Randy Schouten

    Update v2.0.3 live.
    Fixed the issue of "iteminhand active = true" and "iteminhand consume = false" resulting in not giving a quest
     
  21. Offline

    yamashi

    Still doesn't work for me, right clicking doesn't do anything...
     
  22. Offline

    Randy Schouten

    Did you read my previous post about the small fix I posted?
    That might have been the issue...
     
  23. Offline

    yamashi

    Just tried nothing changed.
    The weird thing is if I create a NPC named ExampleSpecific which was already in the config it works fine but if I try to add my own quest giver it doesn't work...
     
  24. Offline

    Randy Schouten

    Make sure to /reload your server once you created your quest and NPC, then it should work.

    You must also be sure to add your Questers manually now, since the commands are outdated.
    I will update those tomorrow.
     
  25. When i have this installed with both uquest and the NPC mod i get an assertion failure.

    although i did just realise i hopped over the step of adding quest number to a file.. could tat be it?
     
  26. Offline

    yamashi

    Yay works with /reload and manually writing questers !
    thx ! It's awesome
     
  27. Offline

    Thorgodofwar

    Hey guys iv been trying to get it to work but when ever i type /npcq help this comes up *An internal error occurred while attempting to preform this command* do you guys know how i can fix this problem.
     
  28. Offline

    MephistophiA

    Randy will update the commands. Dont use any commands for now.
     
  29. Offline

    Randy Schouten

    Yep, I will try to get all commands working today.

    Also I uploaded a quick fix before I go to school.
    I should fix quest chains not giving out properly if item consume or item active is false.

    NPC-Quester v2.1 is live!

    Added new commands for quest chains and made all commands compatible with v2.x.x and higher!

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

    ohmydoddtv

    This doesn't seem to be working with me at all, I type /npcq add Mary 0

    My NPC, Mary, still doesn't get the quest! I'm so confused :(
     
  31. Offline

    Randy Schouten

    You have to /reload after you made your changes to have them take effect :)
     

Share This Page