Filled AltarForge, create items using altars as your crafting table

Discussion in 'Plugin Requests' started by Dark_Serpent, Oct 28, 2015.

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

    Dark_Serpent

    Plugin category: Role Playing

    Suggested name: AltarForge

    What I want: I want players to have the ability to craft weapons using reagents and a specific altar as defined within the config.

    The default altars will appear as such:

    [​IMG]

    (Stone Bricks, Fences, Torches, Gold Block, Sign)
    (Stone Bricks, Nether Brick Fences, Redstone Torches, Gold Block, Sign)
    (The sign will not need anything to be written on it, but there must be a sign occupying that location)


    The altar to the left is the "Good Altar", defined by the fences and torches.
    The altar to the right is the "Evil Altar", defined by the nether brick fences and redstone torches.
    There will also be an altar known as the "Neutral Altar", meaning either altar can be used for the crafting process.

    Players will drop the reagents into the center of the altar. Once every single reagent is added, the item will be crafted. The plugin will have to be able to recognize multiple copies of a single item, as some recipes will require more than 1 of a specific item.

    After dropping the items into the altar, preferably, lightning will strike the center of the altar (for effect and to remove the items) and the 3 x 3 x 3 altar will disappear (Side Note: The ground underneath the altar will not need to be filled. The altar itself will be a 3 x 3 x 3 structure).

    The config file will look something like this:

    SuperDiamondSword:
    Altar: Good
    Materials:
    - 264 2
    - 'STICK;KNOCKBACK:1|&6Legendary Stick|A legendary stick.' 1
    Result:
    - 'DIAMOND_SWORD;SHARPNESS:10;KNOCKBACK:10|&b&lSuper Diamond Sword|It is a very super Diamond Sword.|&6&lIncredibly Rare Diamond Sword' 1
    Commands:
    - 'say Your stick has been completed.'
    - delay 1s
    - 'say This stick seems to like you very much.'
    - delay 1s
    - 'user addperm canuse.stick'
    The stick used in the crafting recipe would appear as so:

    [​IMG]

    The result of the crafting recipe would appear as so:

    [​IMG]

    Altar will define what altar type is required, materials will define what items will be used, and commands dictate what commands will be run after the weapon is completed.

    If at all possible, you would be able to hold an item in your hand and run the command /altarforge addrecipe (name of recipe) (amount) In order to add the item you are currently holding to a given recipe in order to make it easier to add items with complex lore values to the config (also should work with results).

    Ideas for commands: /altarforge
    reload
    addrecipe
    addresult
    version (If needed)

    When I'd like it by: By the end of November, if possible. Thanks in advance for anyone who takes up this.

    Additional Information: It must be able to work properly in Minecraft Version 1.7.10.
     
    Last edited: Nov 6, 2015
  2. Offline

    Scimiguy

    Can i ask whats holding your server on 1.7.10, rather than any 1.8 build?
     
  3. Offline

    Dark_Serpent

    The effort it would take to update my current plugins, and my preference for the features 1.7.10 has.
     
    timtower likes this.
  4. Offline

    Dark_Serpent

  5. Offline

    Dark_Serpent

  6. Offline

    Abstract97

    @Dark_Serpent Ill do this, hopefully it will be done by Wednesday/Thursday.
     
  7. Offline

    Dark_Serpent

    Thank you so much! :D
     
  8. Offline

    Abstract97

    @Dark_Serpent Alright the plugin is pretty much done apart from the commands which i will do tomorrow, then it should be done :)
     
  9. Offline

    Dark_Serpent

    Hey, I just wanted to inquire about how the plugin is coming along?
     
  10. Offline

    Dark_Serpent

    Removed
     
    Last edited: Nov 15, 2015
  11. Offline

    Dark_Serpent

  12. Offline

    Dark_Serpent

  13. Offline

    Dark_Serpent

    @Abstract97
    I just wanted to check on the progress, I'm not sure how long it'll take, but I need it by the end of November.
     
    Last edited by a moderator: Nov 23, 2015
  14. Offline

    Dark_Serpent

  15. Offline

    Dark_Serpent

  16. Offline

    Dark_Serpent

  17. Offline

    Dark_Serpent

  18. Offline

    pie_flavor

    @Dark_Serpent This seems like a cool idea which I might try. I hate string parsing, do you mind if I use Bukkit's default YAML encoding for items? It just make everything a lot simpler for me. Here's examples of how to use everything.
    Also, I need to know what the neutral altar looks like. I assume it's expensive.
     
    Last edited: Dec 21, 2015
  19. Well, dammit. I put it on my watch list :p
    But, haven't decided on what to work on next, since it's soon christmas. I'm considering it too tho :p
     
  20. Offline

    pie_flavor

    BreezerFly likes this.
  21. Damn you !
    Haha. Nice job though. :p
    And merry christmas!
     
  22. Offline

    Dark_Serpent

    @pie_flavor
    I just tested it out and it works amazingly! Thank you so much!
    If you wouldn't mind though, I have a few questions and inputs to make.

    Bukkit's default YAML encoding is fine, I don't mind.
    A neutral altar means either altar can be used for the crafting, good or evil.
    It seems whenever any block is dropped in water, a text is sent that says "in water". Can this be hidden?
    Also, would it be possible for the altar to disappear after crafting? Replacing the blocks with air?

    Thanks again!
     
  23. Offline

    pie_flavor

    @Dark_Serpent Gah, stupid debug messages. I always miss one.
    I was confused - I thought you meant the altar was neutral, not the recipe.
    Course that's possible. Should it appear to explode?
     
  24. Offline

    Dark_Serpent

    I'm kinda confused as well, but I'll attempt to explain. A "neutral altar" is one of the altar types. It means both "good" and "evil" altars can be used to craft the item, so throwing the reagents into a good or evil altar will produce the same result.

    As for the explosion effect, it doesn't need to, but if it did appear that way, that would be wonderful.
     
  25. Offline

    pie_flavor

    @Dark_Serpent Fixed all three things. Redownload, the link was auto-updated.
     
  26. Offline

    Dark_Serpent

    @pie_flavor
    Thank you! I tried it out and the item that normally drops seems to disappear. I'm not sure if lag from the explosion is the cause or not. If it is, do you think you could remove it?
     
  27. Offline

    pie_flavor

    @Dark_Serpent I'm stupid. The explosion was real and destroyed the item.
    Redownload, fixed it to be fake.
     
  28. Maybe you should call it a neutral item. Then you can use any altar, because it has no alignment.
     
  29. Offline

    pie_flavor

  30. :)
     
Thread Status:
Not open for further replies.

Share This Page