Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Official SimpleAuth v1.7.1

Prevents people to impersonate an account, requiring registration and login when connecting.

  1. GamingPilot2
    Offline

    GamingPilot2 New Member

    Joined:
    Sep 18, 2015
    Posts:
    5
    Minecraft User:
    GamingPilot2
    WHY I HAVE THIS PROBLEM ?
    RuntimeException: "Illegal offset type" (E_WARNING) in "/SimpleAuth_v1.7.1.phar/src/SimpleAuth/task/ShowMessageTask" at line 42
    13.12 17:25:36 [Server] CRITICAL "Could not pass event 'pocketmine\event\player\PlayerJoinEvent' to 'SimpleAuth v1.7.1': Illegal offset type on SimpleAuth\EventListener
  2. xpyctum
    Offline

    xpyctum Active Member Plugin Developer

    Joined:
    Jan 13, 2014
    Posts:
    292
    Plugins:
    4
    Minecraft User:
    tylerdisney
    you have bad messages.yml
  3. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
    Nope. He is using an old version (1.7.1) you should use this:

    Attached Files:

    cake23 and Philipp like this.
  4. Lexodexo
    Offline

    Lexodexo New Member

    Joined:
    Jan 4, 2016
    Posts:
    11
    Minecraft User:
    Henning
    How can i make the same Hash like SimpleAuth its do?
    I want to make a website, where the Players can login with the SimpleAuth hash, but how can i make the same hash like SimleAuth? Then i can compare the 2 hashes and the user is logged in on my website.
  5. TheDeibo
    Offline

    TheDeibo Notable Member Plugin Developer

    Joined:
    Sep 8, 2014
    Posts:
    695
    Plugins:
    1
    Minecraft User:
    TheDeibo
    it would be a lot of sql databasing xD
  6. Jazzwhistle
    Offline

    Jazzwhistle Notable Member

    Joined:
    Dec 27, 2014
    Posts:
    365
    Minecraft User:
    Awzaw
    Not hard... Just use the same routine to create the hash as SimpleAuth, the code is on github, then compare with the hash in your database
  7. Lexodexo
    Offline

    Lexodexo New Member

    Joined:
    Jan 4, 2016
    Posts:
    11
    Minecraft User:
    Henning
    I think you dont need mysql... SimpleAuth has a config file for all Players, in this config file stands the hash...
  8. Jazzwhistle
    Offline

    Jazzwhistle Notable Member

    Joined:
    Dec 27, 2014
    Posts:
    365
    Minecraft User:
    Awzaw
    I did this with node.js like this:

    Code:
    var crypto = require('crypto');
    
     function hashit(username, password){
         
        //PHP: return bin2hex(hash("sha512", password . username, true) ^ hash("whirlpool", username . password, true));
           
            var h = crypto.createHash('sha512');
            h.update(password + username);
    
            var part1 = h.digest('hex');
                   
            var j = crypto.createHash('whirlpool');
            j.update(username + password);
    
            var part2 = j.digest('hex');
           
            var result = "";
            for (var i = 0; i < part1.length; i++){
              
            result += (parseInt(part1[i], 16) ^ parseInt(part2[i], 16)).toString(16);
            
            }
    
            return result;
           
        }
  9. Lexodexo
    Offline

    Lexodexo New Member

    Joined:
    Jan 4, 2016
    Posts:
    11
    Minecraft User:
    Henning
    THX :) Its work perfectly!
  10. cake23
    Offline

    cake23 Active Member

    Joined:
    Aug 10, 2015
    Posts:
    124
    Minecraft User:
    TheEnd
    Philipp likes this.
  11. cake23
    Offline

    cake23 Active Member

    Joined:
    Aug 10, 2015
    Posts:
    124
    Minecraft User:
    TheEnd
    How do you get this version?
    Philipp likes this.
  12. Deadlypixel69
    Offline

    Deadlypixel69 New Member

    Joined:
    Feb 22, 2016
    Posts:
    8
    Minecraft User:
    Deadlypixel
    As a quick question (and I feel like i'm overlooking the answer to this because I'm about half asleep right now after working on re-writing a lot of the plugins on my server all night haha), but I know that before, when a player would join the server (under a named account so you had to /login to start playing), the simpleauth would prevent that player from moving (or I thought it was simpleauth/simpleauthhelper). However now on 0.14.0, players are free to move around while not logged in (however they aren't able to use any commands or type at all which is nice), but being able to move around...its a little worrying as they could run a player to their deaths or something. I've looked through the config files I could think of but I'm not showing any sort of "prevent movement: false" anywhere or any such thing. Any help here? (Or is it because of the integration to PHP7 that broke this part of the plugin and I'll just be waiting for the update to allow that to start working again?)
  13. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    770
    Minecraft User:
    Thunder33345
    well increase player limit
  14. kwasmuth
    Offline

    kwasmuth New Member

    Joined:
    Feb 6, 2016
    Posts:
    12
    Minecraft User:
    elite041802
    Doesn't work for Plug Pocketmine 1.6.30! Please fix! Crashes when anyone joins... Note: Using Mobile App
    Last edited: Mar 29, 2016
  15. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,472
    Minecraft User:
    PrimusLV
    Fascinating
  16. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
    It does work, use 1.8.0
  17. kwasmuth
    Offline

    kwasmuth New Member

    Joined:
    Feb 6, 2016
    Posts:
    12
    Minecraft User:
    elite041802
    The most current version is what doesn't work. I'm using the mobile app.
    1.6.30 is my version.
  18. Darunia18
    Offline

    Darunia18 Staff Member Sectional Moderator

    Joined:
    Aug 23, 2013
    Posts:
    765
    Plugins:
    2
    Minecraft User:
    Darunia18
    The mobile app hasn't been updated to the latest version, and right now it seems that it may never be updated.
    Legoboy0215 likes this.
  19. kwasmuth
    Offline

    kwasmuth New Member

    Joined:
    Feb 6, 2016
    Posts:
    12
    Minecraft User:
    elite041802
    Oh ok, thanks.
  20. KennethMinao
    Offline

    KennethMinao New Member

    Joined:
    Jul 23, 2015
    Posts:
    19
    Minecraft User:
    Kenn
    "07.04 10:52:55 [Server] INFO Warning: spl_object_hash() expects parameter 1 to be object, null given in phar:///plugins/SimpleAuth.phar/src/SimpleAuth/task/ShowMessageTask.php on line 47"
    I keep having this Error
Similar Threads: SimpleAuth
Forum Title Date
Plugin Releases SimpleAuthHelper Apr 29, 2015

Share This Page

Advertisement