SphereCommunity
How to make a player disconnect? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: How to make a player disconnect? (/Thread-How-to-make-a-player-disconnect)

Pages: 1 2


RE: How to make a player disconnect? - Capes - 04-12-2018 04:42 AM

I also found that the code below will disconnect anyone of any plevel even the owner using 0.56d

[FUNCTION f_leave]
TRYSRV serv.uid.<uid>.disconnect
timerf 1, TRYSRV serv.uid.<uid>.disconnect

Then it prints this to the console
A'Admin' was DISCONNECTed by 'Old Felucca' <-- were 'Old felucca' is the name of my shard.

I'm assuming the above bypasses the priv checks but I don't really know for sure.

Capes