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

good plugin structure

Comments in 'Plugin Development' started by Creeperface, Apr 24, 2016.

  1. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    hi i want to make something like bungeecord, but idk what structure should i use..
    1. RakNet to handle and decode packets from players
    2. ClientSession for each player.. but how to save clientSession? by player name?
    3. Server session.. idk if every clientSession should have its own Socket to receive packets from server? or one PacketHandler.. i think single socket for every client is easier, but idk what is faster

Share This Page

Advertisement