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

    Albic

    so, when do you update it?
    very good, that 3 of my ideas are planned or done, thank you so much
     
  3. Offline

    ohmydoddtv

    Ahh sweet :) Make sure you remember the fact that currently when you click an NPC for the first time you just select it, then you click it again and you get the quest. Not sure if this will actually matter though. I'm still thinking you should type 'Accept' or 'Decline', people might accidently click twice is my only issue :/
     
  4. Offline

    xwyz

    I installed Citizens and uQuest plugin, they works fine then installed this plugin but when i used "/npcq help" command iam getting this error:

    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'npcq
    ' in plugin NPCQuester v2.0.4
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    8)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    87)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:712)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    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:658)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHa
    ndler
    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)
    ... 14 more
    >
     
  5. Offline

    Dreaming

    The plugin wich i have to use /balance i think it's a plugin who comes with Essentials
    And i turned 'use-econplugin' to trueand stills dont working :s
     
  6. Offline

    Randy Schouten

    Do you have permissions installed and gave yourself the permission to use the command?
    I might have forgotten to display the message that you don't have permissions...
     
  7. Offline

    xwyz

    But i'am op i think i dont need any permission?
     
  8. Offline

    ohmydoddtv

    Install iConomy, it works perfectly and its really east to install :)
     
  9. Offline

    Randy Schouten

    You still need permission, I haven't done anything with the OP stuff.
     
  10. Offline

    a.aqua

    Will be added iConomy support? For example, i want give players some cost, but not items.
     
  11. Offline

    blarre

    Hi, I get the same error. And I have put in permission for me to use all /npcq commands.
     
  12. Offline

    Randy Schouten

    In your start log, does it say NPCQuester detected Permissions?
     
  13. Offline

    ohmydoddtv

    iConomy is already supported, just go into the 'economy' file in the 'Citizens' folder and put: use-econplugin: 'true'
     
  14. Offline

    Bonkerz

    can we know when "Complete quests only once then disable them for that player" come ? :3.
     
  15. Offline

    xwyz

    Last Question ^^'

    How can i edit my permissions, i didnt see any players permission file so i couldnt add those codes:

    npcq.add
    npcq.edit
    npcq.remove
    npcq.item.id
    npcq.item.consume
    npcq.item.active
    npcq.item.amount
    npcq.help
     
  16. Offline

    Randy Schouten

    You need the plugin "Permissions", there you can add these nodes.

    Also, next update might come today.
     
  17. Offline

    1born2kill

    Yeah it works, tyvm :D
     
  18. Offline

    Dreaming

    And iConomy it's compatible with the signs which i use to [Buy] and [Sell] items?
     
  19. Offline

    Bonkerz

    Dreaming, u can install "iConomyChestShop" it's simply the same.
     
  20. Offline

    Randy Schouten

    I actually prefer Realshop, it's way easier to use and it looks alot nicer as well ;)
     
  21. Offline

    yamashi

    I just updated and keep getting an error :
    What's wrong ?

    EDIT: Figured it out... A player manager to take 2 quests...
     
  22. Offline

    Bonkerz

    yep, realshop is really awesome, but he said he want a sign shop plugin ^^
     
  23. Offline

    Randy Schouten

    That's true, but he might not know Realshop exists, so I thought I'd just throw it out there while we're at it :p
     
  24. Offline

    Bonkerz

    hehe, not false. but, you not answer my question : "
    can we know when "Complete quests only once then disable them for that player" come ? :3."
     
  25. Offline

    Randy Schouten

    Well every feature I wrote down that I was going to add in the next update are already done, but I've ran into a problem.
    The problem is that when you right click a NPC you get the thing that you can type /npcq accept or /npcq decline, but the code doesn't get the info from the quests file properly.
    If that's working, I'd say the next update is ready to go live ;)
     
  26. Offline

    Bonkerz

    and it will take a long time ? that's really seems to be awesome.
     
  27. Offline

    Randy Schouten

    Seems like I almost have it...

    I'm pretty sure it'll be out by this evening.
     
  28. Offline

    Bonkerz

  29. Offline

    Randy Schouten

    lol xD
    I'm happy to see people are waiting for more features :p
     
  30. Offline

    Dreaming

    I cant find iConomy plugin download link can you help me?
     
  31. Offline

    Bonkerz

Share This Page