flux icon indicating copy to clipboard operation
flux copied to clipboard

Minecraft server worlds wont unzip

Open BANanaD3V opened this issue 1 year ago • 8 comments

Describe the bug When using mcman worlds feature with a world zip, the server won't build and will throw permission denied (os error 13) when on world stage.

To Reproduce Steps to reproduce the behavior:

  1. Create a mcman server
  2. Add a world zip and [worlds.worldName] to server.toml
  3. Try to build the server with flux
  4. Error occurs

Expected behavior A world would unzip with no errors

Screenshots image

Additional context This might be due to how mcman unzips worlds, but unsure.

BANanaD3V avatar Jul 28 '24 08:07 BANanaD3V

I will investigate

IogaMaster avatar Jul 28 '24 18:07 IogaMaster

Any updates?

BANanaD3V avatar Jul 31 '24 08:07 BANanaD3V

@IogaMaster commit that "fixed this issue" breaks all flux and i have "can't mkdir server_build: permission denied" I think buildPhase is not allowed to edit $src dir contents

ProggerX avatar Aug 19 '24 19:08 ProggerX

@IogaMaster commit that "fixed this issue" breaks all flux and i have "can't mkdir server_build: permission denied"

I think buildPhase is not allowed to edit $src dir contents

Reverted the commit

IogaMaster avatar Aug 24 '24 04:08 IogaMaster

Is specifying custom world dirs supported?

hustlerone avatar Jan 04 '25 15:01 hustlerone

Anything that mcman can do, flux can do. I am unaware of such feature, but check out the mcman source to be sure

IogaMaster avatar Jan 04 '25 17:01 IogaMaster

so I can use any folder as the working directory?

hustlerone avatar Jan 04 '25 18:01 hustlerone

yeah, flux just takes the path to the mcman config in a subdir. The mcman binary then generates a server from that. So do as you please in the mcman config

IogaMaster avatar Jan 04 '25 18:01 IogaMaster