Started by
natoralex
on
Topic category: Help with Minecraft modding (Java Edition)
Im trying to make a kick and ban procedure simular to "the broken script" where the entity catches you and either kick you, bans you or whitelists you from your own singleplayer world. but there isnt a tutorial about that surtan rule aroung the kick commands.
I tried to do a command to normaly kick yourself but it kept popping up in the minecraft chat with "cannot kick yourself in offline singleplayer world" in red.
You need to make own kick system. Player variable that defines if player is kicked. Then on global trigger of player joins check if variable is true, and if it is, cancel the event
So your saying if i make my own commands that kick yourself or the players out from your own singleplayer world it will hopefuly bypass the cannot kick yourself from singleplayer world?