NPCS v.4.1 - Trader, Simple NPCS, iConomySupport soon

Discussion in 'WIP and Development Status' started by Jimpi, Jan 4, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Jimpi

    Update is Released!
    v4.2.5!!! I released the Kraken :ugly: (and got iConomySupport, PersonaMe,etc.)
    Get the hmod-version @hmodforums (link beneath this)

    read here the full new Topic with lots of information!
    http://forum.hey0.net/showthread.php?tid=3827

    Btw: expect a port to bukkit in the next few days.
    Port will be delayed. Bukkit still missing needed Hooks + Methods !
    ===================================================

    Hi Community!

    this Plugin is really good for RPG-Themed Servers or economy-Themed Servers, or if you like to have some Non-Player-Characters, that talk to you, or sell Items to you ;)

    Videos:




    <font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)">NEWST CHANGES</font></font></font></font></font></font></font></font>
    </font>
    Changelog v4.2.3b
    - UpdateMethod to update NPCs (for interaction,etc)
    new structured. Now all is handled in one Timerthread.
    That maybe kills the Clientcrashes, some Users have experienced.
    With the Fiel "npc_update_time" in npcs.properties, you can tweak
    the timeinterval for updating the NPCS, (the lesser, the better the NPCs
    will respond.
    By Default its "npc_update_time=1800". But if you dont experience Client-
    Crashes, you could change this to a better Value.
    - npcs.properties got a new field called "DebugMode", default is false,
    if you enable it with "true" it will spam your console with Information about
    the plugin calls.


    Usage:

    Download the rarpackage (extract it ^^), insert "npcs.jar" into plugin-folder and npcs.properties/languagefiles into root of Server (where server.properties is)

    Give to player command /npcs, if you want to let him to use this commands
    (in groups.txt)

    /npc info

    Simple:
    Simple npc, click LMB to get random msg.

    /npc simple create <basename> <name>
    /npc simple delete <basename>
    /npc simple move <basename>
    /npc simple setiih <basename> <itemid>
    /npc simple setname <basename> <name>
    /npc simple list [partofname]
    /npc simple addmsg <basename> <id> <msg>
    /npc simple delmsg <basename> <id>
    /npc simple listmsg <basename>

    Trader:
    NPC-Trader, choose item by clicking LMB with no items in hands and buy by clicking LMB with selling item in hands

    /npc trader create <basename> <name>
    /npc trader delete <basename>
    /npc trader move <basename>
    /npc trader setiih <basename> <itemid>
    /npc trader setname <basename> <name>
    /npc trader list [partofname]
    /npc trader additem <basename> <id> <sellitemid> <sellitemcount> <sellitemname> <buyitemid> <buyitemcount> <buyitemname>
    /npc trader delitem <basename> <id>
    /npc trader listitem <basename>

    Itemnumbers can be found here: http://www.minecraftwiki.net/images/3/33/ItemslistV110.png


    <font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)">Language-Support</font></font></font></font></font></font></font></font>
    </font>

    The Language is outsourced in a seperated File, so you can edit the Language,
    to Fit it for your Server, e.g. if you got a Country-specific Server and so on...

    how to "install" the Language is quite easy:


    in the "npcs.properties"-File there is a new Line called "npc_language", if you insert
    Code:
    npc_language=default
    
    The Language will be English

    if you want, to use your own Language, then modify the Line with your
    Languagefilename e.g.: npc_langGER, if your Languagefile is named "npc_langGER.properties". The Languagefiles must be with ending ".properties.
    Code:
    npc_language=npc_langGER
    
    example of the english Langfile:
    Code:
    traderWelcome=I'm_selling_these_items
    traderNotEnough=Sorry,_you_dont_have_enough
    traderTakeItem=Take_your
    traderListSellingItems=Selling
    traderAlreadyExists=already_exist_in
    traderItemAdded=Item_added_to
    traderItemNotExist=does_not_exist
    traderItemWithId=Item_with_id
    traderItem=items
    traderListOf=List_of
    traderFor=for
    simpleMessage=Message
    simpleAdded=added_to
    simpleMassageWithId=message_with_id
    simpleNotExist=does_not_exist_in
    simpleListOfBase=List_of_Base
    simpleMessages=messages
    baseItemDeleted=deleted_from
    baseItemId=Id
    eventListenerBasename=Basename
    eventListenerInUse=already_in_use_by
    eventListenerCreated=created
    eventListenerSimplenpc=Simple_npc
    eventListenerDeleted=deleted
    eventListenerListOfSnpc=List_of_simple_npcs
    eventListenerName=Name
    eventListenerRename=renamed_to
    eventListenerMove=moved_to_new_position
    eventListenerItemInHand=item_in_hand_changed_to
    eventListenerTradernpc=Trader-npc
    eventListenerNpcType=NPC_Type
    eventListenerWrongSyn=Wrong_syntax
    
    If the Plugin does not find all Lines in the Languagefile, the missing translated parts, will be in English by default.

    I made a Languagefile for GERMAN and ENGLISH. Please feel free, to translate into other Langs.

    Languages available:
    English (file not needed, -> npc_language=default)
    But for translation it will be helpful: <Edit by Moderator: Redacted mediafire url>
    German: <Edit by Moderator: Redacted mediafire url>
    Nederlands: <Edit by Moderator: Redacted mediafire url>
    Danish: <Edit by Moderator: Redacted mediafire url>




    <font color="rgb(255, 0, 0)">planned for the next update</font>:

    - fix item in hand
    - Bukkit support

    <font color="rgb(255, 0, 0)">planned, but not for the next update</font>:

    - RPG QUEST SYSTEM


    <font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)">DOWNLOAD</font></font></font></font></font></font></font></font></font>
    <font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)"><font color="rgb(255, 0, 0)">AVAILABLE FOR BUKKIT SOON</font></font></font></font></font></font></font></font></font>
    </font>

    hmod Download here ->
    http://forum.hey0.net/showthread.php?tid=1973&amp;pid=47379#pid47379

    Credits:
    Thx to nisovin for base npc class
    Thx to Morpheus


    Have Fun.
    Best Regards,
    Jimpi
     
    Last edited by a moderator: Dec 15, 2016
    jeffadkins51 and Hamish_G like this.
  2. Offline

    Bwana

    My pvp server will thank you. I salute you sir.
     
  3. Offline

    Killie01

    where is the dl link
    --- merged: Jan 4, 2011 3:58 PM ---
    NL Translation :
    Just make .txt, .properties
     

    Attached Files:

  4. Offline

    Jimpi

    The Forum messed up my Entry, do not know why -_- half of the post was in "code" and ech line, there was text​
    .
    This Plugin is going to be ported soon, currently iam looking at the bukkit-src. Patience ^^

    got the needed hooks.
    going to port that beast.

    mistake, need onItemUse...
    and getRotation in class Location...

    Need a Method to get the inventory, at least some function like player.giveItem etc.

    Port to Bukkit will be delayed till Bukkit gets above named Methods.

    -> working on better Syntax + iConomy

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 8, 2016
  5. Offline

    Tythus

    Curses well atleast one can wait
    On another note for selling items can you have that if you try to hit a trader npc with an item he will auto offer on that item based on a pre-set value for him (hopefully changing depending on stock)
     
  6. Offline

    Toon

    Will there be any plans on adding Questing Features from Craftizens? Or something along those lines?
     
  7. Offline

    Jimpi

    hi!
    did you mean depending on stock of the trader or player ? ^^ atm, trader got "infinite" Stock, but i will investigate to add optional setting to limited stock fot a amount of time or so.
    --- merged: Jan 5, 2011 2:05 PM ---
    Hi!
    I already wrote this into the "planned for next update" but the ForumSoftware does not applied the changes :/
    Iam really looking for quest support. But first bug fixing and porting it to bukkit.

    btw:
    Full iConomy Support for traders in the next update *horray*
     
  8. Offline

    CrazyBoy

    You can make NPC with teleport func?
     
  9. Offline

    Toon

    Wicked I love the sounds. When looking at this mod compared to Craftizens this always seemed to have more support to it. But recently on my server I've created two cities. One large city and one smaller city. The small city I got loaded with quests and everyone on the server LOVED it. (It's also the only way to make money with iconomy.)

    Other then that glad to hear it will be coming :)
     
    Jimpi likes this.
  10. Offline

    Jimpi

    Did you mean, teleporting the NPCs to you. This feature is already implemented ;)

    to teleport ("move") a NPC to you, typ this command:
    Code:
    /npc simple move <basename>
    or
    /npc trader move <basename>
    ===
    Moves the specified NPC to your current location (and facing)
    For all current Commands, read the npc readme -> Attachement

    Greetings ;)
    --- merged: Jan 5, 2011 6:54 PM ---
    Thanks, support is very time consuming... and bugfixing,investigating too. But i do my best to move this plugin forward.

    Greetings
     

    Attached Files:

  11. Offline

    Hamish_G

    Is it possible to make it so that NPCs can tp you to place?
     
  12. Offline

    Jimpi

    You mean, the NPC gives you options (like the trader) and then you select one und get teleported ?
    That is 100% possible.

    Do you want that? ^^
    if users demand that feature, i will implement it.

    --> going to work again at the syntax.
     
  13. Offline

    Tythus

    both
     
  14. Offline

    Hamish_G

    I would love to see npc with a command like /npc wizard who could teleport people and heal people so you could have /npc wizard addspell heal to add a heal spell and then for a tp you could have /npc wizard addspell tp coordinates to add a teleport and then when you right click them they tp you.
     
  15. Offline

    CrazyBoy

    I talked about it

    TP From npc to npc
    For example:
    We have NPC "Spawn" , NPC "City", NPC "PvE Arena", NPC "123"
    And we can choose one from it and tp to him
    --- merged: Jan 5, 2011 9:38 PM ---
    Sadly. In Minecraft is no support for the Russian language.
    I could translate into Russian
     
  16. Offline

    Jimpi

    noticed and will be implemented.

    I currently finishing syntax work. Than add a new Npc-Type called "Salesman". with the salesman, you cann sell your items for Money (iConomy-supprt) or your prefered Item.

    Then i will release the Kraken (new version 4.2 >D). (but only hmod at this time, i added 2 tickets for the bukkit-developers to implement needed hooks and methods).
    --- merged: Jan 5, 2011 10:03 PM ---
    Good idea with this teleport npc, i will realize this.
    its a pity with the Russianlang-support... thanky anyway :D

    Video about next Version (4.2) Inculding iConomySupport/new Syntax/big /help menu


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

    Jimpi

  18. Offline

    Moo Master

    i was going to make sign shops next door to the people at my shops near my spawn, but with iConomy integration coming soon keep it up! Since craftizens dissapoints me, since they just don't move at all.
     
  19. Offline

    ChadTheDJ

    Dude, AMAZING! Thank you
     
  20. Offline

    Jimpi

    thanks. Hopefully the port will released soon
     
  21. Offline

    TheArcher

    I'm looking forward to it, Jimpi.
     
  22. Offline

    PrivateAlpha

    i REALLY like this.
    But to make this more useful it needs questing:
    messenger: deliver x item to <npc name> at xyz/town
    hunter: killing x amount of y
    harvester: harvest x from location y
    discoverer: find x item at location y
    Bounty hunter: hunt x npc near location y
    protector: protect the npc from spawning mobs. / escort npc along its set way points

    also could you allow for a waypointing system?
    something like:
    /addwaypoint aka /aw

    then npc's can move around along the waypoints?

    @Jimpi yeah I did miss that sorry >.<
    Atleast you have some good ideas for the questing now.

    then another idea someone gave me:
    npc towns ie: the npc's all belong to a group

    then if you attack a npc that belongs to a certain group the whole group turns on you

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

    Jimpi

    @PrivateAlpha: if you read my first post carefully, you will read, that Questsystem is planned!
    But for now, the current features have to work fine ;)
    And npc-moving is in planning too.
    current: porting to bukkit and bugfixing

    Update is Released!
    v4.2.3!!! I released the Kraken :ugly: (and got iConomySupport, PersonaMe,etc.)
    Get the hmod-version @hmodforums (link beneath this)
    read here the full new Topic with lots of information!​
    Btw: expect a port to bukkit in the next few days.
    Port will be delayed. Bukkit still missing needed Hooks + Methods !


    BTW @MODS: how can i change the Thread-Title ? because the Version got changed! Thx for answering


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 8, 2016
  24. Offline

    smartaleq

    Jimpi, I expect to use your plugin to handle the player-interaction end of my mod. (DwarfyProgression) The player interactions involve exchanging inventory items for a benefit, as well as conversations with your NPCs. I have two questions: 1, When do you expect to have a bukkit port available (even with incomplete features), and 2) Do you have any planned development for "conversations" or selecting a command via NPCs interation (such as LMB=yes, RMB=no, walk away=start over)
     
  25. Offline

    Jimpi

    1: Bukkit port atm would not make any sense to me. If i would release now a port to bukkit. Only Simple-Npcs and PersonaMe would work. You can expecting the release in a few weeks. Its depending of bukkit-development-progress.

    2: now the Feature for Conversations is planned :) it would be great. Looking forward to implement this.

    Best Regards.

    @privateAlpha:
    Attacking npcs maybe later. I think that is a loooooooooot of work. Already announced Features get their implementations first.
     
  26. Offline

    talbot

    i am seriously loving this plugin. my only request atm is for custom skins that are saved on the server. if i name my NPC "Renel" i'd like it to check the /skins/ folder for a Renel.png before going to minecraft.net. i know it wasn't possible with hMod but i'm really hopeful this would be possible with bukkit. and i apologize for being the nth person to bring this up, i just really want it to work.
     
  27. Offline

    feverdream

    If I understand the bukkit code correctly, skins are collected on the client side not the server side, so this is not possible. Please somebody prove me wrong if I am incorrect :)
     
  28. Offline

    Jimpi

    YOU ARE TOTALLY CORRECT ! Thats impossible if you mod Serverside. You have to mod the Client. Because, the Client loads the Textures and finally drawing them. Sorry for that, but maybe, notch will let it be part of the Mod-Api :D
     
  29. Offline

    Rallerbabz

    fuck yeah, wasted i guess but here it is :p

    Danish Language xD
    <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Dec 15, 2016
  30. Offline

    Draconicus

    It would be great if this could use /msg when available. :3
     
Thread Status:
Not open for further replies.

Share This Page