-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Obfuscation Changes #515
base: main
Are you sure you want to change the base?
Obfuscation Changes #515
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,3 +1,46 @@ | ||||||
anticheat: | ||||||
obfuscation: | ||||||
items: | ||||||
all-models: | ||||||
also-obfuscate: | ||||||
default: [] | ||||||
description: >- | ||||||
Controls whether certain data components should be hidden for all items from other players. It's | ||||||
generally not recommended you configure this unless you know what you are doing, as you may change | ||||||
how items may look visually to other players. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
dont-obfuscate: | ||||||
default: ['minecraft:lodestone_tracker'] | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
description: >- | ||||||
Controls which data components should not be hidden for all items from other players. This is because they may slightly change | ||||||
the item's appearance, so hiding it isn't warranted. | ||||||
In this example, lodestone trackers may reveal critical locations, but hiding the location causes the | ||||||
compass to shake around for other players. It's up to your digression whether you think this tradeoff is important. | ||||||
sanitize-count: | ||||||
default: 'true' | ||||||
description: >- | ||||||
Controls whether the item's count should be hidden from other players. | ||||||
enable-item-obfuscation: | ||||||
default: false | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
description: >- | ||||||
Controls whether unnecessary item information (such as enchantments, lore, etc.) that can give cheat clients an advantage should be sent to other | ||||||
players' clients. This may break resource packs that rely on information such as enchantments, | ||||||
lore or item names when observing other players. | ||||||
model-overrides: | ||||||
minecraft:elytra: | ||||||
also-obfuscate: | ||||||
default: [ ] | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
description: >- | ||||||
Controls the components that should also be obfuscated for items with the item model of `minecraft:elytra`. | ||||||
This may be useful if you want to hide certain components not important to other items. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
dont-obfuscate: | ||||||
default: [ minecraft:damage ] | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
description: >- | ||||||
Controls the components that should not be obfuscated for items with the item model of `minecraft:elytra`. | ||||||
This defaults to `minecraft:damage` as elytras with 1 durability have a special texture. | ||||||
sanitize-count: | ||||||
default: true | ||||||
description: >- | ||||||
Controls whether the items with the item model of `minecraft:elytra` count should be hidden from other players. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
block-updates: | ||||||
disable-noteblock-updates: | ||||||
default: "false" | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.