Summon specify

Discussion in 'Plugin Development' started by Josmal2, Jun 10, 2015.

Thread Status:
Not open for further replies.
  1. Using This
    Code:
    Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "summon FireworksRocketEntity 0 66 -25 //ect");
    How would i specify a world for a server using multiverse ?
     
  2. Offline

    Konato_K

    @Josmal2 I don't think the vanilla summon command can use different worlds.

    Have you tried doing it programmatically?
     
  3. I have Tryed it using code but Im confused on how to use the code if you could put example great
     
  4. Offline

    CraftBang

    http://bukkit.org/threads/bug-with-firework-spawn.122972/
    Use his code but change
    Code:
    Location loc = (Location) event.getEntity().getWorld();
    to [code]
    Location loc = new Location(Bukkit.getWorld("Your world name"), X, Y , Z);
    
    One tip, there are SO many topics on this forum, for almost every problem there is a sollution given on this forum.
    So if you have a problem with Locations, just search for Location on this forum.
    Same for firework and all the other problems you might find while coding.
     
Thread Status:
Not open for further replies.

Share This Page