Guest User

Untitled

a guest
Jun 2nd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.30 KB | None | 0 0
  1. #
  2. # Configuration file for xAuth
  3. #
  4.  
  5. main:
  6. # How should xAuth store data (Accounts, sessions, etc.)?
  7. # Possible values: default (H2), mysql
  8. datasource: default
  9. # If set to true, xAuth will disable itself if the server is in online-mode
  10. auto-disable: true
  11. # When set to true, if a player connects with the same name as someone who is
  12. # already online, the player connecting will be kicked instead of the online player
  13. reverse-enforce-single-session: true
  14.  
  15. mysql:
  16. # Location of the MySQL server. Can be either a host name or IP address
  17. host: localhost
  18. # Port used by MySQL. Default is 3306
  19. port: 3306
  20. # User name used to connect to the MySQL server
  21. username: root
  22. # Password used to connect to the MySQL server
  23. password:
  24. # Name of the database that will be used by xAuth
  25. database:
  26. # Names of the tables xAuth will use to store data
  27. tables:
  28. account: accounts
  29. session: sessions
  30. strike: strike_bans
  31. location: tele_locations
  32. inventory: inventory
  33.  
  34. registration:
  35. # Enable/disable new registrations
  36. enabled: true
  37. # If set to true, everyone must register
  38. forced: true
  39. # Setting this to true requires a player to enter an email address when they register
  40. require-email: false
  41. # If set to true, a valid email address is required
  42. validate-email: true
  43. # Setting this to false will impose a limit of one account per IP address
  44. allow-multiple: true
  45. # Used with web registrations that require account activation
  46. activation: false
  47.  
  48. login:
  49. strikes:
  50. # Amount of times a player can enter an incorrect password before action is taken
  51. # Set as 0 to disable
  52. amount: 5
  53. # What action to take when the strike threshold is reached
  54. # Possible values: kick, banip
  55. action: kick
  56. # Length, in seconds, of a ban given by the strike system
  57. # Set as 0 for a permanent ban
  58. length: 3600
  59.  
  60. password:
  61. # Minimum length a password may be
  62. min-length: 6
  63. # Enable/disable password changes
  64. allow-change: true
  65. # Require at least one of the character types below that are set to true
  66. complexity:
  67. lowercase: false
  68. uppercase: false
  69. number: false
  70. symbol: false
  71.  
  72. guest:
  73. # Amount of time, in seconds, that a player has to log in before they are kicked
  74. # Set as 0 to disable
  75. timeout: 300
  76. # Amount of time, in seconds, between "You must be logged in.." messages
  77. notify-cooldown: 5
  78. # Commands that players who are not registered or logged in may execute
  79. allowed-commands: [register, login, l]
  80. # Turn on/off location protection
  81. protect-location: true
  82.  
  83. session:
  84. # Amount of time, in seconds, that a session will remain valid
  85. length: 3600
  86. # Verify a player's IP address when resuming a session
  87. verifyip: true
  88. # Length of time, in seconds, that a player will have godmode upon logging in
  89. # set as 0 to disable
  90. godmode-length: 5
  91.  
  92. filter:
  93. # Minimum length a players name can be
  94. min-length: 2
  95. # Characters that may be present in a players name. Use an asterisk (*) to allow all
  96. allowed: '*'
  97. # If set to false, players with blank names can connect
  98. blankname: true
Add Comment
Please, Sign In to add comment