Advertisement
Kamilkime

mainConfig.yml

Feb 22nd, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.84 KB | None | 0 0
  1. #################
  2. # MAIN SETTINGS #
  3. #################
  4.  
  5. # Config version, do not change this section
  6. # Every config file has its own version, so it may differ across the files
  7. configVersion: 1
  8.  
  9. # How frequent (in seconds) should the auto save be?
  10. # Auto save cannot be disabled, but it is only used when 'rememberUUIDs' is enabled
  11. autoSaveInterval: 300
  12.  
  13. # Do you want to remember validated players?
  14. # If not - players have to enter CAPTCHA every time they join the server
  15. rememberUUIDs: true
  16.  
  17. # Players will be required to re-enter the CAPTCHA code every x days
  18. # This feature works only if 'rememberUUIDs' is enabled
  19. forceRevalidationEvery: 7
  20.  
  21. # How long should the CAPTCHA code be?
  22. captchaLength: 7
  23.  
  24. # Date format, used when showing verification date
  25. # Pattern letters used in Java can be found here: http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
  26. dateFormat: "dd/MM/yyyy HH:mm:ss zz"
  27.  
  28. # Commands which should be allowed to be used before CAPTCHA verification
  29. # Commands in this file should be written all lowercase!
  30. cmdsBeforeCaptcha:
  31. - 'login'
  32. - 'register'
  33. - 'helpop'
  34.  
  35. # Actions which should be blocked before CAPTCHA verification
  36. # If the 'COMMAND' action is blocked - it still ignores commands given in 'cmdsBeforeCaptcha' list
  37. # Available actions: CHAT, COMMAND
  38. blockedActions:
  39. - 'CHAT'
  40. - 'COMMAND'
  41.  
  42. #################
  43. # MAIN MESSAGES #
  44. #################
  45.  
  46. # All messages written below are lists of text. One line in the list = one line displayed in chat
  47. # All messages support '&' color codes (e.g. &4 for dark red)
  48. # Available message variables:
  49. #   {DATE}  -> Player verification date, used only in '/kcaptcha info' command
  50. #   {EXPIRATION}  -> Player verification expiration date, used only in '/kcaptcha info' command
  51. #   {UUID}  -> Player UUID, used only in '/kcaptcha info' command
  52. #   {NAME}  -> Player name, used in '/kcaptcha info' and '/kcaptcha force' command
  53. #   {IP}  -> Player IP address, used only in '/kcaptcha info' command
  54. #   {COMMAND}  -> Used only when user issues '/kcaptcha' command incorrectly
  55.  
  56. # Chat message shown after using '/kcaptcha info' command
  57. mainMessageInfoCommand:
  58. - ""
  59. - "    &8------------------------------------"
  60. - " &6UUID&8: &7{UUID}"
  61. - " &6Name&8: &7{NAME}"
  62. - " &6IP Address&8: &7{IP}"
  63. - " &6Verification date: &7{DATE}"
  64. - " &6Expiration date: &7{EXPIRATION}"
  65. - "    &8------------------------------------"
  66. - ""
  67.  
  68. # Chat message shown after using '/kcaptcha help' command
  69. mainMessageHelpCommand:
  70. - ""
  71. - "    &8----------------------"
  72. - " &6/kcaptcha help &8- &7shows this info"
  73. - " &6/kcaptcha version &8- &7shows plugin version"
  74. - " &6/kcaptcha reload &8- &7reloads config and messages"
  75. - " &6/kcaptcha info <nick> &8- &7shows info about a verified player"
  76. - " &6/kcaptcha force <nick> &8- &7forces verification for a given player"
  77. - "    &8----------------------"
  78. - ""
  79.  
  80. # Chat message shown after using '/kcaptcha force' command
  81. mainMessageForceCommand:
  82. - "&7&l[KCaptcha] &6All data about player &7{NAME} &6has been deleted!"
  83. - "&7&l[KCaptcha] &6Player &7{NAME} &6will be verified when they relog or the server reloads/restarts"
  84.  
  85. # Chat message shown after using '/kcaptcha reload' command
  86. mainMessageReloadCommand:
  87. - "&7&l[KCaptcha] &6Config and messages reloaded!"
  88.  
  89. # Chat message shown when someone uses '/kcaptcha' command without having appropriate permission
  90. mainMessageNoPermission:
  91. - "&cYou don't have permission to do this!"
  92.  
  93. # Chat message shown when '/kcaptcha info' command does not find data for a given player
  94. mainMessageNoSuchPlayer:
  95. - "&cThere is no verified player with that name!"
  96.  
  97. # Chat message shown after using the '/kcaptcha' command wrongly
  98. mainMessageWrongSyntax:
  99. - "&cCorrect usage: {COMMAND}"
  100.  
  101. # Chat message sent when someone tries to use a disabled KCaptcha feature
  102. mainMessageFeatureNotEnabled:
  103. - "&cThis feature is not enabled!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement