Skip to content
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

[❔]: How to disable a module by modifying the everycompat_hazardous.properties file ? #765

Closed
libu2333 opened this issue Jan 9, 2025 · 11 comments
Labels
answered The question is answered question Asking questions to get more information

Comments

@libu2333
Copy link
Contributor

libu2333 commented Jan 9, 2025

Question

How to disable a module (e.g. Chipped module) by modifying the everycompat_hazardous.properties file ?

Optional: Details

I just visited this and I saw a mention about disabling a module by modifying the everycompat_hazardous.properties file. I would like to ask: How can I modify this file to completely disable a module, so that no blocks related to it are registered at all?

@libu2333 libu2333 added the question Asking questions to get more information label Jan 9, 2025
@Xelbayria
Copy link
Collaborator

simply change true to false. That should disable the module from generating new blocks.

@libu2333
Copy link
Contributor Author

libu2333 commented Jan 9, 2025

I just opened the file but it is empty. Must I fully start the game?

@Xelbayria
Copy link
Collaborator

Yes. you must launch the game for the content to be generated.

one thing to note:
If you are going to join a server with disabled module for Chipped. The server required Chipped module. Not a good idea.

There is a reason why the file has "hazardous". If you are playing in Singleplayer world, then all is good

@libu2333
Copy link
Contributor Author

libu2333 commented Jan 9, 2025

Thanks. I'm just use the cilent

@libu2333
Copy link
Contributor Author

libu2333 commented Jan 9, 2025

Another question. Is the file generated after the wood blocks is registered?

@Xelbayria
Copy link
Collaborator

I believe the answer is yes. I'll check with MehVahdJukaar

@libu2333
Copy link
Contributor Author

libu2333 commented Jan 9, 2025

It isn't generated at all after I started the game

@libu2333
Copy link
Contributor Author

libu2333 commented Jan 9, 2025

I opened the file and it only contains this text:

#Hard disable entire modules. Use at your own risk and don't ask for support if you use this
#Thu Jan 09 16:06:03 CST 2025

@Xelbayria
Copy link
Collaborator

Strange. I'm waiting for the response from MehVahdJukaar about 👇🏻

Is the file generated after the wood blocks is registered?

Apparently, I wondered the same thing. i even loaded the world and nothing got generated.

@libu2333
Copy link
Contributor Author

libu2333 commented Jan 9, 2025

Apparently, I wondered the same thing. i even loaded the world and nothing got generated.
I also did the same thing.

@Xelbayria
Copy link
Collaborator

Xelbayria commented Jan 9, 2025

He said

Config is loaded before
Obviously
Otherwise it would not work. Its whole point is to prevent block registering of it was loaded after and read before it would crash

only thing uncommon with it is that it will generate the file just once
and its content is always null. you just add modid to boolean

I had my guess of the last part. he confirmed it.

you just need to add to that file: chipped and it will be disabled. I've tested it. it's working as it's intended

@Xelbayria Xelbayria added the answered The question is answered label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered The question is answered question Asking questions to get more information
Projects
None yet
Development

No branches or pull requests

2 participants