balloon plugin

Discussion in 'Archived: Plugin Requests' started by superjesse07, Jul 22, 2014.

  1. Plugin category: fun

    Suggested name: balloons.

    What I want: I would like a balloon plugin similarly like this one http://i.imgur.com/TDvr0vJ.jpg where you have a block on a lead. you can select a balloon from an GUI and you can remove it by choosing another balloon or pressing the remove button or doing /balloon remove.

    Balloon ideas:
    Diamond block.
    Gold block.
    Emerald block.
    Quartz block.
    Wood block.
    Melon.
    Note block.
    End Stone.
    every color wool.

    Ideas for commands:
    /balloon menu: shows the GUI/menu where you can choose balloons.
    /balloon remove: remove the current balloon.

    Ideas for permissions:
    balloon.menu for /balloon menu.
    balloon.remove for /balloon remove.

    When I'd like it by: As soon as possible.
     
  2. Offline

    gopro_2027

    thats soo cool! ive been trying to think of plugins that could helpme with donars and i think this would be a great project to try. it looks sick. illget right on it and come back toyou later. i do have to mention that i am not very good with gui's so this will most likely be usedwith a command

    UPDATE: ok i started the plugin. looking good so far...
     
  3. pogostick29dev has a tutorial about inventory menu's
     
  4. Offline

    Freack100

    gopro_2027
    Not sure if you need help, but (IMO) it would be "simple" to have a FallingSand entity riding an invisible Bat which follows you.
     
  5. Offline

    gopro_2027

    i thought i had already replied to what Freack100 said, but i guess it didnt go through. i was working on it and i got the falling sand entity to ride an iron golem, but when i did it on a bat it gave an error when id run the command. odd right? also even on the iron golem if you werent flying when you did the command, the block would fall to the ground. im also very buisy on my gta plugin im making so i cant really spend time on this and it might be awhile before i can get a working version to you. heres my current code if anybody wants to take over. if not, then ill continue on it whenever i can because it is a really good idea :)

    Code:java
    1. package me.gopro2027.ballons;
    2.  
    3.  
    4. import org.bukkit.Location;
    5. import org.bukkit.World;
    6. import org.bukkit.command.Command;
    7. import org.bukkit.command.CommandSender;
    8. import org.bukkit.entity.Creature;
    9. import org.bukkit.entity.EntityType;
    10. import org.bukkit.entity.FallingBlock;
    11. import org.bukkit.entity.Player;
    12. import org.bukkit.plugin.java.JavaPlugin;
    13. import org.bukkit.potion.PotionEffect;
    14. import org.bukkit.potion.PotionEffectType;
    15.  
    16. public class Main extends JavaPlugin{
    17. public void onEnable() {
    18. }
    19. public void onDisable() {
    20. }
    21. @SuppressWarnings("deprecation")
    22. public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
    23. if(sender instanceof Player) {
    24. Player player = (Player) sender;
    25. if(cmd.getName().equalsIgnoreCase("baloon")) {
    26. Location loc = player.getLocation();
    27. World worldName = player.getLocation().getWorld();
    28. final Creature entity = (Creature) worldName.spawnEntity(loc, EntityType.BAT);
    29. entity.addPotionEffect(new PotionEffect(PotionEffectType.SLOW, 100000, 10000));
    30. final FallingBlock fb = (FallingBlock) worldName.spawnFallingBlock(loc, 18, (byte) 0);
    31. entity.setPassenger(fb);
    32. }
    33. }
    34. return false;
    35. }
    36. }


    its not much right now but coding takes time and its a start. the final idea was to take off the slowness and somehow leash the player and bat together. also id make the bat invisible
     
  6. Offline

    Hexxed_

    I pretty much got this done but the lead is not really working properly
     
  7. Can you give an link to the plugin?
    So we can test it and can give some feedback.
    That would be great!
     
  8. Offline

    megasaad44

    The idea is amazing. Might make my own version :3 or use this one if it gets released.
     

Share This Page