oddlama / vane

Immersive and lore friendly enhancements for vanilla Minecraft
MIT License
276 stars 34 forks source link

Spawn Protection not working :// #75

Closed antonstech closed 2 years ago

antonstech commented 2 years ago

Yeah so my Spawn Protection is just not working lol Admin Config: spawn_protection: enabled: true

allow_interaction: false

radius: 32

use_spawn_location: true Permissions Config: groups: admin:

oddlama commented 2 years ago

What do you mean by a person can "access" the spawn? The spawn protection doesn't prevent people from entering the area if thats what you mean...

antonstech commented 2 years ago

@oddlama I mean that they can build there

oddlama commented 2 years ago

Can you please post the output of perm list permissions someplayername for a player who can build but shouldn't?

antonstech commented 2 years ago

@oddlama Here :)

17:38:50 INFO]: [vane-permissions] Berechtigungen für SirDifferent:
Format: <permission> (<default>): <description>
[17:38:50 INFO]: [vane-permissions]  - bukkit.broadcast (true): Allows the user to receive all broadcast messages
[17:38:50 INFO]: [vane-permissions]  - bukkit.broadcast.admin (true): Allows the user to receive administrative broadcasts
[17:38:50 INFO]: [vane-permissions]  - bukkit.broadcast.user (true): Allows the user to receive user broadcasts
[17:38:50 INFO]: [vane-permissions]  - bukkit.command.help (true): Allows the user to view the vanilla help menu
[17:38:50 INFO]: [vane-permissions]  - bukkit.command.plugins (true): Allows the user to view the list of plugins running on this server
[17:38:50 INFO]: [vane-permissions]  - bukkit.command.version (true): Allows the user to view the version of the server
[17:38:50 INFO]: [vane-permissions]  - minecraft.command.help (true): Allows the user to access Vanilla command help
[17:38:50 INFO]: [vane-permissions]  - minecraft.command.me (true): Allows the user to perform a chat action
[17:38:50 INFO]: [vane-permissions]  - minecraft.command.msg (true): Allows the user to privately message another player
[17:38:50 INFO]: [vane-permissions]  - minecraft.command.teammsg (true): Allows the user to specify the message to send to team
[17:38:50 INFO]: [vane-permissions]  - minecraft.command.trigger (true): Allows the use of the trigger command
[17:38:50 INFO]: [vane-permissions]  - minecraft.nbt.copy (true): Gives the user the ability to copy NBT in creative
[17:38:50 INFO]: [vane-permissions]  - vane.admin.commands.spawn (true): Allow access to /spawn
[17:38:50 INFO]: [vane-permissions]  - vane.trifles.commands.heads (true): Allow access to /heads
oddlama commented 2 years ago

Hmm this looks alright. The player will certainly not be able to build in the designated spawn area. Therefore, my current suspicion is that the spawn of your world is at a different location than you expect it to be.

Are you are using a plugin to handle player spawns?

EDIT: To set the actual spawn you can either use the x z based config or use vane's /setspawn command if you want to test this. If another plugin already registers /setspawn you can use /vane:admin:setspawn instead.

antonstech commented 2 years ago

@oddlama I tryed it out but it did not work. Spawn is set right

oddlama commented 2 years ago

Can you temporarily allow interactions at spawn? Maybe there's a bug with that option.

antonstech commented 2 years ago

@oddlama I will try :) Generel Question: The Protection Distance in server.properties should be 0 or?

oddlama commented 2 years ago

yeah that one is for the built-in protection of the minecraft server and should be disabled.

oddlama commented 2 years ago

Any updates on this?

antonstech commented 2 years ago

@oddlama Nope, still not working ://

oddlama commented 2 years ago

I'm kind of out-of ideas unfortunately. I've tested it on multiple servers now and cannot reproduce your issue. Which plugins do you have installed? And did you try setting an explicit block via (x,z) coordinate in the config?

antonstech commented 2 years ago

@oddlama I have installed all the Vane Plugins apart from waterfall and only bluemap and chunky. I will try setting it over that

antonstech commented 2 years ago

Btw if you want we can also move this to discord :)

oddlama commented 2 years ago

Resolution for future readers:

The world name on this server was different from the default name "world", which means the configuration setting world: "world" in vane-admin/config.yml had to be adjusted.