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

Config file for the mods #19

Open
Sugar-Pink opened this issue Sep 2, 2023 · 5 comments
Open

Config file for the mods #19

Sugar-Pink opened this issue Sep 2, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@Sugar-Pink
Copy link

no data file for this mod to change settings/ loot tables other than the command in game.

@PuckiSilver
Copy link
Member

That is correct as this pack is fully written as a data pack and those don’t have any file access but I have been thinking of ways to add a config file for at-least some of the mod loaders.

If you currently want to modify settings before being in-game, you would have to open the .jar file and change them in the data/ps-mob/functions/load.mcfunction file

@PuckiSilver PuckiSilver changed the title No config file available Config file for the mods Sep 2, 2023
@PuckiSilver PuckiSilver added the enhancement New feature or request label Sep 2, 2023
@ValerieOwO
Copy link

I cannot find the config file under the file location you mentioned at all, I also tried searching it throughout the entire instance but to no avail. Not sure if this is intended or a bug. I am playing on 1.20.1 Fabric.

@PuckiSilver
Copy link
Member

@ValerieOwO please read the message above yours again #19 (comment)

The file is inside of the .jar so you won't find it by searching through the instance.
Also, it's not a config file. If you simply want to configure the pack for one world/server, just write /function ps-mob:load in chat as someone with operator rights/cheats enabled.
So yes, what you are seeing is fully intended. I also already said why it is that way in the comment above.

@ValerieOwO
Copy link

ValerieOwO commented Aug 30, 2024

Thanks for the response, I guess I was more confused about setting this up since I've never set up a data pack like this before.
In that case could you give me an example on how it's set up? So if I want to set glow to true, what command should I put?

@PuckiSilver
Copy link
Member

PuckiSilver commented Aug 30, 2024

Yea, not many data packs provide configuration at all because it’s this limited.
Glad I could be of help :)

To modify the config so that mobs spawn, it’s easiest to just run the command I sent (/function ps-mob:config) and configure it by clicking on the message that appears in chat. That then puts a command into your chat where you simply type the new number and press enter.

The command that puts into your chat would look something like this:
/scoreboard players set .should_glow ps-mob.config 1
(writing on phone and from memory, here be dragons)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants