Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Pytanie] AuthMe, a rejestracja na stronie dla graczy no-premium.


Rekomendowane odpowiedzi

Opublikowano

Czy jest możliwe ustawić authme (plugin) tak, aby premium rejestrowało się normalnie w minecraftcie, ale blokowało rejestracje dla nopremium, jednak jeśli są w bazie danych, to dawało im możliwość rejestracji?

Opublikowano

Możesz to zrobić za pomoca pluginu AutoIn, musisz ustawić w AutoIn "AllowNewCrackedPlayers" na false, i wtedy moga wejść tylko gracze cracked którzy są zarejestrowani, premium może wchodzić normalnie, więc jak skonfigurujesz AuthMe i swoją stronę, by uzywało jednej bazy danych, powinno zadziałać :P

1438614356923701010629.png

 

Opublikowano

Ale mam dalsze pytanie: nie mam opcji AllowNewCrackedPlayers. Plik config wygląda tak:
 

# Welcome in configuration file of my plugin! :>
#   If you have any questions read/ask here: http://www.spigotmc.org/threads/auto-in.19040/
# You like this plugin? You can donate me! So I can buy more pizza and change it to code!
# |
# Try my other plugin: http://www.spigotmc.org/resources/buffshop.1977/ for advanced GUI shops with timed buffs and more!
Enabled: true
AutoLogin: true
ProtocolLib: true
FixedUUID: false
SkriptAPI: true
OnlineModeFix: true
MustRegister: true
ServersDown_Protect: true
ServersDown_IPCache: false
LogItForceFix: true
TryNumbers:
- 1
- 1
- 1
- 1
- 0
- 0
OfflineWhiteListEnabled: false
SwitchMode: false
Exceptions:
- BukkitSmerf
EnabledLogin:
- BukkitSmerf
Lists:
  StupidNoob2Pro4u: BLACK_LISTED
  BukkitSmerf: WHITE_LISTED
Messages:
  AutoLogin: |-
    &aYou have a premium account!
        &aPremium players don't need to use any login commands! 
  NoAutoLogin: ''
  ForceRegister: |-
    &cPlease use the /register command and remember your password!
        &cYou don't need to use it, but sometimes the auth server can be broken, and then you must use the /login command or wait for someone from Mojang to fix their servers!
  ServersDownProtect: '&cWe can''t check if you''re really premium, please use your
    password!'
  ServersDownIPCached: |-
    &aWe can't check if you're really premium, but last time you were, and you have the same IP!
        &aSo you don't need to use the /login command 
  ServersDownProtectNewPlayer: |-
    &4Mojang servers are down, we can't allow new players to join!
    &aPlease try again later !
  SwitchModeKick: '&4Sorry, we are online-mode now! Only old cracked players can join.
    &aPlease buy Minecraft if you want to play here!'
  SwitchModeJoin: '&cWe are online-mode now! Only old cracked players (like you) can
    join, please buy Minecraft if you want play on this server.'
  PluginNotLoaded: |-
    &4Server isn't enabled yet!
    Try again in 5 seconds!
PlayerLoginEvent: LOWEST
PlayerJoinEvent: LOWEST
PlayerQuitEvent: MONITOR

Jest tu opcja pokazania wiadomości w takim wypadku: SwitchModeKick: '&4Sorry, we are online-mode now! Only old cracked players can join.

&aPlease buy Minecraft if you want to play here!'
SwitchModeJoin: '&cWe are online-mode now! Only old cracked players (like you) can
join, please buy Minecraft if you want play on this server.'
Ale jak weszłem kontem no premium dalej kazało mi się rejestrować


@Edit

Dobra już mam :D: SwitchMode: false na true trzeba zmienić :D

Opublikowano

Nie polecam pluginu Auto-In.

jakiś powód? czy tak sobie nie polecasz, bo nie?

 

 

Ale mam dalsze pytanie: nie mam opcji AllowNewCrackedPlayers. Plik config wygląda tak:

 

# Welcome in configuration file of my plugin! :>
#   If you have any questions read/ask here: http://www.spigotmc.org/threads/auto-in.19040/
# You like this plugin? You can donate me! So I can buy more pizza and change it to code!
# |
# Try my other plugin: http://www.spigotmc.org/resources/buffshop.1977/ for advanced GUI shops with timed buffs and more!
Enabled: true
AutoLogin: true
ProtocolLib: true
FixedUUID: false
SkriptAPI: true
OnlineModeFix: true
MustRegister: true
ServersDown_Protect: true
ServersDown_IPCache: false
LogItForceFix: true
TryNumbers:
- 1
- 1
- 1
- 1
- 0
- 0
OfflineWhiteListEnabled: false
SwitchMode: false
Exceptions:
- BukkitSmerf
EnabledLogin:
- BukkitSmerf
Lists:
  StupidNoob2Pro4u: BLACK_LISTED
  BukkitSmerf: WHITE_LISTED
Messages:
  AutoLogin: |-
    &aYou have a premium account!
        &aPremium players don't need to use any login commands! 
  NoAutoLogin: ''
  ForceRegister: |-
    &cPlease use the /register command and remember your password!
        &cYou don't need to use it, but sometimes the auth server can be broken, and then you must use the /login command or wait for someone from Mojang to fix their servers!
  ServersDownProtect: '&cWe can''t check if you''re really premium, please use your
    password!'
  ServersDownIPCached: |-
    &aWe can't check if you're really premium, but last time you were, and you have the same IP!
        &aSo you don't need to use the /login command 
  ServersDownProtectNewPlayer: |-
    &4Mojang servers are down, we can't allow new players to join!
    &aPlease try again later !
  SwitchModeKick: '&4Sorry, we are online-mode now! Only old cracked players can join.
    &aPlease buy Minecraft if you want to play here!'
  SwitchModeJoin: '&cWe are online-mode now! Only old cracked players (like you) can
    join, please buy Minecraft if you want play on this server.'
  PluginNotLoaded: |-
    &4Server isn't enabled yet!
    Try again in 5 seconds!
PlayerLoginEvent: LOWEST
PlayerJoinEvent: LOWEST
PlayerQuitEvent: MONITOR

Jest tu opcja pokazania wiadomości w takim wypadku: SwitchModeKick: '&4Sorry, we are online-mode now! Only old cracked players can join.

&aPlease buy Minecraft if you want to play here!'

SwitchModeJoin: '&cWe are online-mode now! Only old cracked players (like you) can

join, please buy Minecraft if you want play on this server.'

Ale jak weszłem kontem no premium dalej kazało mi się rejestrować

 

 

@Edit

 

Dobra już mam :D: SwitchMode: false na true trzeba zmienić :D

zaktualizuj plugin... ta wersja co masz jest dziurawa jak sitko, skąd ty ją masz...

Tu jest aktualna:

http://www.spigotmc.org/resources/auto-in.578/

 

W tej co masz da sie nawet konta kraść.

1438614356923701010629.png

 

Opublikowano

Wypuściłeś wersję, w której można było kraść konta? :)

 

Są dużo lepsze pluginy na logowanie premium. ;)

Umiesz czytać ze zrozumieniem?

Gościu ma wgrana wersje jeszcze wypuszczona przez Karoline.

Tamta wersja była tak podziurawiona.

 

Ta aktualna jest całkowicie prawie przerobiona, odbugowana.

NIe wypuścił wersji, w której można była kraść konta.

Opublikowano

Wypuściłeś wersję, w której można było kraść konta? :)

 

Są dużo lepsze pluginy na logowanie premium. ;)

Nie wypuściłem, usunąłem, bo nie były stworzone przeze-mnie...

Ja rozwijam tylko te nowsze wersje, i nie znasz żadnych innych sensownych pluginów, same płatne szity na spigocie, z takimi samymi lukami co miał AutoIn 2.X lub nawet lepszymi.

 

Proponuje podać te lepsze, razem z wyjaśnieniem, czemu są lepsze ;)

1438614356923701010629.png

 

Opublikowano

Ściągnąłem tą wersję, ale teraz w ogóle, tak jakby nie widział authme :/

Niby jest, ale nie loguje mnie automatycznie, a jak weszłem kontem no premium, to nie kickneło :/

Może coś jest nie kompatybilne, możecie podać linki kompatybilnych ze sobą authme i autoin dla 1.7.2
 

# Auto-In 3.0 by GoToFinal! Now with bungee and potatos!
# Plugin website: http://www.spigotmc.org/resources/auto-in.578/
# Issues/bugs, ideas, wiki, api on github: https://github.com/GotoFinal/AutoIn
# |
# 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
# More donate links in PLN, GBP or EUR you can find here: http://www.spigotmc.org/resources/auto-in.578/
# You can find my other plugins here: http://www.spigotmc.org/resources/authors/gotofinal.31682/
# I also creating plugins "for request" ($), Skype: gotofinal, e-mail: [email protected]
# |
# If you want use this plugin with bungee vist wiki: https://github.com/GotoFinal/AutoIn/wiki/Bungee-Cord
# 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.

Sockets:  # If you want use this plugin with proxy server (BungeeCord) see: https://github.com/GotoFinal/AutoIn/wiki/Sockets
  - Enabled: false
    Required: true
    Port: 22644
    Host: localhost
    ServerName: serverOne
    TYPE: LISTENER
  - Enabled: false
    Port: 22644
    Host: localhost
    TYPE: HANDLER

# Options

Options:  # options that can be used by proxy and server plugin.
  ConfigurationVersion_DO_NOT_CHANGE_THIS: 4
  NettyThreads: 0 # 0 -> unlimited/as needed.
  UseChannels: false # 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.
  ReTryConnectSocketTime: 250 # Time in ms between trying connect LISTENER to HANLDER socket, on linux using smaller times can cause some weird problems.
  SaveData:  # where AutoIn should store exceptions, enabled login, whitelists, cache and other player settings.
    Type: SQLite
    MySQL: 
      Host: localhost
      Port: 3306
      User: root
      Pass: root
      Database: database
      Prefix: GT_
    SQLite: 
      File: AutoIn_PlayerOptions.db

# Both

  Both: 

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

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

    Players: 
      AutoLogin: true # no more /login commands for premium users! Enable only on servers where you have auth plugin!
      NegateExceptions: false # 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)
      Registration: true # if true, then even premium players needs to register. PS: You can make registration optional, see wiki: https://github.com/GotoFinal/AutoIn/wiki/Registration
      AllowNewCrackedPlayers: false # 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!
      FixedUUID: false # if true, then everyone have UUID generated from nickname
      CrackedWhiteListEnabled: false # WhiteList that works only on cracked players, black-list works even if this is disabled.

      ForceLogin: 
        UseRegEx: false # Allow use RegEx in nicknames list, like 'Test\\d{1,3}'
        Nicknames:  # Nicknames from this list don't need use login or register command, use to supprot mods like buildcraft and others
          - SomeNicknameThatDoNotNeedUseLoginOrRegisterCommandEvenIfHeDoNotHavePremium

      Sessions: 
        Enabled: true # 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.
        AsServerProtect: 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.
        Expires: 1d # time in easy format, 1w = 1 week, 1d = 1 day, 1d5h12s -> 1 day, 5 hours, 12 seconds
        ExpiresOnRestart: true # If true sessions aren't saved on reload.

      Protections: 
        CrackedPlayersNicknames:  # 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.
          # 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
          AutoProtect: true # If disabled, player must use "ProtectMe" command, or protection must be enabled manually, using API or /setProtection command



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

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

# Server

  Server:  # ignored by proxy plugin

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


# Proxy

  Proxy:  # ignored by server
    NeedLoginToUseCommands: true # Players needs to be logged in to use commands
    NotBlocked:  # Player can use this commands
      - /login
      - /register
      - /l
    ForcedServers:  # players from selected group can be send to other servers. This override Proxy/BungeeCord setting!
      PREMIUM: 
        Enabled: false
        Server: PremiumServer # works like "default_server" from bungee
        Force: false # works like "force_default_server" from bungee
        ForcedHosts:  # works like "forced_hosts" from bungee -> this override "Force" option
          eg: nul.goto. ...\\.. .final..IIlIlIIlIl@15d9e71
        Fallback: FallbackServer # like "fallback_server" from bungee
      CRACKED: 
        Enabled: false
        Server: CrackedServer # works like "default_server" from bungee
        Force: false # works like "force_default_server" from bungee
        Fallback: FallbackServer # like "fallback_server" from bungee
      EXCEPTION: 
        Enabled: false
        Server: PremiumServer # works like "default_server" from bungee
        Force: true # works like "force_default_server" from bungee
        Fallback: FallbackServer # like "fallback_server" from bungee
        Parent: CRACKED # This status will use this same settings as parent status, but you can override that settings by adding them here.
      ERROR: 
        Enabled: false
        Server: ErrorServer # works like "default_server" from bungee
        Force: false # works like "force_default_server" from bungee
        Fallback: FallbackServer # like "fallback_server" from bungee

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...