lokka30 / PhantomWorlds

[MC] Light and robust world management solution for Bukkit
Other
16 stars 7 forks source link

Can you add a world game mode? gamemode: adventure #42

Closed Cqmmls closed 1 year ago

Cqmmls commented 1 year ago
advanced:
  file-version: 2
  generated-with: 2.0.4
worlds-to-load:
  world_game:
    environment: NORMAL
    generateStructures: true
    hardcore: false
    worldType: NORMAL
    spawnMobs: true
    spawnAnimals: true
    keepSpawnInMemory: falsea
    allowPvP: true
    difficulty: NORMAL
    gamemode: adventure  # <----------
lokka30 commented 1 year ago

I'm not sure, most of those settings actually use the exact same internal Minecraft code that server.properties does. I'd like to think adventure would work just fine for gamemode, but if not, please let me know.

lokka30 commented 1 year ago

Nevermind, I don't think PhantomWorlds has a gamemode option for worlds yet. Oops!

Cqmmls commented 1 year ago

What about gamerule keepInventory true? Similar to the following 'data.yml' file. Ask the author to consider these two features, they could be very useful.

advanced: file-version: 2 generated-with: 2.0.4 worlds-to-load: world_game: environment: NORMAL generateStructures: true hardcore: false worldType: NORMAL spawnMobs: true spawnAnimals: true keepSpawnInMemory: falsea allowPvP: true difficulty: NORMAL gamemode: adventure # <---------- keepInventory: true # <----------

lokka30 commented 1 year ago

That's handled by gamerules already :+1:

creatorfromhell commented 1 year ago

---- Added, will be in 2.0.5 ----

lokka30 commented 1 year ago

Thanks @creatorfromhell! (Users - see this new repository, as I no longer maintain PW.)