Skip to content

Commit

Permalink
decrease to 256 chars by default
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Dec 20, 2024
1 parent 2c33bda commit d021f2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public BigMessages() {
super("patches.message-char-limit", PacketListenerPriority.HIGHEST);
config.addComment(configPath + ".enable", """
Sets a character limit for command and message packets to prevent a lag exploit.""");
this.charLimit = config.getInt(configPath + ".max-characters", 512);
this.charLimit = config.getInt(configPath + ".max-characters", 256);
this.log = config.getBoolean(configPath + ".log", false);
this.kick = config.getBoolean(configPath + ".kick-player", false);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public BigMessages() {
super("patches.message-char-limit", PacketListenerPriority.HIGHEST);
config.addComment(configPath + ".enable",
"Sets a character limit for command and message packets to prevent a lag exploit.");
this.charLimit = config.getInt(configPath + ".max-characters", 512);
this.charLimit = config.getInt(configPath + ".max-characters", 256);
this.log = config.getBoolean(configPath + ".log", false);
this.kick = config.getBoolean(configPath + ".kick-player", false);
}
Expand Down

0 comments on commit d021f2c

Please sign in to comment.