I am currently working on my vanilla minecraft server. Everything works fine until my friend use my account to /op his account.

I don't want something like this happen. Is there anyway(command) can let player to have register and login system with password like the AuthMe plugin? Note that my server is vanilla so I don't want/cannot install any plugins. This can prevent some player login my server with other player's name. Is there any command that can do this?

  • You know you are not supposed to have online=false server, hm? That is the prebuild protection, with that nobody can join server as you unless he has password to your MC account (which nobody should) If you disable online check, then you disable the protection. – Antoine Hejlík May 2 '16 at 11:46
  • @AntoineHejlík I want everybody can join my server, not only premium players, but also cracked player. Btw, thx for your suggestion :) – Forcelydated May 3 '16 at 11:34

Nope. The Vanilla platform expects all users to use their own accounts, as that's how it works. Command Blocks can't register commands, nor can they really handle user management properly.

In theory, you can use the /trigger command and a unique number as a password. Kick anyone with that username that doesn't have that value set. However, that's unnecessarily complicated and doesn't scale well at all.

The easiest option would just be to not give your friend access to your account for any reason whatsoever. If you really want to share accounts while controlling users, you have to use a custom server (you really should anyways -- they're awesome) and plugins.

  • Well, thanks! I guess I will have to find another solution – Forcelydated Apr 29 '16 at 4:43
  • Not to mention that I don't think command blocks can run /kick. – pppery Aug 21 '18 at 16:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.