Advertisement
Guest User

Untitled

a guest
Jul 11th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.90 KB | None | 0 0
  1. #SCOALA DE SERVERE SEZ.4 TUTORIALUL 3
  2. #CONFIG REALIZAT DE Pawn009
  3.  
  4. DataSource:
  5. # What type of database do you want to use?
  6. # Valid values: sqlite, mysql
  7. backend: 'SQLITE'
  8. # Enable database caching, should improve database performance
  9. caching: true
  10. # Database host address
  11. mySQLHost: 'IpHost(ex:192.163.0.1)'
  12. # Database port
  13. mySQLPort: 'Port-ul(ex:25565)'
  14. # Username about Database Connection Infos
  15. mySQLUsername: 'Username(ex:pawn009)'
  16. # Password about Database Connection Infos
  17. mySQLPassword: 'Parola(pawnftw)'
  18. # Database Name, use with converters or as SQLITE database name
  19. mySQLDatabase: 'authme'
  20. # Table of the database
  21. mySQLTablename: 'authme'
  22. # Column of IDs to sort data
  23. mySQLColumnId: 'id'
  24. # Column for storing or checking players nickname
  25. mySQLColumnName: 'username'
  26. # Column for storing or checking players RealName
  27. mySQLRealName: 'realname'
  28. # Column for storing players passwords
  29. mySQLColumnPassword: 'password'
  30. # Column for storing players emails
  31. mySQLColumnEmail: 'email'
  32. # Column for storing if a player is logged in or not
  33. mySQLColumnLogged: 'isLogged'
  34. # Column for storing players ips
  35. mySQLColumnIp: 'ip'
  36. # Column for storing players lastlogins
  37. mySQLColumnLastLogin: 'lastlogin'
  38. # Column for storing player LastLocation - X
  39. mySQLlastlocX: 'x'
  40. # Column for storing player LastLocation - Y
  41. mySQLlastlocY: 'y'
  42. # Column for storing player LastLocation - Z
  43. mySQLlastlocZ: 'z'
  44. # Column for storing player LastLocation - World Name
  45. mySQLlastlocWorld: 'world'
  46. # Enable this when you allow registration through a website
  47. mySQLWebsite: false
  48.  
  49. ExternalBoardOptions:
  50. # Column for storing players passwords salts
  51. mySQLColumnSalt: ''
  52. # Column for storing players groups
  53. mySQLColumnGroup: ''
  54. # -1 means disabled. If you want that only activated players
  55. # can log into your server, you can set here the group number
  56. # of unactivated users, needed for some forum/CMS support
  57. nonActivedUserGroup: -1
  58. # Other MySQL columns where we need to put the username (case-sensitive)
  59. mySQLOtherUsernameColumns: []
  60. # How much log2 rounds needed in BCrypt (do not change if you do not know what it does)
  61. bCryptLog2Round: 10
  62. # phpBB table prefix defined during the phpBB installation process
  63. phpbbTablePrefix: 'phpbb_'
  64. # phpBB activated group ID; 2 is the default registered group defined by phpBB
  65. phpbbActivatedGroupId: 2
  66. # Wordpress prefix defined during WordPress installation
  67. wordpressTablePrefix: 'wp_'
  68.  
  69. Converter:
  70. Rakamak:
  71. # Rakamak file name
  72. fileName: 'users.rak'
  73. # Rakamak use IP?
  74. useIP: false
  75. # Rakamak IP file name
  76. ipFileName: 'UsersIp.rak'
  77. CrazyLogin:
  78. # CrazyLogin database file name
  79. fileName: 'accounts.db'
  80.  
  81. settings:
  82. # The name shown in the help messages
  83. helpHeader: 'AuthMeReloaded'
  84. sessions:
  85. # Do you want to enable the session feature?
  86. # If enabled, when a player authenticates successfully,
  87. # his IP and his nickname is saved.
  88. # The next time the player joins the server, if his IP
  89. # is the same as last time and the timeout hasn't
  90. # expired, he will not need to authenticate.
  91. enabled: true
  92. # After how many minutes should a session expire?
  93. # 0 for unlimited time (Very dangerous, use it at your own risk!)
  94. # Remember that sessions will end only after the timeout, and
  95. # if the player's IP has changed but the timeout hasn't expired,
  96. # the player will be kicked from the server due to invalid session
  97. timeout: 25
  98. # Should the session expire if the player tries to log in with
  99. # another IP address?
  100. sessionExpireOnIpChange: true
  101. # Message language, available: en, de, br, cz, pl, fr, ru, hu, sk, es, zhtw, fi, zhcn, lt, it, ko, pt
  102. messagesLanguage: 'en'
  103. restrictions:
  104. # Keeps collisions disabled for logged players
  105. # Works only with MC 1.9
  106. keepCollisionsDisabled: false
  107. # Can not authenticated players chat?
  108. # Keep in mind that this feature also blocks all commands not
  109. # listed in the list below.
  110. allowChat: false
  111. # Hide the chat log from players who are not authenticated?
  112. hideChat: false
  113. # Allowed commands for unauthenticated players
  114. allowCommands:
  115. - '/login'
  116. - '/register'
  117. - '/l'
  118. - '/reg'
  119. - '/email'
  120. - '/captcha'
  121. # Max number of allowed registrations per IP
  122. # The value 0 means an unlimited number of registrations!
  123. maxRegPerIp: 3
  124. # Minimum allowed username length
  125. # Am pus doua litere minim deoarece sunt care au numele format din 2 sau 3 litere
  126. minNicknameLength: 2
  127. # Maximum allowed username length
  128. maxNicknameLength: 16
  129. # When this setting is enabled, online players can't be kicked out
  130. # due to "Logged in from another Location"
  131. # This setting will prevent potential security exploits.
  132. ForceSingleSession: true
  133. ForceSpawnLocOnJoin:
  134. # If enabled, every player will be teleported to the world spawnpoint
  135. # after successful authentication.
  136. # The quit location of the player will be overwritten.
  137. # This is different from "teleportUnAuthedToSpawn" that teleport player
  138. # back to his quit location after the authentication.
  139. enabled: false
  140. # WorldNames where we need to force the spawn location
  141. # Case-sensitive!
  142. worlds:
  143. - 'world'
  144. - 'world_nether'
  145. - 'world_the_end'
  146. # This option will save the quit location of the players.
  147. SaveQuitLocation: false
  148. # To activate the restricted user feature you need
  149. # to enable this option and configure the AllowedRestrictedUser field.
  150. AllowRestrictedUser: false
  151. # The restricted user feature will kick players listed below
  152. # if they don't match the defined IP address.
  153. # Example:
  154. # AllowedRestrictedUser:
  155. # - playername;127.0.0.1
  156. AllowedRestrictedUser: []
  157. # Should unregistered players be kicked immediately?
  158. kickNonRegistered: false
  159. # Should players be kicked on wrong password?
  160. kickOnWrongPassword: false
  161. # Should not logged in players be teleported to the spawn?
  162. # After the authentication they will be teleported back to
  163. # their normal position.
  164. teleportUnAuthedToSpawn: false
  165. # Can unregistered players walk around?
  166. allowMovement: false
  167. # Should not authenticated players have speed = 0?
  168. # This will reset the fly/walk speed to default value after the login.
  169. removeSpeed: true
  170. # After how many seconds should players who fail to login or register
  171. # be kicked? Set to 0 to disable.
  172. timeout: 30
  173. # Regex syntax of allowed characters in the player name.
  174. allowedNicknameCharacters: '[a-zA-Z0-9_]*'
  175. # How far can unregistered players walk?
  176. # Set to 0 for unlimited radius
  177. allowedMovementRadius: 100
  178. # Enable double check of password when you register
  179. # when it's true, registration requires that kind of command:
  180. # /register <password> <confirmPassword>
  181. enablePasswordConfirmation: true
  182. # Should we protect the player inventory before logging in? Requires ProtocolLib.
  183. ProtectInventoryBeforeLogIn: false
  184. # Should we deny the tabcomplete feature before logging in? Requires ProtocolLib.
  185. DenyTabCompleteBeforeLogin: true
  186. # Should we hide the tablist before logging in? Requires ProtocolLib.
  187. HideTablistBeforeLogin: true
  188. # Should we display all other accounts from a player when he joins?
  189. # permission: /authme.admin.accounts
  190. displayOtherAccounts: true
  191. # Ban ip when the ip is not the ip registered in database
  192. banUnsafedIP: false
  193. # Spawn priority; values: authme, essentials, multiverse, default
  194. spawnPriority: 'authme,essentials,multiverse,default'
  195. # Maximum Login authorized by IP
  196. maxLoginPerIp: 0
  197. # Maximum Join authorized by IP
  198. maxJoinPerIp: 0
  199. # AuthMe will NEVER teleport players if set to true!
  200. noTeleport: false
  201. # Regex syntax for allowed chars in passwords
  202. allowedPasswordCharacters: '[\x21-\x7E]*'
  203. GameMode:
  204. # Force survival gamemode when player joins?
  205. ForceSurvivalMode: false
  206. unrestrictions:
  207. # Below you can list all account names that
  208. # AuthMe will ignore for registration or login, configure it
  209. # at your own risk!! Remember that if you are going to add
  210. # nickname with [], you have to delimit name with ' '.
  211. # this option add compatibility with BuildCraft and some
  212. # other mods.
  213. # It is case-sensitive!
  214. UnrestrictedName: []
  215. security:
  216. # Minimum length of password
  217. minPasswordLength: 5
  218. # Maximum length of password
  219. passwordMaxLength: 30
  220. # This is a very important option: every time a player joins the server,
  221. # if they are registered, AuthMe will switch him to unLoggedInGroup.
  222. # This should prevent all major exploits.
  223. # You can set up your permission plugin with this special group to have no permissions,
  224. # or only permission to chat (or permission to send private messages etc.).
  225. # The better way is to set up this group with few permissions, so if a player
  226. # tries to exploit an account they can do only what you've defined for the group.
  227. # After, a logged in player will be moved to his correct permissions group!
  228. # Please note that the group name is case-sensitive, so 'admin' is different from 'Admin'
  229. # Otherwise your group will be wiped and the player will join in the default group []!
  230. # Example unLoggedinGroup: NotLogged
  231. unLoggedinGroup: 'unLoggedinGroup'
  232. # Possible values: MD5, SHA1, SHA256, WHIRLPOOL, XAUTH, MD5VB, PHPBB,
  233. # MYBB, IPB3, PHPFUSION, SMF, XENFORO, SALTED2MD5, JOOMLA, BCRYPT, WBB3, SHA512,
  234. # DOUBLEMD5, PBKDF2, PBKDF2DJANGO, WORDPRESS, ROYALAUTH, CUSTOM (for developers only)
  235. passwordHash: 'SHA256'
  236. # Salt length for the SALTED2MD5 MD5(MD5(password)+salt)
  237. doubleMD5SaltLength: 8
  238. # If password checking return false, do we need to check with all
  239. # other password algorithm to check an old password?
  240. # AuthMe will update the password to the new password hash
  241. supportOldPasswordHash: false
  242. # Prevent unsafe passwords from being used; put them in lowercase!
  243. # unsafePasswords:
  244. # - '123456'
  245. # - 'password'
  246. #Am mai adugat eu cateva parole folosite foarte des
  247. unsafePasswords:
  248. - '123456'
  249. - 'password'
  250. - 'qwerty'
  251. - '12345'
  252. - '54321'
  253. - 'abc123'
  254. - 'andrei'
  255. - 'parola1'
  256. - 'Facebook1'
  257. - 'charlie'
  258. - 'Andrei'
  259. - 'parolaparola'
  260. registration:
  261. # Enable registration on the server?
  262. enabled: true
  263. # Send every X seconds a message to a player to
  264. # remind him that he has to login/register
  265. messageInterval: 5
  266. # Only registered and logged in players can play.
  267. # See restrictions for exceptions
  268. force: true
  269. # Do we replace password registration by an email registration method?
  270. enableEmailRegistrationSystem: false
  271. # Enable double check of email when you register
  272. # when it's true, registration requires that kind of command:
  273. # /register <email> <confirmEmail>
  274. doubleEmailCheck: false
  275. # Do we force kick a player after a successful registration?
  276. # Do not use with login feature below
  277. forceKickAfterRegister: false
  278. # Does AuthMe need to enforce a /login after a successful registration?
  279. forceLoginAfterRegister: true
  280. # Force these commands after /login, without any '/', use %p to replace with player name
  281. forceCommands: []
  282. # Force these commands after /login as service console, without any '/'. Use %p to replace with player name
  283. forceCommandsAsConsole: []
  284. # Force these commands after /register, without any '/', use %p to replace with player name
  285. forceRegisterCommands: []
  286. # Force these commands after /register as a server console, without any '/'. Use %p to replace with player name
  287. forceRegisterCommandsAsConsole: []
  288. # Enable to display the welcome message (welcome.txt) after a login
  289. # You can use colors in this welcome.txt + some replaced strings:
  290. # {PLAYER}: player name, {ONLINE}: display number of online players, {MAXPLAYERS}: display server slots,
  291. # {IP}: player ip, {LOGINS}: number of players logged, {WORLD}: player current world, {SERVER}: server name
  292. # {VERSION}: get current bukkit version, {COUNTRY}: player country
  293. useWelcomeMessage: true
  294. # Do we need to broadcast the welcome message to all server or only to the player? set true for server or false for player
  295. broadcastWelcomeMessage: false
  296. # Should we delay the join message and display it once the player has logged in?
  297. delayJoinMessage: false
  298. # Should we remove join messages altogether?
  299. removeJoinMessage: false
  300. # Should we remove leave messages?
  301. removeLeaveMessage: false
  302. # Do we need to add potion effect Blinding before login/reigster?
  303. applyBlindEffect: false
  304. # Do we need to prevent people to login with another case?
  305. # If Xephi is registered, then Xephi can login, but not XEPHI/xephi/XePhI
  306. preventOtherCase: false
  307.  
  308. permission:
  309. # Take care with this option; if you don't want
  310. # to use Vault and group switching of AuthMe
  311. # for unloggedIn players, set this setting to true.
  312. # Default is false.
  313. EnablePermissionCheck: false
  314.  
  315. Email:
  316. # Email SMTP server host
  317. mailSMTP: 'smtp.gmail.com'
  318. # Email SMTP server port
  319. mailPort: 465
  320. # Email account which sends the mails
  321. mailAccount: ''
  322. # Email account password
  323. mailPassword: ''
  324. # Custom sender name, replacing the mailAccount name in the email
  325. mailSenderName: ''
  326. # Recovery password length
  327. RecoveryPasswordLength: 8
  328. # Mail Subject
  329. mailSubject: 'Your new AuthMe password'
  330. # Like maxRegPerIP but with email
  331. maxRegPerEmail: 1
  332. # Recall players to add an email?
  333. recallPlayers: false
  334. # Delay in minute for the recall scheduler
  335. delayRecall: 5
  336. # Blacklist these domains for emails
  337. emailBlacklisted:
  338. - '10minutemail.com'
  339. # Whitelist ONLY these domains for emails
  340. emailWhitelisted: []
  341. # Send the new password drawn in an image?
  342. generateImage: false
  343. # The OAuth2 token
  344. emailOauth2Token: ''
  345.  
  346. Hooks:
  347. # Do we need to hook with multiverse for spawn checking?
  348. multiverse: true
  349. # Do we need to hook with BungeeCord?
  350. bungeecord: false
  351. # Send player to this BungeeCord server after register/login
  352. sendPlayerTo: ''
  353. # Do we need to disable Essentials SocialSpy on join?
  354. disableSocialSpy: true
  355. # Do we need to force /motd Essentials command on join?
  356. useEssentialsMotd: false
  357. # Do we need to cache custom Attributes?
  358. customAttributes: false
  359.  
  360. Protection:
  361. # Enable some servers protection (country based login, antibot)
  362. enableProtection: false
  363. # Countries allowed to join the server and register, see http://dev.bukkit.org/bukkit-plugins/authme-reloaded/pages/countries-codes/ for countries' codes
  364. # PLEASE USE QUOTES!
  365. countries:
  366. - 'US'
  367. - 'GB'
  368. # Countries not allowed to join the server and register
  369. # PLEASE USE QUOTES!
  370. countriesBlacklist:
  371. - 'A1'
  372. # Do we need to enable automatic antibot system?
  373. enableAntiBot: true
  374. # Max number of players allowed to login in 5 secs before the AntiBot system is enabled automatically
  375. antiBotSensibility: 10
  376. # Duration in minutes of the antibot automatic system
  377. antiBotDuration: 10
  378.  
  379. Purge:
  380. # If enabled, AuthMe automatically purges old, unused accounts
  381. useAutoPurge: false
  382. # Number of Days an account become Unused
  383. daysBeforeRemovePlayer: 60
  384. # Do we need to remove the player.dat file during purge process?
  385. removePlayerDat: false
  386. # Do we need to remove the Essentials/users/player.yml file during purge process?
  387. removeEssentialsFile: false
  388. # World where are players.dat stores
  389. defaultWorld: 'world'
  390. # Do we need to remove LimitedCreative/inventories/player.yml, player_creative.yml files during purge process ?
  391. removeLimitedCreativesInventories: false
  392. # Do we need to remove the AntiXRayData/PlayerData/player file during purge process?
  393. removeAntiXRayFile: false
  394. # Do we need to remove permissions?
  395. removePermissions: false
  396.  
  397. Security:
  398. SQLProblem:
  399. # Stop the server if we can't contact the sql database
  400. # Take care with this, if you set this to false,
  401. # AuthMe will automatically disable and the server won't be protected!
  402. stopServer: true
  403. ReloadCommand:
  404. # /reload support
  405. useReloadCommandSupport: true
  406. console:
  407. # Remove spam from console?
  408. noConsoleSpam: false
  409. # Remove passwords from console?
  410. removePassword: true
  411. # Copy AuthMe log output in a separate file as well?
  412. logConsole: true
  413. captcha:
  414. # Enable captcha when a player uses wrong password too many times
  415. useCaptcha: false
  416. # Max allowed tries before a captcha is required
  417. maxLoginTry: 5
  418. # Captcha length
  419. captchaLength: 5
  420. stop:
  421. # Kick players before stopping the server, that allow us to save position of players
  422. # and all needed information correctly without any corruption.
  423. kickPlayersBeforeStopping: true
  424. tempban:
  425. # Tempban a user's IP address if they enter the wrong password too many times
  426. enableTempban: false
  427. # How many times a user can attempt to login before their IP being tempbanned
  428. maxLoginTries: 10
  429. # The length of time a IP address will be tempbanned in minutes
  430. # Default: 480 minutes, or 8 hours
  431. tempbanLength: 480
  432.  
  433. BackupSystem:
  434. # Enable or disable automatic backup
  435. ActivateBackup: false
  436. # Set backup at every start of server
  437. OnServerStart: false
  438. # Set backup at every stop of server
  439. OnServerStop: true
  440. # Windows only mysql installation Path
  441. MysqlWindowsPath: 'C:\Program Files\MySQL\MySQL Server 5.1\'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement