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

Could it lagg when

Comments in 'Plugin Development' started by MyNameIsTriXz, Dec 30, 2015.

  1. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    I create for my minigame for each game an extra plugin? Or should I create foreach minigame a new a new php file? I am sure it is to hard to add an ablity to manage all minigames in one plugin. So what you think about that?
  2. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    A new plugin for each minigame because now you shouldn't have more minigames on server due to lags
  3. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Just as a side note, DynamicHub allows (at least, is supposed to be allowing) plugins to load Game into the DynamicHub core, and then DynamicHub will let the server administrator decide whether to only enable one plugin in the whole server, or create a hub where players can choose what game to join, etc.
    The special feature I would like to mention here is that DynamicHub redistributes the event handlers. Instead of telling games to registerEvents directly, games registerEvents to DynamicHub, then DynamicHub will decide which game to handle that event, reducing lag from unrelated games.
    See my point? Making one game, one core handler, can reduce lag if you know how to effectively redistribute the event. But of course, if you can't, forget what I said.
  4. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    I mean for each game of a plugin a new minigame :D

Share This Page

Advertisement