Vanishing Swords

Discussion in 'Archived: Plugin Requests' started by ezybuddy, Jun 10, 2013.

  1. Offline

    ezybuddy

    So I had this idea for my server. I want 2 swords, one called "White Zephyr" and one "Black Zephyr". I want the white one to heal people when you hit them and the black one to do lots of damage. I want them to never break, and you can't put them in a chest or any storage container. ​

    If you can do just that part, it would still be nice. But add this part in and it would be awesome!​

    I would like the swords to disappear every hour, but then reappear in some random persons inventory. I don't know if this is possible, but if it is please someone make this!​
     
  2. Offline

    GreySwordz

    ezybuddy Specifically, how much damage and healing, and how should players get them? Also, should they be droppable?
     
  3. Offline

    ezybuddy

    Heal 2 hearts for the white. And does 12 hearts without armor for the black.

    So there are only two swords in the game, and so people get them by luck, every hour they disappear from the persons inventory, and then they reappear in someones who is online. They will get an announcement they they have it, and then the process will repeat. No dropping even when someone dies.
     
  4. Offline

    ezybuddy

    Im just gonna code it my self... or try at least
     
    JazzaG likes this.
  5. Offline

    ezybuddy

    Can someone help me!
    i dont know how to code!
     
    JazzaG likes this.
  6. Offline

    RoguePanda

    I can start this one in a few hours. I was thinking that damage amounts and times should be customisable. You ok with that?
     
  7. Offline

    oa10712

    I can start working on it in an hour or so. Is it ok if times and damage/heal amounts are customisable?
     
  8. Offline

    Garris0n

    Help you in what way? If you need help with the coding post in the development section.
     
  9. Offline

    oa10712

    The swords shuffle around on the server now, i am working on making it so that they cannot be placed into inventories
     
  10. Offline

    timtower Administrator Administrator Moderator

  11. Offline

    oa10712

    Swords heal and cannot be dropped or placed in inventories. Just working out a few bugs, should hopefully be done tomorrow (today depending on timezones)

    BukkitDev page is awaiting approval. I will post the link once it goes live and the last 1 or 2 bugs are out.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  12. Offline

    phantomace1111

    Ezybuddy, this doesn't count for the bet btw.

    How much longer do you think it will be until it is done?
     
  13. Offline

    oa10712

    The bukkitDev page is here.
    This is the first plugin I have made a page for in a long time (maybe the first time on this account), so I really don't know.
     
  14. Offline

    phantomace1111

    There doesn't seem to be a download link yet.
     
  15. Offline

    oa10712

    Download here. Keep in mind that it hasn't officially been approved yet.
     
  16. Offline

    phantomace1111

    ok, a couple things i noticed.
    1: maybe you could make the message for when you get the sword be in red or something because its hard to notice in white
    2: the swords have as much durability as an iron sword and can break.
    3. the dark zephyr sword doesn't knock back the enemy when you hit them.
    4. right now with the light zephyr its impossible to know if you hit the target or not, maybe you could add some way so people could tell?

    Other than those, ITS AWESOME, just like I hoped it would be! Thank you so much for making it!

    Another thing is that I changed the values for the dark zephyr so that it did 100 damage, yet it still took 2 hits to kill zombies, creepers, and skeletons.

    and... the swords can be deleted if someone does /ci while they have them...

    I figured out the problem with this issue. You must set up the config BEFORE the zephyr swords are added into the game, you cannot change it afterwards. After you upload the plugin, immediately change the config to what you want, then you can reload/restart the server to add the zephyr swords to the game.

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

    oa10712

    there is a command in-game that should update the config: /zscreload. This also re-shuffles the swords and re-names them to the name in the config.
    Where does /ci come from?
     
  18. Offline

    phantomace1111

    Oh, ok. And /ci is the short version of the command /clearinventory, which comes from essentials.
     
  19. Offline

    ezybuddy

    Here is a picture of what i would like the black zephyr to look like
    [​IMG] ( I couldn't get the file to upload....) Stupid Bukkit

    Heres a picture

    WTF IT WONT UPLOAD!

    Please work this time stupid bukkit

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  20. Offline

    timtower Administrator Administrator Moderator

    ezybuddy Try the edit button, upload the image to another host, get the link, post it inside an [img]<your link here[/img]
     
  21. Offline

    oa10712

    A current fix for the /ci issue is to re-log, the sword is removed on logoff and re-added on player login.
    Still looking into the knockback issue.
     

Share This Page