Skip to content

How to Kick and Ban Players on a The Bus Server

Show player list

To show all players on the server, enter the following command:

/list
/list

How to kick a player

/kick <playername>
/kick <playername>

The player will be immediately removed from the server.

How to ban a player

/ban <playername>
/ban <playername>

The player will be permanently banned and automatically kicked from the server.

How to temporarily ban a player

/tempban <playername> <minutes>
/tempban <playername> <minutes>

Examples:

/tempban PlayerName 60
/tempban PlayerName 1440
/tempban PlayerName 60
/tempban PlayerName 1440
DurationMinutes
1 hour60
24 hours1440
7 days10080

How to unban a player

/unban <playername>
/unban <playername>

Alternatively, you can open the file TheBus/Saved/PlayerData.json via SFTP and set the value "banned" to false:

json
{
    "name": "PlayerName",
    "uniqueId": "|0002xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "perms": "User",
    "banned": false,
    "unbanDate": "0001.01.01-00.00.00",
    "adminPasswordUsed": ""
}
{
    "name": "PlayerName",
    "uniqueId": "|0002xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "perms": "User",
    "banned": false,
    "unbanDate": "0001.01.01-00.00.00",
    "adminPasswordUsed": ""
}

Restart the server afterwards.

How to mute a player

/mute <playername>
/mute <playername>

The player will no longer be able to send messages in chat.

How to unmute a player

/unmute <playername>
/unmute <playername>

All commands

CommandDescription
/listShow all players
/kick <player>Kick player from server
/ban <player>Permanently ban player
/tempban <player> <minutes>Temporarily ban player
/unban <player>Unban player
/mute <player>Mute player
/unmute <player>Unmute player

Tip

These commands require Owner or Admin permissions.