Skip to content

Commit

Permalink
feat: change the default value of `ServerSettings#GenericSettings#def…
Browse files Browse the repository at this point in the history
…aultPermission` to `PlayerPermission.MEMBER`.
  • Loading branch information
smartcmd committed Jan 31, 2025
1 parent 6dd9bb9 commit 2d66ecd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Unless otherwise specified, any version comparison below is the comparison of se
safe access to chunk data in multi-threads environment.
- (API) Replaced `Chunk#batchProcess` method with new `Chunk#applyOperation` and `Chunk#applyOperationInSection` methods.
- (API) Moved inner class `ItemArmorBaseComponent#ArmorType` to package `org.allaymc.api.item.data`.
- (API) Changed the default value of `ServerSettings#GenericSettings#defaultPermission` to `PlayerPermission.MEMBER`.
- Main thread will sleep a short time if gui is enabled when the server exits abnormally. This gives user time to see what goes wrong.
- Server won't crash if failed to load the descriptor of a plugin now. An error message will be print to the console instead.
- Server won't crash if failed to create world generator. Void world generator will be used instead.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static class GenericSettings extends OkaeriConfig {

@CustomKey("default-permission")
@Comment("Possible values: VISITOR, MEMBER, OPERATOR")
private PlayerPermission defaultPermission = PlayerPermission.OPERATOR;
private PlayerPermission defaultPermission = PlayerPermission.MEMBER;

@Comment("The language used by console")
private LangCode language = LangCode.en_US;
Expand Down

0 comments on commit 2d66ecd

Please sign in to comment.