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

[Forge 1.18.2] Server config not automatically generated #1488

Open
4 of 6 tasks
unilock opened this issue Feb 11, 2023 · 0 comments
Open
4 of 6 tasks

[Forge 1.18.2] Server config not automatically generated #1488

unilock opened this issue Feb 11, 2023 · 0 comments

Comments

@unilock
Copy link

unilock commented Feb 11, 2023

Quick description

Starting a new dedicated server leads to AgriCraft generating a ./config/agricraft/config-common.toml instead of a config-server.toml. Modifying config options in config-common.toml makes no difference. Renaming config-common.toml to config-server.toml and making changes to that file works.

Search tags

common config hidden hide jei seeds server

Mods and versions used

  • Minecraft: 1.18.2
  • Forge: 40.2.0
  • AgriCraft: 3.1.4
  • InfinityLib: 2.1.4
  • JEI: 10.2.1.1002

Steps to replicate the issue

  1. Create a new dedicated server with only AgriCraft + InfinityLib + JEI installed
  2. Check the ./config folder; only config-common.toml and json (folder) exist (alongside five config file backups!?)
  3. Change the "Progressive JEI" config option to "false"; restart the server
  4. Connect to the server and check JEI by searching for @agricraft - no gated seeds (Diamahlia, etc.) listed
  5. Stop the server
  6. Copy config-common.toml to config-server.toml; set "Progressive JEI" to "false" again in the latter (my changes didn't stick!?)
  7. Restart the server
  8. Connect to the server and check JEI again - all gated seeds are listed, as expected

Expectations and explanations

On the dedicated server, AgriCraft should have either read config-common.toml, or automatically created config-server.toml.

Your environment

  • How are you playing?
    • Operating System: macOS client + server (local) - also tested server on Linux
    • Launcher: Prism Launcher client, command line server ("nogui")
    • Modpack: N/A
  • What kind of server:
    • Singleplayer
    • Multiplayer
  • Game Modes:
    • Survival
    • Creative
  • Save File:
    • Brand new save
    • Only an existing save

Links to crash logs, stack traces, etc

Debug logs:

Screenshots (or videos)

(sorry, i forgot to take screenshots)
(with config-common.toml, searching for @agricraft in JEI shows the items available as if "Progressive JEI" is set to "true", regardless of the actual status of that option)
(with config-server.toml, searching for @agricraft either does the same, or shows the normally hidden seeds, depending on the status of "Progressive JEI")

Miscellaneous

Modifying config-client.toml on the client works as expected in singleplayer.

I noticed that AgriCraft is continuously making backups of its config files. Is that worthy of a new issue...?

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

No branches or pull requests

1 participant