Bug Closed · Resolved

Spawners folder

#2351 opened by Unknown 4 years ago

Unknownreported this bug

Summary

If spawner file is in another folder inside spawners working fine. When make any changes in game spawner file get clone the spawners folder.

Steps to reproduce

Create spawners

Close server.

Create folder inside spawners (MythicMobs\Spawners\dungeonx)

Move your spawners file to other folder.

Open server and change any options of spawner using /mm s set or mm reload

Current behavior

New changes are saved main Spawners folder. Now I have 2 same file. One is old config one is new.

Intended correct behavior

Overwrite the original file. Not creating new spawner at Spawners folder.

Server log file

https://pastebin.com/fz8Rtfk2

Unknowncommented

What are the 2 files name ? Are they the same ? If not, you probably did not rename the Spawner name inside the file ... it need to be the same with the filename itself (without .yml)

Unknowncommented

The filenames are the same [Legacy attachment omitted]

Unknowncommented

I am just an user ... but I belive you should not create the dungeonx folder and you will not have this problem. Just delete the folder, put the name of the spawner file and the spawner name inside as dungeonx and this should work as intended.

Unknowncommented

If you have small server yeah doesn't problem. If you are planning a large server, it will make your job easier.

Unknowncommented

That's fair, but you can workaround this quite easy and name each file and spawner to organize:
01_dungeonx_sp_scope1.yml 02_dungeonx_sp_scope2.yml .... 0n_factions_sp_scope1.yml I guess I am not giving you the solution you expected but this should be decent :)

Unknowncommented

Things will get messy when there are thousands of thousands of files.

Unknowncommented

:(

Sign in to join the discussion.