What are packets?

Discussion in 'Plugin Development' started by CARR0T, Sep 3, 2019.

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

    CARR0T

    Sorry if this is a really dumb question, I'm trying to get better at programming and the term 'packet' always comes up.
    I'm confused about what they are, what they do and couldn't seem to find anything on google relating to Bukkit development so I was wondering if someone wiser than I could quickly summarise what they are and what they are used for?

    P.S: If anyone wants to be really helpful, tell me how you learnt programming or if you know any good online courses on Java or just programming in general that will help me get better at this stuff :)
     
  2. Online

    timtower Administrator Administrator Moderator

    @CARR0T The communication between server and client.
     
  3. Offline

    Kars

    Its what tim says.
    When your character moves, your client sends all kinds of movement packets to the server. The server verifies your position and sends a bunch of packets back.
    Generally, there's a packet for everything. Connecting, disconnecting, movement, attacking, etc. These are the kinds of packets but they can each have different properties.
     
Thread Status:
Not open for further replies.

Share This Page