Advertisement
Guest User

Untitled

a guest
Jan 16th, 2016
10,655
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.82 KB | None | 0 0
  1. # Auto-In 3.0 by GoToFinal! Now with bungee and potatos!
  2. # Plugin website: http://www.spigotmc.org/resources/auto-in.578/
  3. # Issues/bugs, ideas, wiki, api on github: https://github.com/GotoFinal/AutoIn
  4. # |
  5. # You like this plugin? You can support me by donate: (USD) https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UAAQ6D5CU2F5L
  6. # More donate links in PLN, GBP or EUR you can find here: http://www.spigotmc.org/resources/auto-in.578/
  7. # You can find my other plugins here: http://www.spigotmc.org/resources/authors/gotofinal.31682/
  8. # I also creating plugins "for request" ($), Skype: gotofinal, e-mail: GotoFinalDev@Gmail.com
  9. # |
  10. # If you want use this plugin with bungee vist wiki: https://github.com/GotoFinal/AutoIn/wiki/Bungee-Cord
  11. # Don't change options if you don't understand them -> ask.
  12. # Note: proxy = BungeeCord (or other supported proxy server), Server = Bukkit/Cauldron/Forge/Spigot server.
  13.  
  14. # If you want use this plugin with proxy server (BungeeCord) see: https://github.com/GotoFinal/AutoIn/wiki/Sockets
  15. Sockets:
  16. - TYPE: LISTENER
  17. Enabled: false
  18. Host: localhost
  19. Port: 22644
  20. ServerName: serverOne
  21. Required: true
  22.  
  23. - TYPE: HANDLER
  24. Enabled: false
  25. Host: localhost
  26. Port: 22644
  27.  
  28. # OPTIONS
  29.  
  30.  
  31. Options:
  32. ConfigurationVersion_DO_NOT_CHANGE_THIS: 7
  33.  
  34. # 0 -> unlimited/as needed.
  35. NettyThreads: 0
  36.  
  37. # DON'T USE THAT IF YOU CAN USE SOCKETS, Enable when you can't use sockets but you want use that on bungee server, it isn't good as sockets, but it should not explode. NOTE: You NEED MySQL for that, and this is slower and may by VERY buggy on first join.
  38. UseChannels: false
  39.  
  40. # Time in ms between trying connect LISTENER to HANLDER socket, on linux using smaller times can cause some weird problems.
  41. ReTryConnectSocketTime: 1000
  42.  
  43. # where AutoIn should store exceptions, enabled login, whitelists, cache and other player settings.
  44. SaveData:
  45. Type: SQLite
  46. MySQL:
  47. Host: localhost
  48. Port: 3306
  49. User: root
  50. Pass: root
  51. Database: database
  52. Prefix: "GT_"
  53. SQLite:
  54. File: "AutoIn_PlayerOptions.db"
  55.  
  56. # Both
  57.  
  58. # options that can be used by proxy and server plugin. NOTE: Options are only relevant for the first server which connects to the player. See wiki: https://github.com/GotoFinal/AutoIn/wiki/Player-Connection
  59. Both:
  60.  
  61. Dependencies:
  62.  
  63. # If you have one of that plugin, you can force AutoIn to don't use them even if they can be used. (change to true)
  64. ForceDisable:
  65. ProtocolLib: false
  66. Skript: false
  67. AuthMe: false
  68. LogIt: false
  69. XAuth: false
  70. LoginSecurity: false
  71.  
  72. Listeners:
  73.  
  74. # you can try disable that and manualy configure priority below if auto-login will stop work after update of auth pluhin. PS: tell me about that problem!
  75. GetFromModule: true
  76. PlayerLoginEvent: LOWEST
  77. PlayerJoinEvent: LOWEST
  78. PlayerQuitEvent: MONITOR
  79.  
  80. Players:
  81.  
  82. # no more /login commands for premium users! Enable only on servers where you have auth plugin!
  83. AutoLogin: true
  84.  
  85. # if true, then even premium players needs to register. PS: You can make registration optional, see wiki: https://github.com/GotoFinal/AutoIn/wiki/Registration
  86. Registration: true
  87.  
  88. # if true autoin will try fix skins, you can disable that if you want use other plugin. (some plugins may still not work)
  89. FixSkins: true
  90.  
  91. # if true, then all players are exception by default, they can use /ai IAmNowPremium to remove exception flag (NOTE: they will lose all data after login as premium if you have fixedUUIDs set to false)
  92. NegateExceptions: false
  93.  
  94. # A.K.A. SwitchMode, If you disable that, only old cracked players will be able to join. New cracked players will be kicked from server. Good if you want switch from offline-mode to online-mode without losing players!
  95. AllowNewCrackedPlayers: true
  96.  
  97. # if true, then everyone have UUID generated from nickname
  98. FixedUUID: false
  99.  
  100. # WhiteList that works only on cracked players, black-list works even if this is disabled.
  101. CrackedWhiteListEnabled: false
  102.  
  103. # ignore this -> TODO: Dodać możliwość ustawienia domyślnego skina dla danej grupy (Może nie działać na niektórych wersjach)
  104.  
  105. ForceLogin:
  106.  
  107. # Allow use RegEx in nicknames list, like 'Test\\d{1,3}'
  108. UseRegEx: false
  109.  
  110. # Nicknames from this list don't need use login or register command, use to supprot mods like buildcraft and others
  111. Nicknames:
  112. - SomeNicknameThatDoNotNeedUseLoginOrRegisterCommandEvenIfHeDoNotHavePremium
  113.  
  114. # # Not implemented yet
  115. # Skins:
  116. #
  117. # # AutoIn will download and save skin of every player that will join to server
  118. # CacheOnJoin: true
  119. #
  120. # # Where AutoIn should save all skin data
  121. # SaveData:
  122. # Type: SQLite
  123. #
  124. # # Skins can use other MySQL database than rest of plugin, to allow use one database by multiple networks
  125. # MySQL:
  126. #
  127. # # If true, skins will use this same database as rest of plugin, so you don't need configure data below
  128. # UseMain: true
  129. #
  130. # Host: localhost
  131. # Port: 3306
  132. # User: root
  133. # Pass: root
  134. # Database: database
  135. # Prefix: "GT_"
  136. #
  137. # SQLite:
  138. # # DO NOT use this same name as in main database
  139. # File: "AutoIn_SkinsOptions.db"
  140. #
  141. # # allow set default skin for player
  142. # DefaultSkin:
  143. # Enabled: false
  144. # # Skin can be get by [ByUUID, ByURL (must be in AutoIn database), ByName (must be in AutoIn database), ByNickname, Random (from AutoIn database)]
  145. # Groups:
  146. #
  147. # # If premium player don't have any skin
  148. # PREMIUM:
  149. # # You must also enable DefaultSkin.Enabled to make this works.
  150. # Enabled: true
  151. #
  152. # # Skin will be downloaded by UUID
  153. # ByUUID: f1bc7265-5e60-48c4-ba69-e7d268f3b1e9
  154. #
  155. # ERROR:
  156. # Enabled: true
  157. #
  158. # # URL must be in AutoIn database
  159. # ByURL: http://textures.minecraft.net/texture/a562d0f0198ffac9e8a82e49c2c8c9a74fcd4a64672d8f88a76d0741fa440
  160. #
  161. # EXCEPTION:
  162. # Enabled: true
  163. #
  164. # # skin with this name must be in AutoIn database
  165. # ByName: name
  166. #
  167. # CRACKED:
  168. # Enabled: true
  169. #
  170. # # AutoIn will use random skin from database
  171. # Random: true
  172. #
  173. # # This same player will always use this same skin, if you change this to false, then he will get other skin on every join
  174. # SaveRandom: true
  175.  
  176. Sessions:
  177.  
  178. # If enabled, plugin will remember premium players with their IP number, when servers will be down, premium players can be still auto-logged if IP will be valid.
  179. Enabled: true
  180.  
  181. # If true, then players with valid session can join even if mojang server are down and without using password. PS: You can enable this and ServerProtect, then registered players OR players with valid session can join.
  182. AsServerProtect: false
  183.  
  184. # time in easy format, 1w = 1 week, 1d = 1 day, 1d5h12s -> 1 day, 5 hours, 12 seconds
  185. Expires: 1h
  186.  
  187. # If true sessions aren't saved on reload.
  188. ExpiresOnRestart: true
  189.  
  190. Protections:
  191.  
  192. # If enabled, when new cracked player join to game he will get special protection "flag", that work like exception-player. so even if someone buy premium account with this same nickname, he will be still tract as cracked player.
  193. CrackedPlayersNicknames:
  194.  
  195. # If player will buy premium, he must disable protection using "IamNowPremium" command, or admin must disable it manually, using API or /setProtection command.
  196. Enabled: true
  197.  
  198. # If disabled, player must use "ProtectMe" command, or protection must be enabled manually, using API or /setProtection command
  199. AutoProtect: true
  200.  
  201. # # ===================================================================================
  202. # # -> NOT IMPLEMENTED YET <- Options below that comment are -> NOT IMPLEMENTED YET <-
  203. # # ===================================================================================
  204. # # TODO: Implement.
  205. #
  206. # PremiumPlayersUUIDs: # If enabled and you have also enabled "FixedUUID", then when premium player change nickname, he will still have old UUID, and old nickname will be banned. (becouse someone will have this same UUID as premium player)
  207. # Enabled: true #
  208. # Ban: true # If you disable that, then old nickname will not get ban, so if someone use old nickname he will have this same UUID as premium player. (It's not good, but you can then try option below)
  209. # GenerateNewUUID: false # If enabled, OLD nickname will be saved to special database, and if someone will use that nickname, then he will get other UUID.
  210. #
  211. # PremiumPlayersUUIDsConvert: # If you are more advanced, you can enable "PremiumPlayersUUIDsConvert" option instead of PremiumPlayersUUIDs.
  212. # # This option allow you to run command (to server console, and to system, like running .sh scripts), if you enable it, you MUST use it to convert all data from old UUID to new UUID, so premium player will get new UUID to new nickname.
  213. # Enabled: true
  214. # CommandLine: # NATIVE -> command that will be sent to system. # GAME -> command that will be sent to minecraft server.
  215. # # You can use 4 variables here: {oldNickname}, {newNickname}, {oldUUID}, {newUUID}
  216. # - "NATIVE -> ..."
  217. # - "GAME -> ..."
  218. #
  219. # Bots: # Bot protection, it's implemented (not yet!) in special module, so you need enable that to start collecting data needed to use it.
  220. # Enabled: true # when enabled it's starting collection some data (if option below is disabled) Collected data: time of play, destroyed blocks, placed blocks
  221. # UseStats: false # If enabled, plugin will try use minecraft statistic system to get data. (Don't work on older versions of MC)
  222. # MaxNewPlayersPer10Seconds: 5 # Max new player per 10 seconds.
  223. # NotNewWhen:
  224. # PlayTime: 10m # player must play longer than 10 mins to be mark as "old", if not using stats, only time when logged-in using Auth plugin is counted (Not work with xAuth, because of bad API).
  225. # DestroyedBlocks: 10 # And dig 10 blocks.
  226. # PlacedBlocks: 5 # And place 5 blocks.
  227. # # ===================================================================================
  228. # # -> NOT IMPLEMENTED YET <- Options above that comment are -> NOT IMPLEMENTED YET <-
  229. # # ===================================================================================
  230.  
  231. ServerProtect:
  232. # If enabled and mojang server don't work, only registered players can join (So you must set "Registration" to true). If disabled, all players will be kicked.
  233. Enabled: true
  234.  
  235. # If enabled plugin will remember if username was premium. (It's saved to database/file) NOTE: Enable that if you have bigger server, like 100/200+ players online.
  236. Cache: true
  237.  
  238. # Server
  239. # ignored by proxy plugin.
  240. Server:
  241. # It will try check if cache is updated before player join.
  242. UpdateCacheOnPreJoin: false
  243.  
  244. # It will try check if cache is updated after player join.
  245. UpdateCacheOnJoin: true
  246.  
  247.  
  248. # Proxy
  249. # ignored by server
  250. Proxy:
  251. # If true Players needs to be logged in to use commands
  252. NeedLoginToUseCommands: false
  253.  
  254. # Only player connected to servers from this list need login to use commands.
  255. # Server must contains auth plugin.
  256. NeedLoginToUseCommandsServerList:
  257. - authServer
  258.  
  259. # Player can use this commands
  260. NotBlocked:
  261. - '/login'
  262. - '/register'
  263. - '/l'
  264.  
  265. # players from selected group can be send to other servers. This override Proxy/BungeeCord setting!
  266. ForcedServers:
  267. PREMIUM:
  268. Enabled: false
  269.  
  270. # works like "default_server" from bungee
  271. Server: "PremiumServer"
  272.  
  273. # works like "force_default_server" from bungee
  274. Force: false
  275.  
  276. # works like "forced_hosts" from bungee -> this override "Force" option
  277. ForcedHosts:
  278. 'eg<dot>gotofinal<dot>some<dot>network<dot>host<dot>net': "CrackedServer"
  279.  
  280. # like "fallback_server" from bungee
  281. Fallback: "FallbackServer"
  282. CRACKED:
  283. Enabled: false
  284. Server: "CrackedServer"
  285. Force: false
  286. EXCEPTION:
  287. Enabled: false
  288.  
  289. # Players with Exception status will use this same settings as Cracked players.
  290. Parent: CRACKED
  291.  
  292. # but you can add options to override them from parent.
  293. Force: true
  294. ERROR:
  295. Enabled: false
  296. Server: "ErrorServer"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement