MLG-Fortress / PopulationDensity

The now-official repository of the PopulationDensity Bukkit plugin
https://dev.bukkit.org/projects/population-density
10 stars 10 forks source link

/spawn sending players to region post instead of world's /setspawn #105

Closed LeMetzger82 closed 2 months ago

LeMetzger82 commented 2 years ago

I have the most current version of this plugin. I am having an issue with it that I cannot figure out how to fix it.

What I want to have happen...Players spawn at /worldspawn on 1st log in. All log ins after that, spawn where they logged out. Players able to TP to spawn when they want to by using /spawn...as spawn is a safe area, has tutorials for all world related stuff, shops, etc. Players ONLY to TO to a region post if they use the TP commands for the region posts by standing by them.

What is happening...Players do spawn at /worldspawn on 1st log in. After that, players do spawn where they last logged out. However, when the /spawn command is used, players are teleported to a region post, instead of where /spawn was set. The region post related TP commands, when standing by a post and using the commands, works correctly.

I have tried deleting and resetting spawn using EssentialsXSpawn command of /setspawn. EssentialsXSpawn verifies the spawn is set, and I can see it in the appropriate files. I have tried every "spawn" related config change I could find and make in the config file for PopulationDensity. Then, I tried just deleting the user and region data for PopulationDensity, but did not work. Then, I also tried uninstalling PopulationDensity, reinstalling it, and re-configuring it. Still having the same problem.

I know the issue is being cause by PopulationDensity, because if I remove the jar file from the server, /spawn works like it is supposed to.

How do I fix this so players are sent to the /setspawn when they use /spawn...instead of getting sent to a region post? I really want to have this plugin, as it is nice for transportation, and also teleporting animals. But I really need the /spawn to work correctly.

Also...not related to the current issue...but how do I set PopulationDensity to NOT auto-name region posts, and have it so only admin can name them?

zedwick commented 2 years ago

/spawn is an alias for the /cityregion command, which will teleport you to your city world spawn.

You will need to set the city world in your Population Density config.yml.

  CityWorldName: world

where world is your main/overworld world name.

If no cityregion is set then /spawn will teleport you to your home region.

Also...not related to the current issue...but how do I set PopulationDensity to NOT auto-name region posts, and have it so only admin can name them?

Regions are only named when it is scanned to become a potential new spawn or /newestregion. There is no option to disable naming them, but you can disable the automated scanning in your config:

  AutomaticallyScanRegions: false
LeMetzger82 commented 2 years ago

Hello,

Thank you so much! That fixed my problem with the /spawn command.

There is something else I need assistance with, and I have gone over the config file several times trying to figure it out myself, but cannot find the setting for it.

When you use the region post, there are a couple of options. You can teleport to your home region post, or you can visit the region post by knowing its name (and the plug-in lists the current named regions when putting in the code to TP), or you can TP to a region post by using the player's name and it will send you to their home region post.

How to I get rid of the option to go to the region post by using player name? We have some players that go out into the wilderness to build because they want a big space...and do not want people to be able to TP to them without using /tpa...and having done /movein so they can get animals to their area, etc.

I basically just need to know how to removed the option so that people can ONLY use the region posts to TP to their home region, or to visit a specific region that is named.

Thank you for taking the time to read this! I appreciate you being able to help on the last issue. I love your plug-in.

Sincerely, Leonda

On Sat, Jul 23, 2022 at 5:57 AM zedwick @.***> wrote:

/spawn is an alias for the /cityregion command, which will teleport you to your city world spawn.

You will need to set the city world in your Population Density config.yml.

CityWorldName: world

where world is your main/overworld world name.

If no cityregion is set then /spawn will teleport you to your home region.

Also...not related to the current issue...but how do I set PopulationDensity to NOT auto-name region posts, and have it so only admin can name them?

Regions are only named when it is scanned to become a potential new spawn or /newestregion. There is no option to disable naming them, but you can disable the automated scanning in your config:

AutomaticallyScanRegions: false

— Reply to this email directly, view it on GitHub https://github.com/MLG-Fortress/PopulationDensity/issues/105#issuecomment-1193098380, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJOQNIHKIDGJOIJQZSHGGDTVVO6XNANCNFSM5Z4XAHKA . You are receiving this because you authored the thread.Message ID: @.***>

MajdT51 commented 2 months ago

Hello, Thank you so much! That fixed my problem with the /spawn command. There is something else I need assistance with, and I have gone over the config file several times trying to figure it out myself, but cannot find the setting for it. When you use the region post, there are a couple of options. You can teleport to your home region post, or you can visit the region post by knowing its name (and the plug-in lists the current named regions when putting in the code to TP), or you can TP to a region post by using the player's name and it will send you to their home region post. How to I get rid of the option to go to the region post by using player name? We have some players that go out into the wilderness to build because they want a big space...and do not want people to be able to TP to them without using /tpa...and having done /movein so they can get animals to their area, etc. I basically just need to know how to removed the option so that people can ONLY use the region posts to TP to their home region, or to visit a specific region that is named. Thank you for taking the time to read this! I appreciate you being able to help on the last issue. I love your plug-in. Sincerely, Leonda On Sat, Jul 23, 2022 at 5:57 AM zedwick @.> wrote: /spawn is an alias for the /cityregion command, which will teleport you to your city world spawn. You will need to set the city world in your Population Density config.yml. CityWorldName: world where world is your main/overworld world name. If no cityregion is set then /spawn will teleport you to your home region. Also...not related to the current issue...but how do I set PopulationDensity to NOT auto-name region posts, and have it so only admin can name them? Regions are only named when it is scanned to become a potential new spawn or /newestregion. There is no option to disable naming them, but you can disable the automated scanning in your config: AutomaticallyScanRegions: false — Reply to this email directly, view it on GitHub <#105 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJOQNIHKIDGJOIJQZSHGGDTVVO6XNANCNFSM5Z4XAHKA . You are receiving this because you authored the thread.Message ID: @.>

If the players are living the wilderness (not named region) then other players cannot visit them unless they invite it them with the /invite command