mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Allow commands with xbox achievements enabled
This commit is contained in:
parent
a85b312b40
commit
7b39b0d95b
3 changed files with 4 additions and 5 deletions
|
|
@ -137,7 +137,7 @@ public abstract class GeyserJacksonConfiguration implements GeyserConfiguration
|
|||
private boolean forceResourcePacks = true;
|
||||
|
||||
@JsonProperty("xbox-achievements-enabled")
|
||||
private boolean xboxAchievementsEnabled = false;
|
||||
private boolean xboxAchievementsEnabled = true;
|
||||
|
||||
@JsonProperty("log-player-ip-addresses")
|
||||
private boolean logPlayerIpAddresses = true;
|
||||
|
|
|
|||
|
|
@ -169,8 +169,8 @@ public class JavaCommandsTranslator extends PacketTranslator<ClientboundCommands
|
|||
return;
|
||||
}
|
||||
|
||||
// The command flags, not sure what these do apart from break things
|
||||
Set<CommandData.Flag> flags = Set.of();
|
||||
// The command flags, set to NOT_CHEAT, so we can enable achievements by default
|
||||
Set<CommandData.Flag> flags = Set.of(CommandData.Flag.NOT_CHEAT);
|
||||
|
||||
// Loop through all the found commands
|
||||
for (Map.Entry<BedrockCommandInfo, Set<String>> entry : commands.entrySet()) {
|
||||
|
|
|
|||
|
|
@ -168,8 +168,7 @@ above-bedrock-nether-building: false
|
|||
force-resource-packs: true
|
||||
|
||||
# Allows Xbox achievements to be unlocked.
|
||||
# THIS DISABLES ALL COMMANDS FROM SUCCESSFULLY RUNNING FOR BEDROCK IN-GAME, as otherwise Bedrock thinks you are cheating.
|
||||
xbox-achievements-enabled: false
|
||||
xbox-achievements-enabled: true
|
||||
|
||||
# Whether player IP addresses will be logged by the server.
|
||||
log-player-ip-addresses: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue