Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

get client resultion

Comments in 'Plugin Development' started by Creeperface, Aug 2, 2015.

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

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    how can i get client resultion (HD/Full HD) because when i want to make Tip on right side so is it possible?
  2. Gamecrafter
    Offline

    Gamecrafter Notable Member Plugin Developer

    Joined:
    Nov 20, 2014
    Posts:
    981
    Plugins:
    9
    You can't get the client's screen resolution(as far as I know). And tips on the right side is possible, just put a lot of spaces until the text is shown at the right side.
  3. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    So it looks like that : Screenshot_2015-08-02-21-16-36.png
    Or some clients don't see the tip
  4. Gamecrafter
    Offline

    Gamecrafter Notable Member Plugin Developer

    Joined:
    Nov 20, 2014
    Posts:
    981
    Plugins:
    9
    Figure it out yourself?
  5. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    yes :D and so it is not possible?
  6. Gamecrafter
    Offline

    Gamecrafter Notable Member Plugin Developer

    Joined:
    Nov 20, 2014
    Posts:
    981
    Plugins:
    9
    Did you even read?
    1. It is not possible for you to get the client's screen resolution using just the PocketMine-API or PHP.
    2. It is possible to make tips on the right side of the screen.
    Legoboy0215 likes this.
  7. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    but it is bad for clients with >= Full HD or for clients with <= HD
    Legoboy0215 likes this.
  8. Legoboy0215
    Offline

    Legoboy0215 Notable Member

    Joined:
    Nov 1, 2014
    Posts:
    1,747
    Minecraft User:
    Legoboy0215
    Yeah. Some people don't see it on my server too. Android seems to mostly see it, but Apple Devices half don't.
Thread Status:
Not open for further replies.

Share This Page

Advertisement