Messages in side screen?

Discussion in 'Plugin Development' started by zDubsCrazy, Jul 17, 2014.

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

    zDubsCrazy

    it is possible to do this? or did not is more with bukkit?
    [​IMG]
     
  2. Offline

    TheMcScavenger

    Plugins can only use features implemented in the game. This isn't one of them. You can however put that in a scoreboard.
     
  3. Offline

    Necrodoom

    This looks like a plugin editing scoreboard to me.
     
  4. Offline

    _LB

    Necrodoom I'd like to know what packet the client sends to the server to inform it of its FPS.
     
  5. Offline

    Necrodoom

    _LB Oh, didnt notice that.
    Never mind, then.
     
  6. Offline

    RainoBoy97

    Looks like a custom mod made for a specific game.
     
  7. Offline

    Zupsub

    Maybe possible with holograms.
     
  8. Offline

    TwistPvP

    zDubsCrazy Alot of those things on that specific example would be hard to code as a plugin - such as getting player FPS (that might even be impossible) and to constantly update the features would probably cause quite a bit of lag. What you are looking at is the "MCPVP mod" designed specifically for their hunger games servers i believe. Unlike plugins this is client side not server side (you download it and use it on minecraft instead of uploading it to an FTP File Storage place on a server). Hope this helps!
    Cameron
     
  9. Offline

    _LB

    Zupsub again, you can't get the client's FPS.
     
  10. Offline

    mythbusterma

    I'm looking at a list of all the packets the server/client recognize (http://wiki.vg/Protocol) and none of them seem to have any indication of requesting the client's FPS.

    Your best bet is to have the player press "F3" and read the information for themselves (or get a server/client mod that supports a request for client FPS).
     
  11. Offline

    Msrules123

    _LB
    It is a Bukkit server, when the player hits F3, Bukkit gets their FPS. You do not, although you can change the information that bukkit gives you when you hit F3. This was a custom made plugin, it would be set to the highest priority to override the regular bukkit server code.
     
  12. Offline

    _LB

    The F3 debug screen is 100% clientside. Only some information on it is based on information the server sends (biome, for example).
     
  13. Offline

    Msrules123

    _LB

    You are half right and half wrong. The information that is being sent to the player is being sent through the Bukkit F3 screen. You can program WHAT things are being sent to the player. As for example:

    (ChatColor.GOLD + "Contestants:" + ChatColor.BLUE + Bukkit.getServer().getOnlinePlayers() + "/50");

    This would be an example of the fifth line. You can edit what the things to tell the player different information. You cannot edit the information that is being derived from the player's computer. If you wanted to, you could delete any override any file in the bukkit system. Would it be easy? No. You just have to work with it. Anything is possible.
     
  14. Offline

    _LB

    Msrules123 Can you link me to the API or the packet description for how this information is sent to the client?
     
  15. Offline

    mythbusterma

    What information are you trying to get? See my post above:

     
  16. Offline

    Msrules123

    mythbusterma
    I think that _LB just doesn't like to be proven wrong,

    _LB
    When I hop on my computer, I will find the source code for you.
     
  17. Offline

    Garris0n

    ...what

    It's a mod, as mentioned by TwistPvP
     
    _LB and mythbusterma like this.
  18. Offline

    Necrodoom

    Msrules123 F3 screen is entirely client sided. The server cannot edit it directly. The most it can do is change certain data from the ones displayed. (Ex: change player location, which will also change it on F3)
     
    Garris0n and _LB like this.
  19. Offline

    Zupsub

    Well I think the TO will show stuff on the side, which is probably possible via Holograms.

    The TO didn't request to get the FPS or to modify what is shown, if the player press F3. He only wanted to show a message at the side on the screen.
     
  20. Offline

    zDubsCrazy

    Lol, for all this?
     
  21. Offline

    CynutsBR

    Isso é um mod cara... não um plugin!
    This isnt a plugin man, this is a minecraft mod!
     
Thread Status:
Not open for further replies.

Share This Page