Working with Spout?

Discussion in 'Plugin Development' started by DrAgonmoray, Aug 10, 2011.

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

    DrAgonmoray

    I've been staring at the Spout JavaDocs for hours, and flipping through the github source. It's just not making sense to me.

    All I want to do is remove clouds, but I can't figure out how. I think I need to get the SkyManager, but I don't know how.
     
  2. Offline

    zhuowei

    Code:
    SpoutPlayer sPlayer = SpoutManager.getPlayer(myPlayer);
    SpoutManager.getSkyManager().setCloudsVisible(sPlayer, false);
    
    should work.
     
  3. Offline

    DrAgonmoray

    :confused:

    thanks sah
     
  4. Offline

    alta189

  5. Offline

    dark_hunter

  6. Offline

    alta189

    Bukkit+ is limited for Plugin Devs only. :(

    Why did we limit it to that?
    Well the reasoning is because we wanted to avoid the regular users posting error reports that we already replied to
     
  7. Offline

    dark_hunter

    Kk. :(
     
  8. Offline

    DrAgonmoray

    @alta189

    Since I have this thread here, I have a bit of a problem.
    I believe that the Spout plugin needs to load before my plugin, for me to be able to use it. The problem is, it's a WGEN plugin, so it loads before everything else. So when I try to cast a CraftPlayer to SpoutPlayer, I get an error because Spout isn't loaded yet. Do you know how to get around this?
     
  9. Offline

    alta189

    softdepend: [Spout]

    put that in your plugin.yml
     
  10. Offline

    DrAgonmoray

    Thanks!
     
  11. Offline

    Grrrr159

    Spout is giving the option for users to disable clouds next update
     
  12. Offline

    Gabriel333

  13. When you get the plugin developer title.
     
Thread Status:
Not open for further replies.

Share This Page