Page MenuHomeFeedback Tracker

Server side commands does not work propertly
New, NormalPublic

Description

  1. Kick command does not work at all if used in server side scripting events. https://community.bistudio.com/wiki/Arma_3:_Server_Side_Scripting
onUserConnected = "kick (_this select 0)";

in server.cfg will not kick you. ban works OK.

  1. kick command(maybe other too) typed in chat does not support special chars and even spaces if you trying to kick by nickname.
  2. #exec kick "PLAYER" does not work in chat

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Dedicated Server
Steps To Reproduce

Add onUserConnected = "kick (_this select 0)"; to server.cfg
Launch dedicated server
Try to login
You are in. Instead of being kicked.

Create player profile with space in name [test] player
Start dedicated server
Connect by admin and this new player.
Try to kick player by command in chat
#kick [test] player
Nothing happend

Additional Information

I want to create some sort of whitelist at lobby stage without using BE or any custom tools.
As much as I know mission event handlers not available at lobby stage.

Event Timeline

severgun created this task.Nov 5 2022, 12:27 PM
severgun edited Steps To Reproduce. (Show Details)
severgun updated the task description. (Show Details)Nov 5 2022, 2:26 PM
This comment was removed by LouMontana.