Harry Potter Magic Plugin

Discussion in 'Archived: Plugin Requests' started by xchilly38x, Apr 7, 2012.

  1. Offline

    xchilly38x

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey we have a Harry Potter server and we will be needing a Harry Potter magic plugin, which should be able to do some of harry potter spells.
    For example:
    Accio - to spawn a random object/block into the players hand
    Expelliarmus - to be able to hit objects out of a players hand.
    Incendio - to start a fire where the player is looking
    Lumos - to make a temporary glowstone block where the player is looking
    Stupefy - which hits back targeted player
    Petrificus Totalus - to freeze targeted player
    Avada Kadavra - kills target player
    Crucio - have same effect if you eat a spider eye
    we would appreciate if all of these spells would only be able to be casted while holding a stick.[stick]
    thanks for reading or deciding to create this plugin.:cool:
  2. Offline

    Iron_Crystal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This is all possible, but I'm not sure how to freeze a player, except for canceling the PlayerMoveEvent, which is not very smooth. Sadly, I am too busy with other plugins to make this.
  3. Offline

    xchilly38x

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Petrificus totalus should now temporarly stop a player with blocks.
    Thank u iron for letting us know its possible hopefully someone will make this
    Plugin
  4. Offline

    ludo0777

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I think it is event.setTo(event.getFrom()) or something similar.
  5. Offline

    ludo0777

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Iron is actually incorrect as many plugin freeze players without being glitchy so it is perfectly possible without blocks.
  6. Offline

    Iron_Crystal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I didn't say it wasn't possible, I just said I didn't know how.
  7. Offline

    xchilly38x

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well will any of you guys make this plugin for us lol?
  8. Offline

    Mig_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It is possible of course :)
  9. Offline

    Iron_Crystal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I guess I can start this. I have some time.
    xchilly38x likes this.
  10. Offline

    Iron_Crystal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Update: I can't work on it this instant (I can do this).

    I finished the accio command quickly. Lol in testing it I got Diamond Boots on the 2nd try. :D
    xchilly38x likes this.
  11. Offline

    xchilly38x

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  12. Offline

    xchilly38x

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  13. Offline

    Iron_Crystal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Do you want permissions? Also, is there any way you want to limit the accio command so that it is not abused?

    Edit: These are commands, correct? Just verifying

    This post has been edited 1 time. It was last edited by Iron_Crystal Apr 12, 2012.
  14. Offline

    xchilly38x

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yes these are commands, and having permissions is important so not everyone have every spell like avada kadavra. I was actually thInking about accio and if we could make certain blocks not able to get through it. Accio should not be able to get any armor, diamond blocks,iron blocks, gold blocks same goes with the ingots for all of them, or any tools.
  15. Offline

    Iron_Crystal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I am having trouble freezing the player. Is it ok if I just make it so that they are given the Slow potion effect for like 10 seconds and amplify it 10 times so that they go practically nowhere?
  16. Offline

    Iron_Crystal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  17. Offline

    xchilly38x

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Excellent!!!! I will keep in touch with you so u can teach me how to do permissions thank you
  18. Offline

    TheFluffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Please post this to BukkitDev/Plugin Submissions with full documentation and proper formatting. I am sure others would enjoy it :D
  19. Offline

    TheFluffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Also, put a config with individual spell delay times into the plugin. That way we can prevent spamming of spells. Also, if you can make it so that the potion bubbles animation (Not the effect on the player, just the bubbles) appear when casting a spell, that would be amazing. Different colored bubbles for each spell (Configurable with potion ID).
  20. Offline

    TheFluffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  21. Offline

    Iron_Crystal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'll just make one big plugin that has all the requested spells. Also, I found a bug with the plugin not sending a message if the player does not have perms, so I'll have to fix it anyway.
  22. Offline

    TheFluffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Good! Please add permissions support of each spell if not already done (I cannot check, I am away from home)... Anyways, configuring the spells would be awesome. If you could use spout and add custom projectiles, as well as make it so that you can configure the spells (Lumos = time light lasts, delay, Light range), (Stupefy = Specify knockback distance, delay)... Delay is how long it takes before you can cast again. Also, I don't need this, so put it on a later update, but requirements to cast a spell would be nice. Like you could set it so that you need 1:2 (ItemID:Quantity)... So I need stone:(2 of them) to cast a certain spell.


    Stupefy:
    Settings:
    knockback: 10 #higher is farther (Knockback 10 blocks)
    delay: 30 #in seconds (Can't cast for 30 more seconds)
    Require:
    blockID: 1:2, etc # 2 stone blocks
    Projectile:
    proj: slimeball #Shoots a slimeball
    speed: 10 #higher is faster
    Effects:
    potion:
    id: 1 #Gives potion ID 1 bubble effect to shooter location.. Like smoke from a gun, harry #potter style. colors help distinguish spells
    Sound: urlHere


    Finally, make add spout support so that you can toggle spells via a small scrolling menu in the bottom right of the screen. This would make everything extremely easy and productive. :D

    EDIT: Shot sound request added.

    This post has been edited 4 times. It was last edited by TheFluffey Apr 13, 2012.
  23. Offline

    xchilly38x

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Fluffey has some really good points that would be awesome if you can incorporate into te plugin iron!
  24. Offline

    Iron_Crystal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    0.0 wow...ok let me think this through.

    1. I am not familiar with spout so I don't think I'll be able to do that.
    2. The spell Lumos spawns a glowstone block, and I can't edit its light range, and I don't know what you mean by delay.
    3. For Stupefy, I just realized what the OP was asking. I thought he wanted to slightly hurt the player, not move him. I'll see what I can do for that, but I'd have to experiment around with making them move backwords. Again, I don't understand what you mean by delay.
    4. Having requirements for spells is easy, but I think I would focus first on all the other aspects.
    5. Projectile? I can do that, but it was not requested.
    6. Its hard to add the swirly effects without actually having the potion effect
  25. Offline

    TheFluffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @ Potioneffects - It can be done, but it is very hard, so yea... Put it on hold.

    Delay - Lets say I cast lumos. If I have a delay of 60, I will not be able to cast lumos for 1 minute.... SO you cannot spam spells. Basically, It delays your ability to use the spell again, so you will be able to use it, have 30 seconds of light, and then it will be gone. You will have to wait an additional 30 seconds (30+30 = 60 ) until you can cast.


    Like Stupefy -- 60 seconds -- can cast again.
  26. Offline

    Iron_Crystal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  27. Offline

    Iron_Crystal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey, guys? I just took a look at the mig_B's request and he has a different use for accio. What should it do?
  28. Offline

    TheFluffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I like Mig_B's for the reason that spawning items could be exploited easily even with a delay... Accio is meant to bring items closer to you, but I wouldn't like them to just spawn to your hands... I would rather the player pull (Mig_B's).

    This post has been edited 1 time. It was last edited by TheFluffey Apr 13, 2012.
  29. Offline

    Iron_Crystal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well, he wanted accio to pull Players closer to you, which is different. If you want nearby items to come to you, then I could easily use the player.getNearbyEntities() with a configurable distance of teleport them to the player so that they instantly pick them up.
  30. Offline

    TheFluffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    That would be better. But can you also draw all nearby mobs to you (Configurable distance).

Share This Page