CloudWalker

Discussion in 'Archived: Plugin Requests' started by quinster08, Nov 19, 2013.

  1. Offline

    quinster08

    Plugin category: Fun

    Suggested name: CloudWalker (doesn't matter)

    What I want: Displays cloud effect/particles under players feet, so it look likes they walk on a cloud.

    Ideas for commands: /cw - /cw stop

    Ideas for permissions: player.canread. Set it to false if they can't read this post.

    When I'd like it by: 1 day, 1 week or 1 month? I dont care.

    Thx for reading/helping!
     
  2. Offline

    jusjus112

    quinster08
    Im developing it Right now.

    I have a question? Must it private or public?
     
  3. Offline

    timtower Administrator Administrator Moderator

    Private requests aren't allowed here, so guess public :p
     
  4. Offline

    jusjus112

    timtower
    ok im srry, but my question was if the Plugin must be public or for himself?
     
  5. Offline

    timtower Administrator Administrator Moderator

    For himself isn't allowed either way, every plugin in this section has to be public
     
  6. Offline

    jusjus112

    timtower likes this.
  7. Offline

    quinster08

  8. Offline

    jusjus112

    quinster08
    Srry man, i dont have enough time. you must go to another developer!
    if i finished your plugin, is it over 1 month!
    your choise!
     
  9. Offline

    timtower Administrator Administrator Moderator

  10. Offline

    quinster08

    timtower It doesn't have cloud effect! I tried that before..
     
  11. Offline

    timtower Administrator Administrator Moderator

    Request them?
     
  12. Offline

    Norbu10

    NVM didnt read everything
     
  13. Offline

    CrispyLipz

    I'd b willing to do this but can't find out how to exactly use clouds. I've searched Bukkit and Minecraft JavaDocs but can't find anymore information other than the clouds are handled client side :/
     
  14. Offline

    Desle


    You can't spawn clouds, so you could try use smoke instead..
    whoever that can spare 5 minutes of their time can actually make this into a plugin, i provided all the code needed below...

    Code:
    @EventHandler
    public void onPlayerToggleFlight(PlayerToggleFlightEvent e) {
        if (e.getPlayer().hasPermission("clouldwalker.use")) {
            createcloud(e.getPlayer());
        }
       
    public void createcloud(final Player p) {
        Bukkit.getScheduler().scheduleSyncDelayedTask(this, new Runnable() {
           
            @Override
            public void run() {
                if (p.isFlying() == true) {
                    p.getWorld().playEffect(p.getLocation(), Effect.SMOKE, 0);
                    createcloud(p);
                }
            }
        }, getConfig().getInt("TicksBetweenSmoke"));
    }
     
  15. Offline

    CrispyLipz

    Desle
    Want me to compile for you?
     
  16. Offline

    Desle


    Ye cool, i can't go on eclipse atm :)
     
  17. Offline

    CrispyLipz

    Desle
    :) I'll compile it for you. What do you want the package to be called?

    Desle I also tried smoke but it didn't look like clouds like the OP wanted :p
     
  18. Offline

    Desle


    Oh.. well.. i guess it's better than nothing right? haha :p, p.s, i don't really care what the package is called, you can just use your name, etc, i just posted the code so someone that could access eclipse won't have to do the coding :)

    EDIT:

    p.s. how do i link my dev.bukkit account?
     
  19. Offline

    timtower Administrator Administrator Moderator

    Desle likes this.
  20. Offline

    CrispyLipz

    Last edited by a moderator: Jun 5, 2016
    Desle likes this.
  21. Offline

    Desle


    Ghahah :)
     
  22. Offline

    CrispyLipz

    timtower You are a meanie Tim :c

    Desle Won't let me compile this. It says "Cannot resolve method getConfig()" :/

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

    timtower Administrator Administrator Moderator

    Tried extending JavaPlugin?
     
  24. Offline

    Desle


    Code:
    public class classname extends JavaPlugin implements Listener {
     
        public final Logger logger = Logger.getLogger("Minecraft");
        public static Main plugin;
     
        public void onDisable() {
            PluginDescriptionFile pdf = getDescription();
            this.logger.info(pdf.getName() + " V" + pdf.getVersion()
                    + " has been Disabled");
        }
        public void onEnable() {
            getConfig().options().copyDefaults(true);
            saveConfig();
            PluginDescriptionFile pdf = getDescription();
            getServer().getPluginManager().registerEvents(this, this);
            this.logger.info(pdf.getName() + " V" + pdf.getVersion()
                    + " has been Enabled");
        }
    p.s... got dem profile pimped.. haha
     
  25. Offline

    CrispyLipz

  26. Offline

    Desle


    Nice, cool, thanks.
     
  27. Offline

    Vincent1468

Share This Page