Prevent a Player from Joining

Discussion in 'Plugin Development' started by XvBaseballkidvX, Feb 10, 2014.

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

    XvBaseballkidvX

    Hello everyone!

    I have recently began to dive into mini-game development and so far it's been a whole lot of fun! I do have some questions though. I am using sub-servers for my minigames, so its like this basically:

    Minigame_Lobby --> Minigame_Server_One, Minigame_Server_Two, so on and so on.

    I want to be able to prevent a player from joining, lets say Minigame_Server_One while the game is in-progress. I have been messing around with a couple of things but sadly non of them worked...

    I tried listening to an AsyncPlayerPreLoginEvent and had little luck (I may have just made a careless mistake though). Any ideas on how to prevent a player from joining a minigame sub-server WHILE its in progress?

    Thanks for reading!
    All help is much appreciated!
     
  2. Offline

    Necrodoom

    Locked. Offline mode servers are not supported here.
    XvBaseballkidvX Ignoring the rules will not make you exempt from them.
    jordanzilla02 xTrollxDudex You are not exempt from them either. Read the guidelines before posting.
     
Thread Status:
Not open for further replies.

Share This Page