server.properties 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # This is the server configuration file. Here you can set up the connection for your server.
  2. # Usually you have to change the ExternalHostname option to
  3. # - 127.0.0.1 (if you want to play alone / testing purpose)
  4. # - LAN IP* (if you want to play from another computer in the network)
  5. # - WAN IP** (if you want to play with friends over internet)
  6. # - Questions? => http://l2jserver.com
  7. #
  8. # * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
  9. # **= If you want to get you WAN IP, visit http://www.whatismyip.com
  10. # ===================================================================================================
  11. # ================================================================
  12. # General server setting !!! REQUIRED to configure to everyone !!!
  13. # ================================================================
  14. # Bind ip of the gameserver, use * to bind on all available IPs
  15. GameserverHostname=*
  16. GameserverPort=7777
  17. # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
  18. # If this ip is resolvable by Login just leave *
  19. ExternalHostname=*
  20. # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
  21. # If this ip is resolvable by Login just leave *
  22. InternalHostname=*
  23. # The Loginserver host and port
  24. LoginPort=9014
  25. LoginHost=127.0.0.1
  26. # This is the server id that the gameserver will request (i.e. 1 is Bartz)
  27. RequestServerID = 1
  28. # If set to true, the login will give an other id to the server if the requested id is allready reserved
  29. AcceptAlternateID = True
  30. # Database info
  31. Driver=com.mysql.jdbc.Driver
  32. #Driver=org.hsqldb.jdbcDriver
  33. #Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
  34. URL=jdbc:mysql://localhost/l2jdb
  35. #URL=jdbc:hsqldb:hsql://localhost/l2jdb
  36. #URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
  37. Login=root
  38. Password=
  39. MaximumDbConnections=100
  40. # Datapack root directory, defaults to current directory from which the server is started
  41. # DatapackRoot = C:/Work/tmp/DataPack
  42. # Define character name template
  43. # Example to use only : CnameTemplate=[A-Z][a-z]{3,3}[A-Za-z0-9]*
  44. # will allow names with first capital letter, next three small letters,
  45. # and any (capital or not) letter or number, like ZbigN1eW
  46. # Most rational to have CnameTemplate=[A-Z][a-z]*
  47. # meaning names only of letters with first one capital, like Zbigniew
  48. # Default .* - any namy of any symbols
  49. CnameTemplate=.*
  50. PetNameTemplate=.*
  51. # Maximum number of chars per account - Default 7 (0 = unlimited [7 is the client limit])
  52. CharMaxNumber = 7
  53. # Define how many players are allowed to play simultaneously on your server.
  54. MaximumOnlineUsers=100
  55. # Minimum and maximum protocol revision that server allow to connect.
  56. # You must keep MinProtocolRevision <= MaxProtocolRevision.
  57. MinProtocolRevision = 828
  58. MaxProtocolRevision = 828