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

Is there a way to get the GUI size setting of player?

Comments in 'Plugin Development' started by MyNameIsTriXz, May 11, 2016.

  1. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    Is there a way, to get the player's GUI size?
  2. HotFireyDeath
    Offline

    HotFireyDeath Notable Member Plugin Developer

    Joined:
    Mar 19, 2015
    Posts:
    328
    Plugins:
    1
    Minecraft User:
    HotFireyDeath
    No, I would believe that to be a client-side setting.
    Primus and MyNameIsTriXz like this.
  3. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    Okay, but when the function Player::getAutoJump() exists, which checks whether a player has the auto jump setting activated, why doesnt exist that then?
  4. HotFireyDeath
    Offline

    HotFireyDeath Notable Member Plugin Developer

    Joined:
    Mar 19, 2015
    Posts:
    328
    Plugins:
    1
    Minecraft User:
    HotFireyDeath
    I would say this is because auto jump is a movement related function, and movement has to be processed on the PocketMine server itself.
    Meanwhile, client GUI is displayed locally, it isn't handled in any way by the server.
    MyNameIsTriXz and Primus like this.

Share This Page

Advertisement