Page MenuHomeFeedback Tracker

Expose RCON/Battleye messages to the server side event system
New, NormalPublic

Description

It seems that RCON/Battleye messages aren't hooked into the event system on the server side. They probably go from the outside (cftools for example) into the RCON server, and are then either executed (player kicked, banned etc) or broadcast directly to the clients.

It would be great to have something like RconMessageEventTypeID in OnEvent(), or enable the BattlEye channel with ChatMessageEventTypeID, whatever is better architecturally. Probably RconMessageEventTypeID, since the RCON chat messages are just a subset of all RCON messages.

On the client, the BattlEye channel is part of ChatMessageEventTypeID, but not on the server.

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
General
Steps To Reproduce
modded class MissionServer // same for DayZGame
{
	override void OnEvent(EventType eventTypeId, Param params)
	{
		// no event being fired when sending an RCON command or chat from the outside
		if(eventTypeId && GetGame().IsServer()) Print("[MissionServer.OnEvent]" + string.ToString(eventTypeId));

		super.OnEvent(eventTypeId, params); 
	}
}

Event Timeline

inkihh created this task.Wed, Nov 20, 1:11 PM
inkihh renamed this task from Expose RCON/Battleye messages to the serer side event system to Expose RCON/Battleye messages to the server side event system.