01-02-2017, 12:07 AM
(This post was last modified: 01-02-2017, 12:12 AM by LogicParrot.)
Proposal: A new INI file option for choosing the allowed protocols.
Rationale: Sane and non crashing defaults. #3201 is a major source of crashes (some are client side). Most players are better off playing a single protocol at a time. Those who want can change that default. We should make the crash avoidance tips thread irrelevant.
FAQ
Why not as a plugin?: 1. It is only a few lines of code. 2. Protocol whitelisting should be an integral part of Cuberite. Crash prevention shouldn't require a plugin.
Can't we have non crashing multi protocol support where items and entities foreign to older clients can be replaced with placeholders? We won't realistically have this any time soon.
Rationale: Sane and non crashing defaults. #3201 is a major source of crashes (some are client side). Most players are better off playing a single protocol at a time. Those who want can change that default. We should make the crash avoidance tips thread irrelevant.
FAQ
Why not as a plugin?: 1. It is only a few lines of code. 2. Protocol whitelisting should be an integral part of Cuberite. Crash prevention shouldn't require a plugin.
Can't we have non crashing multi protocol support where items and entities foreign to older clients can be replaced with placeholders? We won't realistically have this any time soon.
Code:
Protocol=default # Allows the default protocol only, which is the best-supported protocol. Currently it is 1.8.
Protocol=ANY # Allows everything
Protocol=1.8 # Allows 1.8 only
Protocol=1.9 and up # Allows 1.9 and up
Protocol=1.8, 1.9 # Allows 1.8 and 1.9 only