Server.java 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * This program is free software; you can redistribute it and/or modify
  3. * it under the terms of the GNU General Public License as published by
  4. * the Free Software Foundation; either version 2, or (at your option)
  5. * any later version.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. *
  12. * You should have received a copy of the GNU General Public License
  13. * along with this program; if not, write to the Free Software
  14. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  15. * 02111-1307, USA.
  16. *
  17. * http://www.gnu.org/copyleft/gpl.html
  18. */
  19. package net.sf.l2j;
  20. /**
  21. * This class used to be the starter class, since LS/GS split, it only retains server mode
  22. *
  23. */
  24. public class Server
  25. {
  26. //constants for the server mode
  27. public static final int MODE_NONE = 0;
  28. public static final int MODE_GAMESERVER = 1;
  29. public static final int MODE_LOGINSERVER = 2;
  30. public static int serverMode = MODE_NONE;
  31. }