[REQ]Hunger Games spectate "addon"[FORMATTED]

Discussion in 'Archived: Plugin Requests' started by darker9999, Jun 4, 2012.

  1. Plugin category: FUN
    Suggested name: HungerGames

    A bit about me: I'm a hungergames server owner.

    What I want: I want that players who were killed or joined through game could spectate people like in mcsg.in. While you are not in-game (hungergames) you can spectate people and switch what to spectate by clicking left mouse.

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: No permissions needed.

    When I'd like it by: As fast as you can.
    Similar plugin requests: None.

    Devs who might be interested in this: @McHungerGames, minecobalt,
    TakeMeNL, @masterd212, acuddlyheadcrab, beechboy2000, @Double_0_negative.

    Thanks (I can donate! (its not buying, its just donate *for moderators* !))
     
  2. Offline

    lol768

    I'm not sure whether I'd be able to do this, but for any developers:

    The player.hidePlayer(spectator) method will make the spectators invisible. To allow them to fly you can use player.allowFlight(true);

    To cycle through each player, hook the click event and tp them to the next player.

    Shouldn't be too difficult, but I'm unsure as to how I would interface with the Hunger Games plugin if I was developing this addon.
     
  3. Offline

    np98765

  4. Offline

    hawkfalcon

  5. Offline

    travja

  6. Offline

    Sushi

    I might be able to do this for you.

    I see three ways to implement a "spectate" mode.
    1. Put the player in creative mode and make the player invisible. Also, disable block placing, block removing, and item dropping.
    2. Make the player invisible and allow the player to teleport to other players (disable block placing, block removing, and item dropping)
    3. A combination of the two above.
     
  7. Offline

    TakeMeNL

    Yup and i am making a plugin to with a spectator option.
    When you die you will be vanished. As Sushi says above, the player will be in creative and disables every thing.
    The teleport is not a good idea, i think. I make the UltimateHungerGames specially for my server. And i just put it online for other server owners to use. But if i implant that i will use the code of http://dev.bukkit.org/server-mods/spectate/
     

Share This Page