modded7/overrides
0xC4DE c50caee9dc
Pack Mode Switcher changes to address #241 (#292)
Difficulty cannot be inforced by the difficulty locker mod. Meaning it's not only not required by the server, but the difficulty needs to be manually set by server.properties.

I added a second server.properties.expert that just sets difficulty to 0 initially. Obviously a user can change this but they should just know that expert is supposed to be peaceful at that point. I then updated the script to switch between the two configs, if and only if they exist, so it should still work on ssp just the same.

This was made to address #241 Since it is impossible for a mod to enforce server difficulty (Source: Trust me and dig through the code yourself I suggest starting with Forge's DedicatedServer object)

/* Commits: */
* Pack Mode Switcher changes to address 241 in the most roundabout way possible

* pack mode switcher updates and changing server.properties

* added the properties files

* made the readme's more friendly

* more readme-bility

* Made README more tutorial

* typofix/capitialization is my passion

* readme updates

* forced

* repalace

* expert mode, again

* script disclaimer

* Script disclaimer

* hopefully fixed jank formatting

* fixed jank formatting

* beautify
2023-04-08 20:08:03 +10:00
..
2023-04-08 20:00:17 +10:00
2022-03-22 21:16:34 +08:00

Expert Mode config files

Config files for normal and expert mode are found in \config-overrides\normal and \config-overrides\expert respectively.

Users can use any of the below methods to replace configs: Manual (All versions):

  • Drag the files inside \config-overrides\expert into the main config folder, as shown in below image
    • If on a server move the server.properties out of the config directory and into the root directory of your server (the path containing your launch script)
    • If on a client you can safely delete server.properties

image

Scripted Installation (>1.5.3)

  • Windows:
    • Download here(right click - save as) save it to the root directory of the pack (the same level as \config).
    • Run the pack mode switcher in a terminal with ./pack-mode-switcher.bat
  • Any GNU/Linux (Mac and Linux) System:
    • Run curl -O https://raw.githubusercontent.com/tracer4b/nomi-ceu/main/pack-mode-switcher.sh to download the file.
    • Verify the contents with your editor of choice.
    • Run chmod +x pack-mode-switcher.sh; sh pack-mode-switcher.sh in the pack root directory (the one containing /config).