Skip to content

BUG: questions about the soft whitelist #52

@chenoneyu

Description

@chenoneyu

Describe the bug
I add my mods into the softwhitelist, and i want the mod ban everyone who has mods no included in the soft whitelist, but i could still join the server even with the mods no in the softwhitelist

To Reproduce
Steps to reproduce the problem:

  1. I didn't add the mod "baritone" into the soft whitelist
  2. and i Join the server with "baritone"
  3. I could still join the server

Expected behavior
I want i was kicked when i join the server with the mod "baritone" or any mod not in the whitelist

Screenshots
If applicable, add screenshots to help explain your problem.

Server information (please complete the following information):

  • Server software: fabric
  • Server software loader version: 0.16.9
  • Minecraft version: 1.20.4
  • Mod version: 1.0.2.1
  • Fabric API version: 0.97.2+1.20.4

Mod config

# IMPORTANT!
# Please check https://github.com/DiffuseHyperion/InertiaAntiCheat/wiki/Modern-(Version-1.0.0-and-above) on how to configure this mod.
# You will likely need https://iac.diffusehyperion.com/ in the process of configuring this mod.
[mods]
# The method to check client's mod list.
# If you prefer blacklisting/whitelisting certain mods from being used, use "individual".
# If you prefer ensuring client's have a modpack installed, use "group".
# Accepted types: "individual", "group"
method = "individual"
# The hashing algorithm for the mod to use.
# MD5 is the fastest but most insecure.
# SHA256 is the slowest but most secure.
# Accepted algorithms: "MD5", "SHA1", "SHA256"
algorithm = "MD5"
# The kick message to show to clients when they try to connect without InertiaAntiCheat installed.
vanillaKickMessage = "You were kicked for not sending a response to the anti-cheat!\nThis is probably due to missing the anti-cheat client mod.\nInstall it here: https://modrinth.com/mod/inertiaanticheat"
# The kick message to show to clients when they fail the modlist check.
deniedKickMessage = "You were kicked by the anti-cheat!\nThis is due to having illegal mods.\nPlease contact your server administrator for more details."

[mods.individual]
# Immediately kick players who have these mods in their modlist.
# The mod checks (and kicks) for blacklisted mods first.
blacklist = []
# Immediately kick players who do not have these mods in their modlist.
whitelist = ["7d617ce2fb96df5bd05f3d97e476b429","2733c159c2f7628983a96b442ca3f823"]

[mods.group]
# The hash for the server to check against.
# You can add multiple hashes into the list, and the server will check against all of them.
hash = []
# Allow certain mods to be used by players, in addition to your modpack.
# This allows players to make use of optional client mods if you allow it.
softWhitelist = ["d41d8cd98f00b204e9800998ecf8427e"]

[motd]
# Whether to show an icon on client's server list indicating that InertiaAntiCheat is installed.
showInstalled = false
# The names of blacklisted mods to report to clients.
# Clients will be able to see these mod names in their server browser.
# You may choose to put arbituary names, extra names, fake names or no names at all here.
# Setting this to be an empty list will cause the icon to not show up.
blacklist = ["Banned mods: ", "None"]
# The names of whitelisted mods to report to clients.
# Clients will be able to see these mod names in their server browser.
# You may choose to put arbituary names, fake names or no names at all here.
# Setting this to be an empty list will cause the icon to not show up.
whitelist = ["Whitelisted mods: ", "None"]
# The name of the modpack to report to clients.
# Clients will be able to see the modpack name in their server browser.
# Setting this to be an empty list will cause the icon to not show up.
hash = ["Requires modpack: ", "Modpack Name"]

[debug]
# Show additional information in server logs.
debug = false
# do not touch pls :)
version = 7

Additional context
Add any other context about the problem here.
Here would also be the place where you put any other mods you were running when the problem occured.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions