RedProtect Anti-Grief

RedProtect Anti-Grief

73.3k Downloads

[Problema]

marquitoxxz opened this issue · 1 comments

commented

Problema ao utilizar a função ''Need-claim-to-build'' ao colocar o nome do mundo é apresentado o seguinte erro:

[19:40:36 INFO]: [RedProtect] Server version: 1.17.1-R0.1-SNAPSHOT
[19:40:36 INFO]: [RedProtect] Error on add config properties for world world: Cannot read field "region_settings" because "this.root" is null
[19:40:36 WARN]: java.lang.NullPointerException: Cannot read field "region_settings" because "this.root" is null
[19:40:36 WARN]: at RedProtect-7.7.2-b357-Universal.jar//br.net.fabiozumbi12.RedProtect.Bukkit.config.ConfigManager.addWorldProperties(ConfigManager.java:442)
[19:40:36 WARN]: at RedProtect-7.7.2-b357-Universal.jar//br.net.fabiozumbi12.RedProtect.Bukkit.config.ConfigManager.(ConfigManager.java:256)
[19:40:36 WARN]: at RedProtect-7.7.2-b357-Universal.jar//br.net.fabiozumbi12.RedProtect.Bukkit.RedProtect.startLoad(RedProtect.java:195)
[19:40:36 WARN]: at RedProtect-7.7.2-b357-Universal.jar//br.net.fabiozumbi12.RedProtect.Bukkit.RedProtect.reload(RedProtect.java:168)
[19:40:36 WARN]: at RedProtect-7.7.2-b357-Universal.jar//br.net.fabiozumbi12.RedProtect.Bukkit.commands.CommandHandler.onCommand(CommandHandler.java:584)
[19:40:36 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[19:40:36 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
[19:40:36 WARN]: at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:841)
[19:40:36 WARN]: at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchServerCommand(CraftServer.java:804)
[19:40:36 WARN]: at net.minecraft.server.dedicated.DedicatedServer.handleCommandQueue(DedicatedServer.java:518)
[19:40:36 WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:480)
[19:40:36 WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1475)
[19:40:36 WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1274)
[19:40:36 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
[19:40:36 WARN]: at java.base/java.lang.Thread.run(Thread.java:831)
[19:40:36 WARN]: java.lang.NullPointerException: Cannot invoke "ninja.leaping.configurate.ConfigurationNode.setValue(com.google.common.reflect.TypeToken, Object)" because "this.gflagsRoot" is null
[19:40:36 WARN]: at RedProtect-7.7.2-b357-Universal.jar//br.net.fabiozumbi12.RedProtect.Core.config.CoreConfigManager.saveGFlags(CoreConfigManager.java:226)
[19:40:36 WARN]: at RedProtect-7.7.2-b357-Universal.jar//br.net.fabiozumbi12.RedProtect.Bukkit.config.ConfigManager.addWorldProperties(ConfigManager.java:468)
[19:40:36 WARN]: at RedProtect-7.7.2-b357-Universal.jar//br.net.fabiozumbi12.RedProtect.Bukkit.config.ConfigManager.(ConfigManager.java:256)
[19:40:36 WARN]: at RedProtect-7.7.2-b357-Universal.jar//br.net.fabiozumbi12.RedProtect.Bukkit.RedProtect.startLoad(RedProtect.java:195)
[19:40:36 WARN]: at RedProtect-7.7.2-b357-Universal.jar//br.net.fabiozumbi12.RedProtect.Bukkit.RedProtect.reload(RedProtect.java:168)
[19:40:36 WARN]: at RedProtect-7.7.2-b357-Universal.jar//br.net.fabiozumbi12.RedProtect.Bukkit.commands.CommandHandler.onCommand(CommandHandler.java:584)
[19:40:36 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[19:40:36 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
[19:40:36 WARN]: at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:841)
[19:40:36 WARN]: at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchServerCommand(CraftServer.java:804)
[19:40:36 WARN]: at net.minecraft.server.dedicated.DedicatedServer.handleCommandQueue(DedicatedServer.java:518)
[19:40:36 WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:480)
[19:40:36 WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1475)
[19:40:36 WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1274)
[19:40:36 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
[19:40:36 WARN]: at java.base/java.lang.Thread.run(Thread.java:831)

CONFIGURAÇÃO NA config.yml : # Adding world names to the list will automatically enable this on that world.

To bypass this option, use the permission: redprotect.need-claim-to-build.bypass

needed-claim-to-build {
lavaland

Versão do servidor: 1.17.1
Versão do plugin: latest
PS: Caso não seja um erro e sim um mau uso favor me responder com a forma correta de usar

commented

SIm, tem que seguir como esta as outras configs. Tem que por aspas entre as string senao quebra a config