Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if nearby GP claims #14

Open
Fonzee9 opened this issue Jun 24, 2017 · 11 comments
Open

Check if nearby GP claims #14

Fonzee9 opened this issue Jun 24, 2017 · 11 comments

Comments

@Fonzee9
Copy link

Fonzee9 commented Jun 24, 2017

My players still sometimes tp near bases with GriefPrevention and i have it set to true in config :( Any chance you can improve the check??

@RoboMWM
Copy link
Collaborator

RoboMWM commented Jun 24, 2017

I guess we could add a radius of "safety" in the config, if administrators so desire to ensure players are away from nearby claims.

Would you mind sharing your config.yml?

@Fonzee9
Copy link
Author

Fonzee9 commented Jun 24, 2017

@RoboMWM
Copy link
Collaborator

RoboMWM commented Jun 24, 2017

Yeesh, that's an ugly config. I think your issue might be because you aren't using the right plugin: https://www.spigotmc.org/resources/wilderness-tp.22853/ (and make sure to delete the folder so the plugin can generate a new, proper one).

@RoboMWM
Copy link
Collaborator

RoboMWM commented Jun 24, 2017

I am using the right plugin though and config

Ok, well delete the Wild folder in the plugins folder, let it regenerate, and then repaste the new config here, because your current config is screwed up.

@Fonzee9
Copy link
Author

Fonzee9 commented Jun 24, 2017

https://pastebin.com/XFBaXWPH resetted config but now the GriefPrevention check is gone? from the config and i have GriefPrevention installed

@Fonzee9
Copy link
Author

Fonzee9 commented Jun 24, 2017

So is it on by default no need to enable it in config? since its not in config ⭕️

@RoboMWM
Copy link
Collaborator

RoboMWM commented Jun 24, 2017

So is it on by default

Yup.

@Fonzee9
Copy link
Author

Fonzee9 commented Jul 4, 2017

I just used /wild and tp'd near someones house when you have time let us configure the frequency :)

@RoboMWM
Copy link
Collaborator

RoboMWM commented Jul 4, 2017

Were you tp'd inside the claim or outside it?

@Fonzee9
Copy link
Author

Fonzee9 commented Jul 4, 2017

Outside it but the claim was like 40 blocks away and i could see it

@RoboMWM
Copy link
Collaborator

RoboMWM commented Jul 5, 2017

Hmm... I'll make a slight change to the randomization method, and perhaps add a config option to check for claims around the randomly-selected location. Not sure how performant it will be with large values...

How far away would you want to be from claims at a minimum?

@RoboMWM RoboMWM changed the title Better GriefPrevention checks Check if nearby GP claims May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants