when is do the border command and do the time in seconds ''i tried 10 seconds'' then the border doesn't disapear after 10 seconds and if you enable a boarder you can no longer select the world without getting it loaded in the singleplayer menu. you will get in your world with one click.
Comments 5
To expand on tails' comment, you use the [timeInSeconds] parameter to specify the time until it should change, say if you set it to 3600 it will change in an hour, you could use that to warn the players on the server.
That is not how this command works. The time in seconds is how long it takes for the border to expand/contract from it's existing position.
For example, if you expand it by 500 blocks over 1000 seconds, you will see the border slowly expand and move at half a block per second.
You can't remove the border, however you should be able to set it to the original position. See MC-53390
World border appears after given time.