[REQ] Spectate Via HTTP

Discussion in 'Archived: Plugin Requests' started by JamesS237, Jul 2, 2012.

  1. Offline

    JamesS237

    Hi, My name is JamesS237 and I own the server EdgecraftMC, I am always trying to find ways to control my server from elsewhere, I currently use the plugin Spectate for ingame monitoring and use Adminium and JSON when I'm out. I am wanting a way to use the same principles of Spectate to go about it. An example of how it would work would be like logging into a webserver like dynmap and clicking on a person, bringing up their first person view.

    It could even have support as to editing inventorys and other basic controls using JSONAPI

    I have a good knowladge of Java, HTML, PHP, JS and a few other languages but I am new to bukkit. I would be able to work on the web interface but not the plugin itself.

    If any help is needed creating it I can help.

    Ideas for commands: /ws start, /ws stop

    Ideas For Permissions: webspectate.bypass - Bypass the spectating

    When I'd like it by: Soon

    Thanks.

    JamesS237

    Anyone able to help?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  2. Offline

    Omnitv

    There is already a plugin called Spectate, but you need to be in the server. not sure if its what you want.
     
  3. Offline

    JamesS237

    I stated in the post I already use spectate, but I wanted to bring its functionality to a webpage

    Anyone able to help?

    Would Chipmunk9998 Creator of Spectate Be Interested In Helping? What About codename_B ?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  4. Offline

    Omnitv

    I may mistakingly misread your thread, and I do apologize.
    As a reminder, you should try not bumping your thread too often.
     
  5. Offline

    Chipmunk9998

    I'm a little busy with another project, but I may be able to help...
     
    fredghostkyle1 and JamesS237 like this.
  6. Offline

    JamesS237

    Wow, Thanks! I am able to do the web stuff, pretty much I need the info to be streamed to http.
    Thx Chipmunk! :D

    Chipmunk9998 I see that spectate is licensed under All Rights Reserved. Would you be okay with contributing a bit of your source to this plugins development?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  7. Offline

    np98765

    I've often thought about this idea, but always disregarded it as silly and impossible. *watches thread*
     
  8. Offline

    JamesS237

    :p

    If Chipmunk is in, I'm going to need a php/js developer to help me, any takers?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  9. Offline

    codename_B

    It would require some crazy js... but yes - is possible.
     
    JamesS237 likes this.
  10. Offline

    Sushi

    gg
     
  11. Offline

    Ne0nx3r0

    This is feasible using JSONAPI or some custom API for Bukkit. The Bukkit part of this would actually be fairly straightforward, it's the web coding that would be tedious (if simple enough).

    That said, you're going to need far, FAR more detail on what functionality it should have laid out before any dev should even attempt this.
     
  12. Offline

    Deathmarine

    MilkAdmin and remote toolkit.
     
  13. Offline

    JamesS237

    Give me a day and I'll have a full plan for possible developers.

    For all the devs wanting info on how I want this program to run and operate, this is for you!

    You would open your browser and navigate to a page such as http://serverip:8653 and then you login using credentials set in the configuration.

    You would see a list of players and their current location on a map, you click on their skin and it gets the Ida of the 32^3 blocks surrounding them and the browser puts it together onscreen.

    The plugin would then use JSONAPI to get the users inventory contents and display it on the screen, chat, console control and even health would be streamed.

    Then from this web page, mods/admins could control players, tp them, force them to say things and preform commands.

    And that is my explanation of web spectate!

    James ;)

    I'm able to do it, just extremely busy

    Could you explain that a bit better?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  14. Offline

    codename_B

    You could write the javascript to do that? I'd be extremely impressed.
     
  15. Offline

    McSpazzy

    Why not an app or applet? Or is that out of the question?
     
  16. Offline

    JamesS237

    I could do the JavaScript, I just need a few people to do a servers side plugin with a server and the details I need. If I'm in a position to ask, could codename_B and Chipmunk9998 help me craft the plugin?
     
  17. Offline

    codename_B

    The server side plugin is easy, like crazy easy.

    Tell me what format you want the data in, and I'll give it to you.

    Could just give you an array of ids if we're doing 32*32? Like a giant sized chunk, send you the players position and rotation, and let you do the rest?
     
  18. Offline

    McSpazzy

  19. Offline

    JamesS237

    codename_B - I'll PM You, I don't want the details getting too loose yet.

    McSpazzy - JSONAPI is only for chat and inventory stuff

    Should I set up a BukkitDev page yet?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  20. Offline

    fredghostkyle1

    yes when it is done, it LOOKS COOL!

    GIV LINK!
     
  21. Offline

    codename_B

    I beleive what you're trying to acheive (after seeing your pm) is far too ambitious.

    Strip down what you aim to do, and we can work on it.
     
  22. Offline

    JamesS237

    Ok, I think we'll start with just the spectating and workin the rest later
     
  23. Offline

    PhoenixFlight

    I may be wrong, but this seems like it could be done by just modifying DynMap a little bit... or did you want it to actually look like you're in-game?
     
  24. Offline

    Deathmarine

Share This Page