Skocz do zawartości
  • 1

Autoin autologowanie premium i authme nonpremium logowanie


Nieaktywny
 Udostępnij

Pytanie

Witam,

Jak połączyć autoin i authme w najnowszych wersjach?

Spoiler

# Auto-In 3.0 by GoToFinal! Now with bungee and potatos!
# Plugin website: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!
# Issues/bugs, ideas, wiki, api on github: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!
# |
# You like this plugin? You can support me by donate: (USD) Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!
# More donate links in PLN, GBP or EUR you can find here: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!
# You can find my other plugins here: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!
# I also creating plugins "for request" ($), Skype: gotofinal, e-mail: [email protected]
# |
# If you want use this plugin with bungee vist wiki: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!
# Don't change options if you don't understand them -> ask.
# Note: proxy = BungeeCord (or other supported proxy server), Server = Bukkit/Cauldron/Forge/Spigot server.

# If you want use this plugin with proxy server (BungeeCord) see: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!
Sockets:
- TYPE: LISTENER
  Enabled: false
  Host: localhost
  Port: 22644
  ServerName: serverOne
  Required: true

- TYPE: HANDLER
  Enabled: false
  Host: localhost
  Port: 22644

# OPTIONS


Options:
  ConfigurationVersion_DO_NOT_CHANGE_THIS: 7

  # 0 -> unlimited/as needed.
  NettyThreads: 0

  # 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.
  UseChannels: false

  # Time in ms between trying connect LISTENER to HANLDER socket, on linux using smaller times can cause some weird problems.
  ReTryConnectSocketTime: 1000

  # where AutoIn should store exceptions, enabled login, whitelists, cache and other player settings.
  SaveData:
    Type: MySQL
    MySQL:
      Host: mysql.***
      Port: 3306
      User: ***
      Pass: ***
      Database: ***
      Prefix: "GT_"
    SQLite:
      File: "AutoIn_PlayerOptions.db"

# Both

  # 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: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!
  Both:

    Dependencies:

      # 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)
      ForceDisable:
        ProtocolLib: true
        Skript: false
        AuthMe: true
        LogIt: false
        XAuth: false
        LoginSecurity: false

    Listeners:

       # 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!
      GetFromModule: true
      PlayerLoginEvent: LOWEST
      PlayerJoinEvent: LOWEST
      PlayerQuitEvent: MONITOR

    Players:

      # no more /login commands for premium users! Enable only on servers where you have auth plugin!
      AutoLogin: true

      # if true, then even premium players needs to register. PS: You can make registration optional, see wiki: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!
      Registration: true

      # if true autoin will try fix skins, you can disable that if you want use other plugin. (some plugins may still not work)
      FixSkins: true

      # 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)
      NegateExceptions: true

      # 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!
      AllowNewCrackedPlayers: true

      # if true, then everyone have UUID generated from nickname
      FixedUUID: true

      # WhiteList that works only on cracked players, black-list works even if this is disabled.
      CrackedWhiteListEnabled: false

      # ignore this -> TODO: Dodać możliwość ustawienia domyślnego skina dla danej grupy (Może nie działać na niektórych wersjach)

      ForceLogin:

        # Allow use RegEx in nicknames list, like 'Test\\d{1,3}'
        UseRegEx: false

        # Nicknames from this list don't need use login or register command, use to supprot mods like buildcraft and others
        Nicknames:
        - SomeNicknameThatDoNotNeedUseLoginOrRegisterCommandEvenIfHeDoNotHavePremium

# # Not implemented yet
#     Skins:
#
#       # AutoIn will download and save skin of every player that will join to server
#       CacheOnJoin: true
#
#       # Where AutoIn should save all skin data
#       SaveData:
#         Type: SQLite
#
#         # Skins can use other MySQL database than rest of plugin, to allow use one database by multiple networks
#         MySQL:
#
#           # If true, skins will use this same database as rest of plugin, so you don't need configure data below
#           UseMain: true
#
#           Host: localhost
#           Port: 3306
#           User: root
#           Pass: root
#           Database: database
#           Prefix: "GT_"
#
#         SQLite:
#           # DO NOT use this same name as in main database
#           File: "AutoIn_SkinsOptions.db"
#
#        # allow set default skin for player
#        DefaultSkin:
#          Enabled: false
#            # Skin can be get by [ByUUID, ByURL (must be in AutoIn database), ByName (must be in AutoIn database), ByNickname, Random (from AutoIn database)]
#            Groups:
#
#              # If premium player don't have any skin
#              PREMIUM:
#                # You must also enable DefaultSkin.Enabled to make this works.
#                Enabled: true
#
#                # Skin will be downloaded by UUID
#                ByUUID: f1bc7265-5e60-48c4-ba69-e7d268f3b1e9
#
#              ERROR:
#                Enabled: true
#
#                # URL must be in AutoIn database
#                ByURL: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!
#
#              EXCEPTION:
#                Enabled: true
#
#                # skin with this name must be in AutoIn database
#                ByName: name
#
#              CRACKED:
#                Enabled: true
#
#                # AutoIn will use random skin from database
#                Random: true
#
#                # This same player will always use this same skin, if you change this to false, then he will get other skin on every join
#                SaveRandom: true

      Sessions:

        # 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.
        Enabled: false

        # 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.
        AsServerProtect: false

        # time in easy format, 1w = 1 week, 1d = 1 day, 1d5h12s -> 1 day, 5 hours, 12 seconds
        Expires: 1h

        # If true sessions aren't saved on reload.
        ExpiresOnRestart: true

      Protections:

        # 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.
        CrackedPlayersNicknames:

          # If player will buy premium, he must disable protection using "IamNowPremium" command, or admin must disable it manually, using API or /setProtection command.
          Enabled: true

          # If disabled, player must use "ProtectMe" command, or protection must be enabled manually, using API or /setProtection command
          AutoProtect: true

 #       # ===================================================================================
 #       # -> NOT IMPLEMENTED YET <-  Options below that comment are -> NOT IMPLEMENTED YET <-
 #       # ===================================================================================
 #       # TODO: Implement.
 #
 #       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)
 #         Enabled: true #
 #         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)
 #         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.
 #
 #       PremiumPlayersUUIDsConvert: # If you are more advanced, you can enable "PremiumPlayersUUIDsConvert" option instead of PremiumPlayersUUIDs.
 #       # 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.
 #         Enabled: true
 #         CommandLine: # NATIVE -> command that will be sent to system. # GAME -> command that will be sent to minecraft server.
 #         # You can use 4 variables here: {oldNickname}, {newNickname}, {oldUUID}, {newUUID}
 #         - "NATIVE -> ..."
 #         - "GAME -> ..."
 #
 #       Bots: # Bot protection, it's implemented (not yet!) in special module, so you need enable that to start collecting data needed to use it.
 #         Enabled: true # when enabled it's starting collection some data (if option below is disabled) Collected data: time of play, destroyed blocks, placed blocks
 #         UseStats: false # If enabled, plugin will try use minecraft statistic system to get data. (Don't work on older versions of MC)
 #         MaxNewPlayersPer10Seconds: 5 # Max new player per 10 seconds.
 #         NotNewWhen:
 #           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).
 #           DestroyedBlocks: 10 # And dig 10 blocks.
 #           PlacedBlocks: 5 # And place 5 blocks.
 #       # ===================================================================================
 #       # -> NOT IMPLEMENTED YET <-  Options above that comment are -> NOT IMPLEMENTED YET <-
 #       # ===================================================================================

    ServerProtect:
      # 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.
      Enabled: true

    # 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.
    Cache: true

# Server
  # ignored by proxy plugin.
  Server:
    # It will try check if cache is updated before player join.
    UpdateCacheOnPreJoin: false

    # It will try check if cache is updated after player join.
    UpdateCacheOnJoin: true


# Proxy
  # ignored by server
  Proxy:
    # If true Players needs to be logged in to use commands
    NeedLoginToUseCommands: false

    # Only player connected to servers from this list need login to use commands.
    # Server must contains auth plugin.
    NeedLoginToUseCommandsServerList:
    - authServer

    # Player can use this commands
    NotBlocked:
    - '/login'
    - '/register'
    - '/l'

    # players from selected group can be send to other servers. This override Proxy/BungeeCord setting!
    ForcedServers:
      PREMIUM:
        Enabled: false

        # works like "default_server" from bungee
        Server: "PremiumServer"

        # works like "force_default_server" from bungee
        Force: false

        # works like "forced_hosts" from bungee -> this override "Force" option
        ForcedHosts:
          'eg<dot>gotofinal<dot>some<dot>network<dot>host<dot>net': "CrackedServer"

        # like "fallback_server" from bungee
        Fallback: "FallbackServer"
      CRACKED:
        Enabled: false
        Server: "CrackedServer"
        Force: false
      EXCEPTION:
        Enabled: false

        # Players with Exception status will use this same settings as Cracked players.
        Parent: CRACKED

        # but you can add options to override them from parent.
        Force: true
      ERROR:
        Enabled: false
        Server: "ErrorServer"

Nie ogarniam wgl tej nowej konfiguracji i nie wiem jak mam ustawić aby automatyczne logowało graczy premium a nonpremium logowało normalnie.

Edytowane przez Nieaktywny
Odnośnik do komentarza
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

AutoIn nie jest juz wspierane, zerknij na plugin FastLogin oferuje to samo co autoin

 

EDIT: i nauczcie się czytać xD

      # 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)
      ForceDisable:
        ProtocolLib: true
        Skript: false
        AuthMe: true
        LogIt: false
        XAuth: false
        LoginSecurity: false

pisze że zmiana na true oznacza zignorowanie pluginu a i tak ludzie ustawiają xD

Edytowane przez GotoFinal
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
15 godzin temu, GotoFinal napisał:

AutoIn nie jest juz wspierane, zerknij na plugin FastLogin oferuje to samo co autoin

 

EDIT: i nauczcie się czytać xD


      # 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)
      ForceDisable:
        ProtocolLib: true
        Skript: false
        AuthMe: true
        LogIt: false
        XAuth: false
        LoginSecurity: false

pisze że zmiana na true oznacza zignorowanie pluginu a i tak ludzie ustawiają xD

Nigdzie nie było konfigu tego to nie wiem jak to ustawić, a filmu na yt nie ma z konfiguracją tego pluginu. :( , spróbuje ten fastlogin.

 

A jak skonfigurować ten fastlogin i authme? 

Edytowane przez Nieaktywny
Nie wiem jak skonfigurować fastlogin i authme
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
Dnia 2017-08-16 o 21:05, IDaily Gaming napisał:

Nigdzie nie było konfigu tego to nie wiem jak to ustawić, a filmu na yt nie ma z konfiguracją tego pluginu. :( , spróbuje ten fastlogin.

 

A jak skonfigurować ten fastlogin i authme? 

 

Jakie konfigu O_o Plik konfiguracyjny generuje się przy pierwszym uruchomieniu pluginu. Następnie otwierasz plik konfiguracyjny i konfigurujesz. Przecież każdą opcję masz dokładnie opisaną...

Zobacz FastLogin, on się sam łączy z AuthMe. AutoIn już od dawna nie jest wspierane.

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...