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

[DL][Autorski] AutoIn 2.0 - wykrywanie i automatycznie logowanie premium i znacznie więcej! zaawansowane API + Skript


Karolina_666

Rekomendowane odpowiedzi

Opublikowano

Osoba która w życiu żadnego kodu nie widziała i ma znajomość angielskiego na poziomie obsługi lodówki zrozumie ten kod.

Oj, chyba nie znasz za dużo ludzi :D

Zaraz się znajdzie ktoś kto nie wie co robią te nawiasy () i |

Już nie takie głupie pytania dostawałam ;3

To już jest koniec smerfa:


http://www.mpcforum.pl/topic/1323530-info-znikam/


GG: 48522543


PS: Na innych forach i stronach znajdziesz mnie pod nickiem: 


BukkitSmerf

  • Odpowiedzi 289
  • Dodano
  • Ostatniej odpowiedzi
Opublikowano

Oj, chyba nie znasz za dużo ludzi :D

Zaraz się znajdzie ktoś kto nie wie co robią te nawiasy () i |

Już nie takie głupie pytania dostawałam ;3

Aaaa, bo my w Minecrafcie jesteśmy, wybacz.

Opublikowano

Wersja BETA!

 

Naprawiłam już chyba większość bugów + poprawiłam to co zrypał Mojang z OfflinePlayer-sami ;)

Do tego doszło już SkriptAPI, taka mała rozpiska możliwości:

 

 

#     %player% PremiumStatus is [not] equals to (PREMIUM|CRACKED|EXCEPTION|ERROR|NOT_LOGGED_IN)
#     %player% PremiumStatus is [not] (premium|exception|error|cracked|cracked Exact|Not Logged In|Vaild)
#     %offlinePlayer% AutoInWhiteListStatus is [not] equals to (BLACK_LISTED|WHITE_LISTED|UNKNOWN|PREMIUM)
#     %offlinePlayer% AutoInWhiteListStatus is [not] (Joinable|BlackListed|WhiteListed|Unknown|Premium)
#     %offlinePlayer% has [not] enabled login
#     %offlinePlayer% is [not] exception
#     add %offlinePlayer% to exceptions
#     remove %offlinePlayer% from exceptions
#     add %offlinePlayer% to enabled logins
#     remove %offlinePlayer% from enabled logins
#     set PremiumStatus of %player% to (PREMIUM|CRACKED|EXCEPTION|ERROR|NOT_LOGGED_IN)
#     set AutoInWhiteListStatus of %offlinePlayer% to (BLACK_LISTED|WHITE_LISTED|UNKNOWN)
#     remove AutoInWhiteListStatus of %offlinePlayer%
#     enable AutoIn whitelist
#     disable AutoIn whitelist
#     is AutoIn whitelist enabled
#     force login %player%
#     force register %offlinePlayer%
#     force logout %player%
#     is registered %player%
#     is logged in %player%
#     save AutoIn configuration file
#     reload AutoIn configuration file
#     on pre force login:
#     on force login: 

 

I dla bardziej ogarniętych... pełna rozpiska prosto z kodu: (uwaga, duże i skomplikowane :D)

 

 

============================================================
CONDITION
============================================================

%offlineplayers/strings% (is|are|has) enabled login
%offlineplayers/strings% (is not|isn't|are not|aren't|hasn't|has not) enabled login

%offlineplayers/strings% (is|are|has) exception
%offlineplayers/strings% (is not|isn't|are not|aren't|hasn't|has not) exception

%players% (is|are) logged in
%players% (is not|isn't|are not|aren't) logged in

(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is|are) premium
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is|are) exception
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is|are) error
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is|are) cracked
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is|are) cracked Exact
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is|are) Not Logged In
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is|are) Vaild
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is not|isn't|isnt|are not|aren't|arent) premium
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is not|isn't|isnt|are not|aren't|arent) exception
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is not|isn't|isnt|are not|aren't|arent) error
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is not|isn't|isnt|are not|aren't|arent) cracked
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is not|isn't|isnt|are not|aren't|arent) cracked Exact
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is not|isn't|isnt|are not|aren't|arent) Not Logged In
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is not|isn't|isnt|are not|aren't|arent) Vaild

(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is|are) equal(s|) to PREMIUM
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is|are) equal(s|) to CRACKED
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is|are) equal(s|) to EXCEPTION
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is|are) equal(s|) to ERROR
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is|are) equal(s|) to NOT_LOGGED_IN
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is not|isn't|isnt|are not|aren't|arent) equal(s|) to PREMIUM
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is not|isn't|isnt|are not|aren't|arent) equal(s|) to CRACKED
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is not|isn't|isnt|are not|aren't|arent) equal(s|) to EXCEPTION
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is not|isn't|isnt|are not|aren't|arent) equal(s|) to ERROR
(%players% (PremiumStatus|Premium Status)|(PremiumStatus|Premium Status) of %players%) (is not|isn't|isnt|are not|aren't|arent) equal(s|) to NOT_LOGGED_IN

%offlineplayers/strings% (is|are) registered
%offlineplayers/strings% (is not|isn't|are not|aren't) registered

(is AutoIn whitelist enabled|(isn't|is not) AutoIn whitelist disabled)
((is not|isn't) AutoIn whitelist enabled|is AutoIn whitelist disabled)

(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is|are) Joinable
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is|are) (BlackListed|Black Listed)
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is|are) (WhiteListed|White Listed)
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is|are) Unknown
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is|are) Premium
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is not|isn't|isnt|are not|aren't|arent) Joinable
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is not|isn't|isnt|are not|aren't|arent) (BlackListed|Black Listed)
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is not|isn't|isnt|are not|aren't|arent) (WhiteListed|White Listed)
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is not|isn't|isnt|are not|aren't|arent) Unknown
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is not|isn't|isnt|are not|aren't|arent) Premium

(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is|are) equal(s|) to BLACK_LISTED
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is|are) equal(s|) to WHITE_LISTED
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is|are) equal(s|) to UNKNOWN
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is|are) equal(s|) to PREMIUM
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is not|isn't|isnt|are not|aren't|arent) equal(s|) to BLACK_LISTED
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is not|isn't|isnt|are not|aren't|arent) equal(s|) to WHITE_LISTED
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is not|isn't|isnt|are not|aren't|arent) equal(s|) to UNKNOWN
(%offlineplayers/strings% (AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)|(AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%) (is not|isn't|isnt|are not|aren't|arent) equal(s|) to PREMIUM

============================================================
EFFECTS
============================================================

save AutoIn (config(|uration) file|config(|uration))
reload AutoIn (config(|uration) file|config(|uration))

(add %offlineplayers/strings% to enabled(|s)(| )login(s|)(| list)|mark (the|) %offlineplayers/strings% as enabled(|s)(| )login(s|)(| list))
(remove %offlineplayers/strings% from enabled(|s)(| )login(s|)(| list)|unmark (the|) %offlineplayers/strings% as enabled(|s)(| )login(s|)(| list))
switch %offlineplayers/strings% in enabled(|s)(| )login(s|)(| list)

(add %offlineplayers/strings% to exception(|s)(| list)|mark (the|) %offlineplayers/strings% as exception(|s)(| list))
(remove %offlineplayers/strings% from exception(|s)(| list)|unmark (the|) %offlineplayers/strings% as exception(|s)(| list))
switch %offlineplayers/strings% in exception(|s)(| list)

(force login %players%|%players% force login)

(force register %offlineplayers/strings%|%offlineplayers/strings% force register)

(force log( |)out %players%|%players% force log( |)out)

remove ((AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%|%offlineplayers/strings% (from |)(AutoInWhiteListStatus|AutoInWhiteList|AutoIn WhiteList|AutoIn White List))

set ((PremiumStatus|Premium Status) of %players%|%players% (PremiumStatus|Premium Status)) to PREMIUM
set ((PremiumStatus|Premium Status) of %players%|%players% (PremiumStatus|Premium Status)) to CRACKED
set ((PremiumStatus|Premium Status) of %players%|%players% (PremiumStatus|Premium Status)) to EXCEPTION
set ((PremiumStatus|Premium Status) of %players%|%players% (PremiumStatus|Premium Status)) to ERROR
set ((PremiumStatus|Premium Status) of %players%|%players% (PremiumStatus|Premium Status)) to NOT_LOGGED_IN

enable AutoIn whitelist
disable AutoIn whitelist
switch AutoIn whitelist

set ((AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%|%offlineplayers/strings% ((AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)) to BLACK_LISTED
set ((AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%|%offlineplayers/strings% ((AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)) to WHITE_LISTED
set ((AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%|%offlineplayers/strings% ((AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)) to UNKNOWN

============================================================
EVENTS
============================================================

force login
forced login

pre force login
pre forced login

 

Więc API jest raczej dobrze rozwinięte :)

 

Resztę opisu w łamanym angielskim znajdziecie tutaj:

 

 

 Update list for now (2014-10-05):

(prev: http://www.spigotmc.org/threads/auto-in.19040/page-6#post-349572 )

Changes (Green -> done, Yellow -> near done. will be done in next weekend or before test-version, Red -> waiting to next weekend, BLUE -> was in other version)

  • Better reflection system. (faster)
  • Support for 1.7.R4
  • Make code more 'modular' (much more, plugin was rewritten)
  • Make code even more modular -> Each supported Auth plugin have own class, and you can add more supported plugins using API
    • Support module for LogIt plugin.
    • Support module for AuthMe plugin.
    • Support module for xAuth plugin.
    • Support module for ClazyLogin plugin.

      I have some problems with adding it ;/

  • Better config system.
  • Simple commands
    • Simple reload command. -> You can save or reload config using commands.
    • Simple lists command. -> You can add/remove players from white and black list. Or enable/disable whitelist.
    • Simple status command. -> You can check (or change) player status (has premium or not).
    • Simple manage command. -> You can enable/disable autoLogin, add Exception players, or player with enabled login.
    • Added permissions for commands ->

      autoin.admin for all

      autoin.status for check status command (only check)

  • Make new and more useful API.
    • Special enum "PlayerStatus" instead of booleans. -> You can now get PlayerStatus and check if it is "PREMIUM", "CRACKED", "EXCEPTION" etc...
    • This same for "WhiteListStatus". -> You can add/remove players from white and black list. Or enable/disable whitelist.
    • PlayerPreForceLoginEvent. -> Event is fired before player is force-logged, you can change if player should be force-logged (by changing status variable, enabledLogin variable or just cancel event). Fired for every player -> even no-premium.
    • PlayerForceLoginEvent. -> Event is fired right before force-login, after all checks, so it's fired only for premium players (or for players that you change PlayerStatus to premium). You can change login message here ;)
    • More events. -> Events for:
      • CrackedPlayerLostConnectionEvent -> Fired when (after) some cracked player try join using premium nickname

        It will be not added. Too many new code needed.

      • InsertUUIDEvent -> Fired when you can change UUID of player.

        ProcessLoginEvent -> Fired when you can change UUID of player

      • MojangServerLostEvent -> Fired when plugin can't connect to mojang server, contains player name that was trying to login.
      • PlayerIpCacheSaveEvent -> Fired when player is saved to cache.
      • PlayerIpCacheLoadEvent -> Fired when plugin try get saved IP of player.
      • AuthPluginLookupEvent -> Fired when choosing Auth plugin to use.
    • Adding support to own/other Auth plugins.
    • Change, read, save or reload config using API.
  • Make events more configurable. -> You can choose event priority in configuration file.
  • Messages! -> You don't must use other plugins/skript to add stupid "You are logged from premium account" message ;)
  • Protect when Mojang servers are down -> You can disable/enable it in config.
    • Everyone must register to server. (even premium players)
    • When Mojang server are down:
      • Only registered players can join.
      • Everyone must use /login command
      • Premium players have restored UUID from plugin memory. -> Now I save all premium UUIDs to UUID.yml file
  • IpCache -> auto-login for premium player even if Mojang server are down!
    • When player login to server (when Mojang works) plugin save his IP and UUID.
    • When servers are down, plugin check IP, and if IPs are equals then force-login.
    • Restore old (premium) UUID.
    • Possibility to use IpCache for longer time -> save data to file, and use it even after server restart (with configurable time-limit)

      IDK if I will add that.

  • Fixed UUID -> Everyone will have UUID like in offline-mode server. (You must enable that in config)
  • Skript API -> Skript API! 9 conditions, 10 effects and 2 events!
  • Update description -> description in config file and that list, that all I can give today :P But no API tutorials etc...
  • Tests -> make big amount of test, to have sure that every feature work great for everyone.
  • Kick players that join before plugin is loaded -> because some people forget about enabling late-bind option in server configuration.
  • Option to fix LogIt problems with Tab on 1.8 spigot -> I just force disable all features that can affect Tab/Player-List because there are broken in 1.8 (can be disabled in config)
  • Make checking nickname synchronized ->It can slow down login process, but should decrease number of 502 errors.
  • CommandBlocks support -> you can use /cbAutoInStatus <nick> or /cbAIS <nick> in command blocks, it will return true if player is premium ;) (use /cbAutoInStatusN or /cbAISN to negate)

    It works, but throws big error to console, and I can't remove it without some hacks.

  • Add Metrics Graphs -> they start working after some months, so I want re-implement them. (not tested)
  • Try add auto update checking. -> information in console when new version is available.
  • Fix Bukkit.getOfflinePlayer -> on OnlineMode that method trying to connect with Mojang server, so it's very slow, and can slow down or even crash plugin that using it for tab-list, scoreboards or other features.

    "OnlineModeFix" in configuration file, if it's enabled then server status is changed to offline-mode, but plugin still work ;) (so it don't need online-mode anymore)

  • Uninject player from TinyProtocol when he isn't needed anymore.
  • Fix TinyProtocol on all CB/Spigot builds -> Plugin should now works without ProtocolLib again ;)
  • Plugin is now enabled (only some parts) after server -> this should fix all problems with registering new Auths, and TinyProtocol.

    Players that will try join before plugin start, will be kicked, you can change kick message in configuration file.

API change (breaking):

because that is still indev release, API can be changed in some updates. Like now:

  • Moved all custom events from com.gmail.bukkitsmerf.autoin.api to com.gmail.bukkitsmerf.autoin.api.event package.

 

 

Pełna wersja powinna zostać wydana za tydzień ;)

Zachęcam do testowania tej, powinna już śmigać dość nieźle :D

 

 

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

(download z spigota)

 

Wyszedł mały "drobny" fix ;P

Naprawia to co się zrypało + dodaje że skiny nie znikają jesli używa się FixedUUID

Linki oczywiście porpawione ;)

To już jest koniec smerfa:


http://www.mpcforum.pl/topic/1323530-info-znikam/


GG: 48522543


PS: Na innych forach i stronach znajdziesz mnie pod nickiem: 


BukkitSmerf

Opublikowano

@_const

Po primo: dlaczego sądzisz że sobie przywłaszczę? To że powiedziałem że nie możesz rownać się z karolina wg cb oznacza że jeżeli cie zwyczajnie nie lubie znaczy że już jestem dzieckiem itd... Hahaha

Po secundo: nawet jeśli to i tak nie mam po co bo ten plugs jest zbugowqny. Wolę sobie przerobic silnik lub bungee ;)

Ponadto karolinka mogła wykorzystać wasze zaufanie i dac tam backoora ;)

tak oczywiście, 3 backdoory, 8 robaków i kradnie też konta premium.

 

Nie wiem co ty tam masz zbugowanego, nic co by się nie bugowało w każdym innym miejsciu, czyli np błąd 502 od sprawdzania nicku, który... już tak ma, że czasem się pojawi. (wina servera, nie moja, więc niestety nie da się tego obejść)

 

a backdoory, niech ktoś sobie zdekompiluje i sprawdzi, to tylko troszkę utrudnia czytanie, ale da się bez problemu ogarnąć, czy gdzieś nie ma jakiś set/opów czy dziwnych zapytań.

Plugin jest czysty, jak ktoś uważa inaczej... to niech nie pobiera, strasznie mi z tego powodu wszystko jedno.

 

 

 

EDIT:

@Maniec

Zamiast przerabiać silnik lub bungee... Pobierz auto-in zdekompiluj go pod inną nazwą, popraw bugi których nie ma i ciesz się swoim pluginiem.

Czy ten sposób nie jest prostszy?

Do tego musiał by znać jave ( ͡° ʖ̯ ͡°)

To już jest koniec smerfa:


http://www.mpcforum.pl/topic/1323530-info-znikam/


GG: 48522543


PS: Na innych forach i stronach znajdziesz mnie pod nickiem: 


BukkitSmerf

Opublikowano

@_const

Po primo: dlaczego sądzisz że sobie przywłaszczę? To że powiedziałem że nie możesz rownać się z karolina wg cb oznacza że jeżeli cie zwyczajnie nie lubie znaczy że już jestem dzieckiem itd... Hahaha

Po secundo: nawet jeśli to i tak nie mam po co bo ten plugs jest zbugowqny. Wolę sobie przerobic silnik lub bungee ;)

Ponadto karolinka mogła wykorzystać wasze zaufanie i dac tam backoora ;)

 

Zamiast przerabiać silnik lub bungee... Pobierz auto-in zdekompiluj go pod inną nazwą, popraw bugi których nie ma i ciesz się swoim pluginiem.

Czy ten sposób nie jest prostszy?

─────────────────────────────────────────────────────────────────────────────


Moderator to usuwa. EHE...


─────────────────────────────────────────────────────────────────────────────

Opublikowano

ref 

+ uzyje sobie tego posta jako schowek, musze zacząć opisywać tę nową wersje :P A tak jest wygodniej.

 

 

schowek i aktualny opis pluginu: (częsciowy)

-snip-

Już nie potrzebny.

To już jest koniec smerfa:


http://www.mpcforum.pl/topic/1323530-info-znikam/


GG: 48522543


PS: Na innych forach i stronach znajdziesz mnie pod nickiem: 


BukkitSmerf

Opublikowano

Fajnie, że zdecydowałaś się kontynuować pracę nad pluginem. Osobiście nie korzystam, bo mam całą autoryzację i premium i non-premium w jednym pluginie i działa to bądź co bądź sprawniej na większy serwer, ale kawał dobrej roboty. ;)

 

P.S zarzuciłem małą dotacją na PayPal, kilka złociszy, mimo, że nie korzystam, to oddaję za cebulaków, którzy w życiu by nic nie wpłacili z własnej woli. To nie USA, to Polska. :3 Potem dorzucę z innego PP kilkanaście skromnych złociszy, bo naprawdę kawał dobrej roboty. Powodzenia. :)

 

/czemu masz na PP Bartłomiej? :D

Opublikowano

Fajnie, że zdecydowałaś się kontynuować pracę nad pluginem. Osobiście nie korzystam, bo mam całą autoryzację i premium i non-premium w jednym pluginie i działa to bądź co bądź sprawniej na większy serwer, ale kawał dobrej roboty. ;)

 

P.S zarzuciłem małą dotacją na PayPal, kilka złociszy, mimo, że nie korzystam, to oddaję za cebulaków, którzy w życiu by nic nie wpłacili z własnej woli. To nie USA, to Polska. :3 Potem dorzucę z innego PP kilkanaście skromnych złociszy, bo naprawdę kawał dobrej roboty. Powodzenia. :)

Bo nie moje :D gdzieś chyba pisałam, że nie ja zakładałam :D

Ważne że potem leci do mnie :P

Powiedzmy że przez ten rok (do 18 urodzinek) muszę jeszcze przeboleć... Bo moja kochana mama by mnie zabiła, że to okradajo itp...

Konto w banku zrobić to cud.... :D

 

 

Mam już też gotową listę rzeczy które chce dodać w pluginie w następnej wersji <3

Co powinno znacznie ograniczyc ilość "błędnych" graczy.

 

 

EDIT: tak właściwe to "(do 18 urodzinek)" to mnie już tu nie będzie, ale co tam :D

Trzeba kiedyś w końcu skończyć z bukkitami.

To już jest koniec smerfa:


http://www.mpcforum.pl/topic/1323530-info-znikam/


GG: 48522543


PS: Na innych forach i stronach znajdziesz mnie pod nickiem: 


BukkitSmerf

Opublikowano

Takie miłe info :D

W następny weekend wyjdzie update co powinno całkowicie usunąć problem z częstym zwracaniem błędu podczas sprawdzania nicku :)

Oczywiście jak zawsze wszytko będzie można skonfigurować do własnych potrzeb.

Aktualnie tylko wypuszczam poprawkę dla AuthMe, bo coś nie chce rejestrować kiedy powinna :/

 

 

EDIT: jak coś to już wrzucone.

To już jest koniec smerfa:


http://www.mpcforum.pl/topic/1323530-info-znikam/


GG: 48522543


PS: Na innych forach i stronach znajdziesz mnie pod nickiem: 


BukkitSmerf

Opublikowano

Posiadam pewien problem. Nie mogę edytować konfigu -_- cokolwiek w nim zedytuje to po reloadzie/restarcie konfig resetuje sie do stanu początkowego :[

Z góry dziękuję za pomoc :D

---------------------------------­


Survival: mc.KanibalZ.pl


---------------------------------­


Zapraszam.


 

Opublikowano

Posiadam pewien problem. Nie mogę edytować konfigu -_- cokolwiek w nim zedytuje to po reloadzie/restarcie konfig resetuje sie do stanu początkowego :[

Z góry dziękuję za pomoc :D

Jak coś zmieniasz przy włączonym serwerze, musisz wpisać /air load

Inaczej podczas wyłączania się pluginu (np podczas reloadu) plugin nadpisze konfiguracje tym co ma w pamięci.

 

+ nie używaj reloadów, to może tylko narobić problemów :P

To już jest koniec smerfa:


http://www.mpcforum.pl/topic/1323530-info-znikam/


GG: 48522543


PS: Na innych forach i stronach znajdziesz mnie pod nickiem: 


BukkitSmerf

Opublikowano

@Karolina_666 Wielkie dzięki ! 

ale....

Mam 2 problem mianowicie : Gdy gracz premium wchodzi na serwer tepa go na spawn  [ tp go na spawn potem do starego miejsca a na koniec  na spawn]

---------------------------------­


Survival: mc.KanibalZ.pl


---------------------------------­


Zapraszam.


 

Opublikowano

@Karolina_666 Wielkie dzięki ! 

ale....

Mam 2 problem mianowicie : Gdy gracz premium wchodzi na serwer tepa go na spawn  [ tp go na spawn potem do starego miejsca a na koniec  na spawn]

podaj:

- wersje bukkita/spigota

- plugin od autoryzacji (razem z wersja)

- Konfgiuracje pluginu AutoIn o raz tego pluginu od autoryzacji.

To już jest koniec smerfa:


http://www.mpcforum.pl/topic/1323530-info-znikam/


GG: 48522543


PS: Na innych forach i stronach znajdziesz mnie pod nickiem: 


BukkitSmerf

Opublikowano

podaj:

- wersje bukkita/spigota

- plugin od autoryzacji (razem z wersja)

- Konfgiuracje pluginu AutoIn o raz tego pluginu od autoryzacji.

 - Spigot 1.7.8

- LogIt 0.8.3

# # # # # # # # # # # # # # # #
#  LogIt Configuration File   #
# # # # # # # # # # # # # # # #

locale: pl
forceLogin:
  global: true
  inWorlds: []
  exemptPlayers: []
  timeout:
    enabled: true
    value: 40sec
    disableForPlayers: []
  allowedCommands: []
  prevent:
    move: true
    toggleSneak: true
    blockPlace: true
    blockBreak: true
    damageIn: true
    damageOut: true
    regainHealth: true
    foodLevelChange: true
    entityTarget: true
    chat: true
    commandPreprocess: true
    pickupItem: true
    dropItem: true
    interact: true
    interactEntity: true
    inventoryClick: true
  obfuscate:
    air: false
    health: false
    experience: false
    hunger: false
  prompt:
    register: true
    login: true
    minInterval: 2sec
  periodicalPrompt:
    enabled: true
    period: 15sec
  promptOn:
    join: true
    dropItem: true
    blockPlace: true
    blockBreak: true
    interact: true
    interactEntity: true
  hideChatMessages: false
  hideFromTabList: false
loginSessions:
  enabled: false
  validnessTime: 7days
loginHistory:
  enabled: false
  recordsToKeep: 10
messages:
  beautify: false
  join:
    hide: true
    showWorld: false
  multiverseHook: true
  quit:
    hide: true
prohibitedUsernames: []
usernameCaseMismatch:
  warning: false
  kick: false
passwords:
  disable: false
  minLength: 4
  maxLength: 40
  hashingAlgorithm: sha-256
  useSalt: true
globalPassword:
  length: 6
  invalidateAfter: 5min
bruteForce:
  blockLogin:
    attempts: -1
    forTime: 20 seconds
  kick:
    attempts: -1
  ban:
    attempts: -1
kickUnregistered: false
premiumTakeover:
  enabled: true
  promptOn: join
automaticAccountDeletion:
  enabled: false
  inactivityTime: 365days
automaticLogout:
  enabled: false
  inactivityTime: 10min
accountsPerIp:
  amount: 1
  unrestrictedIps: []
accountsPerEmail: 1
reserveSlots:
  amount: 0
  forPlayers: []
cooldowns:
  register: 3sec
  unregister: 3sec
  changepass: 1sec
  changeemail: 1sec
  recoverpass: 2min
passwordRecovery:
  enabled: false
  subject: Password recovery for %player%
  bodyTemplate: mail/password-recovery.html
  htmlEnabled: true
  passwordLength: 6
  passwordCombination: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
  promptToAddEmail: true
mailSending:
  emailAddress: ''
  smtp:
    host: ''
    port: 465
    user: ''
    password: ''
waitingRoom:
  enabled: true
  location:
    ==: Location
    world: world
    x: 0.0
    y: 70.0
    z: 0.0
    yaw: 0.0
    pitch: 0.0
newbieTeleport:
  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
  loggedIn: LoggedIn
  loggedOut: LoggedOut
profiles:
  enabled: false
  path: profiles
  fields: {}
storage:
  accounts:
    leading:
      storageType: sqlite
      csv:
        dir: ./
      sqlite:
        filename: accounts.db
      h2:
        filename: accounts
      mysql:
        host: jdbc:mysql://localhost:3306/
        user: root
        password: ''
        database: ''
      postgresql:
        host: jdbc:postgresql://localhost:5432/database
        user: postgres
        password: ''
      unit: logit
      cache: disabled
    mirror:
      storageType: 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
      uuid: uuid
      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
      login_history: login_history
      display_name: display_name
      persistence: persistence
  sessions:
    filename: sessions.db
backup:
  path: backup
  filename: yyyy-MM-dd_HH-mm-ss
  schedule:
    enabled: false
    interval: 12hours
  manualRemoveLimit: 3
stats:
  enabled: false
logging:
  file:
    enabled: false
    filename: debug.log
    level: 0
  verboseConsole: false

AutoIn

# Welcome in configuration file of my plugin! :> some info:
#     AutoLogin: Enable/Disable auto-login of Premium players.
#     SkriptAPI: You can force-disable using Skript API -> By default if "Skript" plugin is enabled, then plugin will add new 'instructions' to it, so you can check if player has premium from Scripts!
#                You can disable it here -> so even if you have "Skript" plugin, new instructions will be not registred.
#     ProtocolLib: If true, then plugin will try use ProtocolLib -> If you don't have ProtocolLib then it will use build-in TinyProtocol.
#                You can use that to force use of build-in TinyProtocol. (But it's better to use ProtocolLib)
#     FixedUUID: If true then everyone have UUID generated from nickname (like cracked players)
#              If flase then premium players have their UUIDs from Mojang, but cracked player have UUID generated from nickname,
#     OnlineModeFix: forces bukkit to be offline-mode, to fix problem with Bukkit.getOfflinePlayer method. Enable it when some of your plugin work much slower after using this plugin.
#     MustRegister: Everyone must register, even if player has premium. That must be enabled if you want use 'ServersDown_Protect' feature!
#     ServersDown_Protect: If cheking premium is impossible becouse Mojang servers are down, then only registred players can join to server.
#                          Everyone must login to server, so you must have 'MustRegister' option enabled, and premium players must remember their passwords.
#     ServersDown_IPCache: (only if 'ServersDown_Protect' is enabled) This options will enable login sessions (based on IP) for premium players.
#                          So if premium player was online before problems with Mojang servers, then if he login from this same IP -> he don't must login to server.
#     LogItForceFix: (only if LogIt plugin is used) Forces LogIt to disable ALL Tab-list features, so it don't generates errors on every player join.
#     Exceptions: players from that list will be logged as no-premium (cracked), even if nickname is premium.
#                 Normally nobody can join using someone premium nickname, like you can't join as 'Notch', but if you add this nickname to that list, then everyone can use that nickname.
#     EnabledLogin: Players from that list must login (ussing your Auth plugin) even if they have premium. So players from that list are still premium, but AutoLogin feature will not work for them.
#     OfflineWhiteListEnabled: enable white-list for no-premium players, if true then only players from that list can join to server. (works only for no-premium (cracked), premium can join even if he isn't on that list)
#     Lists: section for white/black lists. Pattern:
#              Nickname: STATUS
#          Eg:
#              BukkitSmerf: WHITE_LISTED
#              StupidNoob2Pro4U: BLACK_LISTED  //No-premium player can't join using that nickname. Like normal BlackList but work only for cracked players.
#   Messages: messages configuration.
#       AutoLogin: When player is auto-logged by plugin. (empty message -> no message)
#       NoAutoLogin: When player isn't auto-logged by plugin.
#       ForceRegister: When premium player must register on server.
#       ServersDownProtect: When player join and Mojang server is down. (and 'ServersDown_Protect' is enabled, and player isn't cached or 'ServersDown_IPCache' is disabled)
#       ServersDownIPCached: When premium player is auto-logged using IP cache becouse Mojang server is down.
#       ServersDownProtectNewPlayer: When Mojang server is down, and new player want join to server, so server must kick him.
#       PluginNotLoaded: If you don't have "late-bind" option enabled (in bukkit confgiuration) and player try join before this plugin is enabled.
# |
# |
#  This plugin contains special functions for 'Skript' plugin, list of it:
#     %player% PremiumStatus is [not] equals to (PREMIUM|CRACKED|EXCEPTION|ERROR|NOT_LOGGED_IN)
#     %player% PremiumStatus is [not] (premium|exception|error|cracked|cracked Exact|Not Logged In|Vaild)
#     %offlinePlayer% AutoInWhiteListStatus is [not] equals to (BLACK_LISTED|WHITE_LISTED|UNKNOWN|PREMIUM)
#     %offlinePlayer% AutoInWhiteListStatus is [not] (Joinable|BlackListed|WhiteListed|Unknown|Premium)
#     %offlinePlayer% has [not] enabled login
#     %offlinePlayer% is [not] exception
#     set PremiumStatus of %player% to (PREMIUM|CRACKED|EXCEPTION|ERROR|NOT_LOGGED_IN)
#     set AutoInWhiteListStatus of %offlinePlayer% to (BLACK_LISTED|WHITE_LISTED|UNKNOWN)
#     remove AutoInWhiteListStatus of %offlinePlayer%
#     enable AutoIn whitelist
#     disable AutoIn whitelist
#     is AutoIn whitelist enabled
#     force login %player%
#     force register %offlinePlayer%
#     force register use on %player%
#     is registered %player%
#     is logged in %player%
#     save AutoIn configuration file
#     reload AutoIn configuration file
#     on pre force login:
#     on force login:
#             Thanks for Dzikoysk to show me how to use Skript API!
# |
# |
# If you have any questions 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!
# EUR: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UCVY7PGCZBWN4
# USD: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WL6U4YUQVUSHN
# PLN: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KQMXPBT34GNGL
AutoLogin: true
ProtocolLib: true
FixedUUID: false
SkriptAPI: true
OnlineModeFix: true
MustRegister: true
ServersDown_Protect: true
ServersDown_IPCache: true
OfflineWhiteListEnabled: false
PlayerJoinEvent: LOWEST
PlayerLoginEvent: LOWEST
PlayerQuitEvent: MONITOR
LogItForceFix: true
Exceptions:
- BukkitSmerf
EnabledLogin:
- BukkitSmerf
Messages:
  ForceRegister: |-
    &cPlease use /register command and remember your password!
        &cYou don't must use it, but sometimes auth server can be broken, and then you must use /login command or wait to someone from Mojang will fix that servers!
  AutoLogin: '&7Masz PREMIUM nie musisz sie logowac !'
  NoAutoLogin: ''
  PluginNotLoaded: |-
    &4Server isn't enabled yet!
    Try again in 5 seconds!
  ServersDownProtect: '&cWe can''t check if you have real premium, please use your
    password!'
  ServersDownProtectNewPlayer: |-
    &4Mojang servers are down, we can't allow new players to join!
    &aPlease try again later !
  ServersDownIPCached: |-
    &aWe can't check if you have real premium, but last time you was premium, and have this same IP!
        &aSo you don't must use /login command 
Lists:
  BukkitSmerf: WHITE_LISTED
  StupidNoob2Pro4u: BLACK_LISTED

---------------------------------­


Survival: mc.KanibalZ.pl


---------------------------------­


Zapraszam.


 

Opublikowano

@1361622928-U485574.pngKanibalZ

Spr pobawić się opcją

PlayerJoinEvent: LOWEST

i zmieniaj (za kazdym razem wyłącz server, zmień i włącz, reload może tylko coś popsuć, a reload confgiu nic tu nie da)

 

Najlepiej w tej kolejności:

PlayerJoinEvent: LOW

PlayerJoinEvent: NORMAL

PlayerJoinEvent: HIGH

PlayerJoinEvent: HIGHEST

PlayerJoinEvent: MONITOR

 

 

I powiedz na na jednej z tych opcji zaskoczy.

To już jest koniec smerfa:


http://www.mpcforum.pl/topic/1323530-info-znikam/


GG: 48522543


PS: Na innych forach i stronach znajdziesz mnie pod nickiem: 


BukkitSmerf

Opublikowano

Ehh mi nie działa loguję się z LogIt i tak muszę się registerować choć mam premium i ustawione online mode; true

Jak nie chcesz rejestracji to zmień

"MustRegister" na false.

 

Rejestracja domyślnie jest obowiązkowa, bo w razie jak by Mojangowi padły serwery (co czasem się stanie) to mogą wejść tylko zarejestrowani gracze i muszą się logować.

Ale wystarczy zmienić opcję i powinno śmigać :P

To już jest koniec smerfa:


http://www.mpcforum.pl/topic/1323530-info-znikam/


GG: 48522543


PS: Na innych forach i stronach znajdziesz mnie pod nickiem: 


BukkitSmerf

Opublikowano

Witam czy jak ustawie online-mode na True to czy tylko gracze premium, będą mogli się zalogować na serwer ? czy gracze z non permium też ? mam premium więc nie mam jak tego sprawdzić używam Auto-In oraz LogIT.

 

 

Oraz czy jest możliwość jakoś zmiany wyświetlanego tekstu ? 

bez reklam

Opublikowano

Dlaczego gdy nonpremka próbuje się zalogować to pisze Sesja wygasła ... Nic nie zmieniłem w ustawieniach, a używam LogIt

A to nonpremka nie ma przypadkiem nicku zajętego przez jakieś gracza premium?

Wklej może logi z zalgowania z widocznym nickiem?

 

Witam czy jak ustawie online-mode na True to czy tylko gracze premium, będą mogli się zalogować na serwer ? czy gracze z non permium też ? mam premium więc nie mam jak tego sprawdzić używam Auto-In oraz LogIT.

 

 

Oraz czy jest możliwość jakoś zmiany wyświetlanego tekstu ?

Dla pluginu AutoIn, online-mode nie ma znaczenia, jedyne co zmienia, to to jak działa bukkit.

Na offline-mode moga być problemy ze skinami, ale za to pluginy edytujące taby lub scoreboardy działają szybciej.

+ online-mode nie zalezy od tego co ustawiasz w configu servera, ale od:

OnlineModeFix:

W konfiguracji pluginu.

 

True -> offline-mode

False -> online-mode

 

 

"Oraz czy jest możliwość jakoś zmiany wyświetlanego tekstu ?"

jakiego tekstu?

jak tego gdy wbija gracz no-premium na nick premium czyli coś tam o "invalid session" to się nie da. (to wiadomość po stronie clienta, więc nie da się jej zmienić)

To już jest koniec smerfa:


http://www.mpcforum.pl/topic/1323530-info-znikam/


GG: 48522543


PS: Na innych forach i stronach znajdziesz mnie pod nickiem: 


BukkitSmerf

Opublikowano

A to nonpremka nie ma przypadkiem nicku zajętego przez jakieś gracza premium?

Wklej może logi z zalgowania z widocznym nickiem?

 

Dla pluginu AutoIn, online-mode nie ma znaczenia, jedyne co zmienia, to to jak działa bukkit.

Na offline-mode moga być problemy ze skinami, ale za to pluginy edytujące taby lub scoreboardy działają szybciej.

+ online-mode nie zalezy od tego co ustawiasz w configu servera, ale od:

OnlineModeFix:

W konfiguracji pluginu.

 

True -> offline-mode

False -> online-mode

 

 

"Oraz czy jest możliwość jakoś zmiany wyświetlanego tekstu ?"

jakiego tekstu?

jak tego gdy wbija gracz no-premium na nick premium czyli coś tam o "invalid session" to się nie da. (to wiadomość po stronie clienta, więc nie da się jej zmienić)

 

Nie wiem dlaczego ale ja mam taki config :

 

http://pastebin.com/D6rP3MJH

 

nie wiem czy taki powinien być czy coś jest nie tak ;/ 

bez reklam

Opublikowano

Nie wiem dlaczego ale ja mam taki config :

 

http://pastebin.com/D6rP3MJH

 

nie wiem czy taki powinien być czy coś jest nie tak ;/ 

A bo ty dalej używasz starej wersji pluginu 1.0

A ja pisze o nowszej 1.9-beta.2 http://www.spigotmc.org/resources/auto-in.578/

To już jest koniec smerfa:


http://www.mpcforum.pl/topic/1323530-info-znikam/


GG: 48522543


PS: Na innych forach i stronach znajdziesz mnie pod nickiem: 


BukkitSmerf

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...