AcmeProject / WildernessTp

My WildernessTP plugin from spigot
GNU General Public License v3.0
13 stars 16 forks source link

[Suggestion] Teleport to a different dimension on death and RTP #94

Open Crystalwarrior opened 3 years ago

Crystalwarrior commented 3 years ago

I want to make a server where when you first spawn on the server, you are randomly teleported in the overworld. This is already possible with the teleportNewPlayers: true config entry. However, I also want to be able to send players who die to the Nether if they have no respawn anchors and pick a random spawn point there.

Additionally: 1) Since traveling in the Nether moves you 8x the coords in the Overworld, the configuration for random teleport radius based on dimension should be adjustable. 2) I have not tested the teleportNewPlayers setting, but I assume it teleports you in the overworld on respawn unless you have a set spawn point? 3) Not sure if this is possible, but I do not want beds to behave as a spawn point. I want respawn anchors to work in all dimensions and be the only source of respawning :^) If you know of a different plugin or data pack that is compatible with this plugin, please lmk.

RoboMWM commented 3 years ago

Since traveling in the Nether moves you 8x the coords in the Overworld, the configuration for random teleport radius based on dimension should be adjustable.

Idk what you mean by this, but the plugin respects world borders if you're concerned about that.

I have not tested the teleportNewPlayers setting, but I assume it teleports you in the overworld on respawn unless you have a set spawn point?

Basically has new players execute /wild command, so it's whatever you have configured.

Idk for the third, but that'd be a relatively easy plugin to make, heck you could have something dead simple as executing /wild when a player respawns on the respawn event.

Crystalwarrior commented 3 years ago

Since traveling in the Nether moves you 8x the coords in the Overworld, the configuration for random teleport radius based on dimension should be adjustable.

Idk what you mean by this, but the plugin respects world borders if you're concerned about that.

I have not tested the teleportNewPlayers setting, but I assume it teleports you in the overworld on respawn unless you have a set spawn point?

Basically has new players execute /wild command, so it's whatever you have configured.

Idk for the third, but that'd be a relatively easy plugin to make, heck you could have something dead simple as executing /wild when a player respawns on the respawn event.

Wait, does teleportNewPlayers only account for fresh spawns? Meaning the spawn point is still used whenever a player respawns?

RoboMWM commented 3 years ago

It doesn't handle respawns. An addon or any plugin that allows you to run commands on respawn should do the trick though.