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

[Problem] Auti-In 2.0, Log-it, Spigot


Rekomendowane odpowiedzi

Opublikowano

Witam,

Posiadam plugin ati-in i od nowej aktualizacji nie umiem tego skonfigurować

Config Auto-IN

# 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: MySQL
    MySQL: 
      Host: mysql.csrv.pl
      Port: 3306
      User: cs**_******
      Pass: ***************************
      Database: cs*!_******
      Prefix: GT_AutoIN
    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: true
        Skript: false
        AuthMe: false
        LogIt: true
        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: 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!
      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@3b409c5
        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

 
Log-it
# # # # # # # # # # # # # # # #
#  LogIt Configuration File   #
# # # # # # # # # # # # # # # #

locale: pl
logging:
  file:
    enabled: false
    filename: debug.log
    level: 0
  verbose-console: false
force-login:
  global: true
  in-worlds: []
  allowed-commands: []
  timeout:
    enabled: true
    value: 20sec
    disable-for-players: []
  prevent:
    move: true
    toggle-sneak: true
    block-place: true
    block-break: true
    damage-in: true
    damage-out: true
    regain-health: true
    food-level-change: true
    entity-target: true
    chat: true
    command-preprocess: true
    pickup-item: true
    drop-item: true
    interact: true
    interact-entity: true
    inventory-click: true
    air-depletion: true
  prompt:
    register: true
    login: true
    min-interval: 2sec
  periodical-prompt:
    enabled: true
    period: 10sec
  prompt-on:
    join: true
    drop-item: true
    block-place: true
    block-break: true
    interact: true
    interact-entity: true
  obfuscate-bars:
    air: false
    health: false
    experience: false
    hunger: false
  exempt-players: []
login-sessions:
  enabled: true
  validness-time: 1days
messages:
  join:
    hide: false
    show-world: false
  multiverse-hook: true
  quit:
    hide: false
username:
  regex: '[A-Za-z0-9_]+'
  min-length: 2
  max-length: 16
  prohibited-usernames: []
password:
  min-length: 4
  max-length: 40
  hashing-algorithm: sha-256
  use-global-hashing-algorithm: false
  use-salt: true
  global-password:
    hash: ''
    salt: ''
  disable-passwords: false
crowd-control:
  login-fails-to-kick: -1
  login-fails-to-ban: -1
  kick-unregistered: false
  automatic-account-deletion:
    enabled: false
    inactivity-time: 365days
  accounts-per-ip:
    amount: 2
    unrestricted-ips: []
  reserve-slots:
    amount: 0
    for-players: []
password-recovery:
  enabled: false
  subject: Password recovery for %player%
  body-template: mail/password-recovery.html
  html-enabled: true
  password-length: 6
  password-combination: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
  prompt-to-add-email: true
mail:
  email-address: ''
  smtp-host: ''
  smtp-port: 465
  smtp-user: ''
  smtp-password: ''
waiting-room:
  enabled: true
  location:
    ==: Location
    world: Easy
    x: 0.5540659725293735
    y: 68.0
    z: 0.49426879631573684
    yaw: -277.76514
    pitch: 88.200005
  newbie-teleport:
    enabled: false
    location:
      ==: Location
      world: world
      x: 0.0
      y: 0.0
      z: 0.0
      yaw: 0.0
      pitch: 0.0
groups:
  enabled: false
  registered: Registered
  unregistered: Unregistered
  logged-in: LoggedIn
  logged-out: LoggedOut
integration: none
profiles:
  enabled: false
  path: profiles
storage:
  accounts:
    leading:
      storage-type: mysql
      csv:
        dir: ./
      sqlite:
        filename: accounts.db
      h2:
        filename: accounts
      mysql:
        host: jdbc:mysql://mysql.csrv.pl:3306/
        user: csrv*******
        password: *********************
        database: csrv*******
      postgresql:
        host: jdbc:postgresql://localhost:5432/database
        user: postgres
        password: ''
      unit: logit
      cache: disabled
    mirror:
      storage-type: none
      csv:
        dir: ./
      sqlite:
        filename: accounts2.db
      h2:
        filename: accounts2
      mysql:
        host: jdbc:mysql://localhost:3306/
        user: root
        password: ''
        database: ''
      postgresql:
        host: jdbc:postgresql://localhost:5432/database
        user: postgres
        password: ''
      unit: logit2
    keys:
      username: username
      salt: salt
      password: password
      hashing_algorithm: hashing_algorithm
      ip: ip
      login_session: login_session
      email: email
      last_active_date: last_active_date
      reg_date: reg_date
      is_locked: is_locked
      persistence: persistence
  sessions:
    filename: sessions.db
backup:
  path: backup
  filename-format: yyyy-MM-dd_HH-mm-ss'.db'
  schedule:
    enabled: true
    interval: 3600min

i spigot.yml
# This is the main configuration file for Spigot.
# As you can see, there's tons to configure. Some options may impact gameplay, so use
# with caution, and make sure you know what each option does before configuring.
# For a reference for any variable inside this file, check out the Spigot wiki at
# http://www.spigotmc.org/wiki/spigot-configuration/
# 
# If you need help with the configuration or have any questions related to Spigot,
# join us at the IRC or drop by our forums and leave a post.
# 
# IRC: #spigot @ irc.esper.net ( http://webchat.esper.net/?channel=spigot )
# Forums: http://www.spigotmc.org/forum/

config-version: 6
commands:
  replace-commands:
  - setblock
  - summon
  - testforblock
  - tellraw
  log: true
  spam-exclusions:
  - /skill
  tab-complete: 0
  silent-commandblock-console: false
settings:
  bungeecord: false
  sample-count: 12
  player-shuffle: 0
  filter-creative-items: true
  int-cache-limit: 1024
  timeout-time: 6048000
  restart-on-crash: false
  restart-script: ./start.sh
  netty-threads: 4
  save-user-cache-on-stop-only: false
  late-bind: false
  user-cache-size: 1000
messages:
  restart: Restart serwera
  whitelist: Prace technicze! Zapraszamy za jakiś czas!
  unknown-command: Brak komendy.
  server-full: Serwer full!
  outdated-client: Stary kilijent gry {}
  outdated-server: Zla wersjia gry {0}
stats:
  disable-saving: false
  forced-stats: {}
world-settings:
  default:
    verbose: true
    nerf-spawner-mobs: false
    growth:
      cactus-modifier: 100
      cane-modifier: 100
      melon-modifier: 100
      mushroom-modifier: 100
      pumpkin-modifier: 100
      sapling-modifier: 100
      wheat-modifier: 100
    mob-spawn-range: 4
    anti-xray:
      enabled: true
      engine-mode: 1
      hide-blocks:
      - 14
      - 15
      - 16
      - 21
      - 48
      - 49
      - 54
      - 56
      - 73
      - 74
      - 82
      - 129
      - 130
      replace-blocks:
      - 1
      - 5
    entity-activation-range:
      animals: 32
      monsters: 32
      misc: 16
    entity-tracking-range:
      players: 48
      animals: 48
      monsters: 48
      misc: 32
      other: 64
    hopper-alt-ticking: false
    ticks-per:
      hopper-transfer: 8
      hopper-check: 8
    hopper-amount: 1
    random-light-updates: false
    save-structure-info: true
    max-bulk-chunks: 5
    max-entity-collisions: 8
    dragon-death-sound-radius: 0
    seed-village: 10387312
    seed-feature: 14357617
    view-distance: 10
    chunks-per-tick: 650
    clear-tick-list: false
    merge-radius:
      exp: 3.0
      item: 2.5
    item-despawn-rate: 6000
    arrow-despawn-rate: 1200
    enable-zombie-pigmen-portal-spawns: true
    wither-spawn-sound-radius: 0
    zombie-aggressive-towards-villager: true

 
Online-mode mam na true

Plugin nie loguje auto premek.

Opublikowano

a więc wyłączyłeś wsparcie LogIt w konfiguracji AutoIn i się dziwisz że nie działa?

zmien w AutoIn w miejscu ForceDisable LogIt na false...

 

mGcCH4s.jpg

 

PS: brawo, zamazałeś tylko środek swojego hasła do MySQL, 

1438614356923701010629.png

 

Opublikowano

a więc wyłączyłeś wsparcie LogIt w konfiguracji AutoIn i się dziwisz że nie działa?

zmien w AutoIn w miejscu ForceDisable LogIt na false...

 

mGcCH4s.jpg

 

PS: brawo, zamazałeś tylko środek swojego hasła do MySQL,

Dobra coś mi się musiało pojebac i dałem tam na true. Co do hasła to już zmieniłem.
Opublikowano

Zmieniłem Log-it na false i teraz mam błąd że mam poczekać 5s/

Server isn't enabled yest! Try again in 5 sec

nie używasz bungee?

 

Wklej logi ze startu servera i aktualną konfiguarcje AutoIn.

1438614356923701010629.png

 

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...