[Bug]: Cannot change the difficulty of created worlds
KenenHitomichi opened this issue · 4 comments
/mv version -p
output
Server logs
https://paste.gg/p/anonymous/153069b1e13d4fb882dd9dda6c8f91d4
Server Version
This server is running LoliServer version 1.16.5-109 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT, Forge version 36.2.8)
Server Version
I created a new world named "testDIM". When I tried to modify the difficulty using "/mvm set diff PEACEFUL testDIM", I found the difficulty of "world" "DIM-1" "DIM1" changed to peaceful while "testDIM" not.
Then I modified the "world.yml" file and used "/mv reload" to change the difficulty. But still failed. The difficulty in file reset to "EASY" ( this also happened when I restarted the server).
Thus, I could not change the difficulty level of my new world.
However, for other properties such as "gamemode", I could successfully change them. (use /mvm set mode creative testDIM)
Steps to reproduce
- Start a server with only Multiverse installed
- Log in as an op
- /mv create testDIM normal
- /mv tp testDIM
- /mvm set difficulty peaceful testDIM
- BUG comes
Another way:
- Change difficulty of testDIM to peaceful in world.yml.
- Start the server (or use "/mv reload" if server is running)
- The difficulty is still easy (world.yml reset)
Agreements
- I have searched for and ensured there isn't already an open or resolved issue(s) regarding this.
- I was able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.
Really? Is it really about which platform you use? Blaming on using forge does not make sense.
I am currently using a hybrid server and, the most strange thing I’ve ever met happened, which is seemed to be a total implementation issue. I tried to use some commands like /mvmodify set difficulty peaceful world
and it said Success
and you guess what? Nothing changed.
May be there was still some reasonable reasons why the command did nothing? But how could I find another reason for this?
I tried changing content in worlds.yml
. Fortunately I found something useful to me like monster-spawn
, gamemode
and difficulty
. I changed it to the desired value, executed /mv reload
, but nothing changed either. I assumed it was because the server is running and the plugin may NOT know what I did to the configuration instantly, so I rebooted the server and even the instance running the server.
You guess what, everything turned back to what they were originally in the configuration file. How could this happen?
Could you say "It’s forge" again?
Note: I am sure I’d saved my file :)
And even if we run /mv modify set diff easy testworld
, it will only change the difficulty settings of world
, DIM1
and DIM-1
But when we run /mv modify set animals false testworld
, it works