The following warnings occurred:
Warning [2] Trying to access array offset on null - Line: 198 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 198 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined property: DB_MySQLi::$google_seo_query_limit - Line: 232 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 232 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Decrement on type null has no effect, this will change in the next major version of PHP - Line: 232 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 232 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once




Multiple Login 1 account.
#1
Hey guys.

I was testing my auth plugin.
And was like well now i rename them to guest.
So they can login once again! once the user has logged in aka running around as.
ThuGhacK and [Guest] ThuGhacK.

Atm for me kickuser doesnt but i added some test code.
And noticed even without that i could login multiple times without even renaming.
I even disabled my plugins!

I could just login as ThuGhacK and then again as ThuGhacK server would not complain or anything not even a kick or error.

Is this normal does vanilla do this as well ?
If not could this be fixed ? people could login multiple times and do mass digging or flooding/cheating etc and just grief the world in a few seconds.

Edit:
Also if i return true or false for onlogin it changes nothing ?
I would asume if i return false the user wouldnt be able to login or something.
As handling this could be done by plugin no problem right ?

function OnLogin(Client, ProtocolVersion, Username)

    local loopPlayers = function( Player )
        if(Player:GetName() == Username) then
            Player:SendMessage( "Somebody just logged in under your name." )
            return true
        end
    end
    local loopWorlds = function ( World )
        World:ForEachPlayer( loopPlayers )
    end
    cRoot:Get():ForEachWorld( loopWorlds )
    return false
end

Now if only i could kick them :p.

Btw does the shcode=lua highlite not work ? i get gray text..
Nm i need to refresh for it to work for some weird reason..
Reply
Thanks given by:
#2
It's actually a featureTongue: https://forum.cuberite.org/showthread.ph...31#pid2931
But maybe it's time to make it configurable or work only in debug mode?
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)