From 7e592f96417e23c48b815c09e363d973f47b6f7f Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Tue, 26 Nov 2019 17:21:19 +0100 Subject: Add ENet option to disable server relaying. It's useless when building fully authoritative servers, and prevents various kinds of abuse. --- modules/enet/doc_classes/NetworkedMultiplayerENet.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/enet/doc_classes') diff --git a/modules/enet/doc_classes/NetworkedMultiplayerENet.xml b/modules/enet/doc_classes/NetworkedMultiplayerENet.xml index 4c10588aa6..78a8e94012 100644 --- a/modules/enet/doc_classes/NetworkedMultiplayerENet.xml +++ b/modules/enet/doc_classes/NetworkedMultiplayerENet.xml @@ -116,6 +116,9 @@ The compression method used for network packets. These have different tradeoffs of compression speed versus bandwidth, you may need to test which one works best for your use case if you use compression at all. + + Enable or disable the server feature that notifies clients of other peers' connection/disconnection, and relays messages between them. When this option is [code]false[/code], clients won't be automatically notified of other peers and won't be able to send them packets through the server. + Set the default channel to be used to transfer data. By default, this value is [code]-1[/code] which means that ENet will only use 2 channels, one for reliable and one for unreliable packets. Channel [code]0[/code] is reserved, and cannot be used. Setting this member to any value between [code]0[/code] and [member channel_count] (excluded) will force ENet to use that channel for sending data. -- cgit v1.2.3