zDevelopers / UHPlugin

Plugin UltraHardcore (“Kill the Patrick”), augmenté. | UHC (“KTP”) plugin, improved.
Other
32 stars 24 forks source link

Make UHC world configurable #146

Open srslav opened 7 years ago

srslav commented 7 years ago

Hello,

I have a small suggestion to make, I would like to know if you can add an option that allows to put the uhc in another card than the main one. Because I have a waiting lobby on the main map on the server and I would like the uhc on another map via Multiverse Core but you do not add the option.

thank you in advance

AmauryCarrade commented 7 years ago

Hi,

the « game world » is only the world where the players spawn at the beginning of the match. You can already generate the spawn points in the world you want the game to be into. With the commands (either /uh spawns add or /uh spawns generate), the plugin will use the sender's current world.

As for /uh spawns generate, you can also specify a world from the command or a script using the last argument:

/uh spawns generate <circular|grid|random> [size] [distanceMin] [count] [xCenter] [zCenter] [world]

This being said, if you use the configuration file to set spawn points, the first (default) Bukkit world will indeed be used. Also, only this world will be reset (weather...) at startup. I'll add a configuration option for that, it's very easy to do.

P.-S. Please use descriptive titles, it's way better for me.