Не работают ограничения по кол-ву приватов WorldGuard.

Awec0m

Пользователь
Плагин
World Guard, LuckPerms, Vault
Ядро сервера
Paper
Версия сервера
Другое
Всем привет! Возникла проблема: при попытке заприватить 4-й регион не дает это сделать, хотя в конфиге поставил:
Код:
max-region-count-per-player:
  default: 3
  fly: 4
  vip: 5
  creative: 6
  premium: 8
  king: 10
  god: 20
В консоле так же появляется ошибка:
[14:12:12 WARN]: java.lang.UnsupportedOperationException: SuperPerms no group permissions.
[14:12:12 WARN]: at net.milkbowl.vault.permission.plugins.Permission_SuperPerms.getPlayerGroups(Permission_SuperPerms.java:91)
[14:12:12 WARN]: at net.milkbowl.vault.permission.Permission.getPlayerGroups(Permission.java:637)
[14:12:12 WARN]: at net.milkbowl.vault.permission.Permission.getPlayerGroups(Permission.java:649)
[14:12:12 WARN]: at com.sk89q.wepif.VaultResolver.getGroups(VaultResolver.java:115)
[14:12:12 WARN]: at com.sk89q.wepif.PermissionsResolverManager.getGroups(PermissionsResolverManager.java:180)
[14:12:12 WARN]: at com.sk89q.worldguard.bukkit.WorldGuardPlugin.getGroups(WorldGuardPlugin.java:330)
[14:12:12 WARN]: at com.sk89q.worldguard.bukkit.BukkitPlayer.getGroups(BukkitPlayer.java:207)
[14:12:12 WARN]: at com.sk89q.worldguard.config.WorldConfiguration.getMaxRegionCount(WorldConfiguration.java:247)
[14:12:12 WARN]: at com.sk89q.worldguard.commands.region.RegionCommands.claim(RegionCommands.java:266)
[14:12:12 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[14:12:12 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[14:12:12 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[14:12:12 WARN]: at java.lang.reflect.Method.invoke(Unknown Source)
[14:12:12 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:526)
[14:12:12 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:514)
[14:12:12 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:469)
[14:12:12 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:407)
[14:12:12 WARN]: at com.sk89q.worldguard.bukkit.WorldGuardPlugin.onCommand(WorldGuardPlugin.java:273)
[14:12:12 WARN]: at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:54)
[14:12:12 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
[14:12:12 WARN]: at org.bukkit.craftbukkit.v1_16_R1.CraftServer.dispatchCommand(CraftServer.java:794)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PlayerConnection.handleCommand(PlayerConnection.java:1908)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:1719)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(PacketPlayInChat.java:47)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.TickTask.run(SourceFile:18)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.aZ(MinecraftServer.java:1136)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.executeNext(MinecraftServer.java:1129)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1090)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1004)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177)
[14:12:12 WARN]: at java.lang.Thread.run(Unknown Source)
Плагин на привилегии - LuckPerms, группа - Fly, Vault установлен
Ядро - Paper 1.16.1
Как исправить?
 

GIGABAIT

Премиум
В каталоге где ядро сервера есть файлик wepif.yml. Попробуй его настроить как у меня
YAML:
ignore-nijiperms-bridges: true
resolvers:
    enabled:
    - PluginPermissionsResolver
    - PermissionsExResolver
    - bPermissionsResolver
    - GroupManagerResolver
    - NijiPermissionsResolver
    - VaultResolver
    - DinnerPermsResolver
    - FlatFilePermissionsResolver
permissions:
    groups:
        default:
            permissions:
            - worldedit.reload
            - worldedit.selection
            - worlds.creative.worldedit.region
        admins:
            permissions:
            - '*'
    users:
        ТВОЙ НИК:
            permissions:
            - worldedit
            groups:
            - admins
 

Rizraz

Пользователь
Всем привет! Возникла проблема: при попытке заприватить 4-й регион не дает это сделать, хотя в конфиге поставил:
Код:
max-region-count-per-player:
  default: 3
  fly: 4
  vip: 5
  creative: 6
  premium: 8
  king: 10
  god: 20
В консоле так же появляется ошибка:
[14:12:12 WARN]: java.lang.UnsupportedOperationException: SuperPerms no group permissions.
[14:12:12 WARN]: at net.milkbowl.vault.permission.plugins.Permission_SuperPerms.getPlayerGroups(Permission_SuperPerms.java:91)
[14:12:12 WARN]: at net.milkbowl.vault.permission.Permission.getPlayerGroups(Permission.java:637)
[14:12:12 WARN]: at net.milkbowl.vault.permission.Permission.getPlayerGroups(Permission.java:649)
[14:12:12 WARN]: at com.sk89q.wepif.VaultResolver.getGroups(VaultResolver.java:115)
[14:12:12 WARN]: at com.sk89q.wepif.PermissionsResolverManager.getGroups(PermissionsResolverManager.java:180)
[14:12:12 WARN]: at com.sk89q.worldguard.bukkit.WorldGuardPlugin.getGroups(WorldGuardPlugin.java:330)
[14:12:12 WARN]: at com.sk89q.worldguard.bukkit.BukkitPlayer.getGroups(BukkitPlayer.java:207)
[14:12:12 WARN]: at com.sk89q.worldguard.config.WorldConfiguration.getMaxRegionCount(WorldConfiguration.java:247)
[14:12:12 WARN]: at com.sk89q.worldguard.commands.region.RegionCommands.claim(RegionCommands.java:266)
[14:12:12 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[14:12:12 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[14:12:12 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[14:12:12 WARN]: at java.lang.reflect.Method.invoke(Unknown Source)
[14:12:12 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:526)
[14:12:12 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:514)
[14:12:12 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:469)
[14:12:12 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:407)
[14:12:12 WARN]: at com.sk89q.worldguard.bukkit.WorldGuardPlugin.onCommand(WorldGuardPlugin.java:273)
[14:12:12 WARN]: at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:54)
[14:12:12 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
[14:12:12 WARN]: at org.bukkit.craftbukkit.v1_16_R1.CraftServer.dispatchCommand(CraftServer.java:794)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PlayerConnection.handleCommand(PlayerConnection.java:1908)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:1719)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(PacketPlayInChat.java:47)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.TickTask.run(SourceFile:18)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.aZ(MinecraftServer.java:1136)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.executeNext(MinecraftServer.java:1129)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1090)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1004)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177)
[14:12:12 WARN]: at java.lang.Thread.run(Unknown Source)
Плагин на привилегии - LuckPerms, группа - Fly, Vault установлен
Ядро - Paper 1.16.1
Как исправить?
Вот тема я уже пофиксил
Авто объединение сообщений:

Всем привет! Возникла проблема: при попытке заприватить 4-й регион не дает это сделать, хотя в конфиге поставил:
Код:
max-region-count-per-player:
  default: 3
  fly: 4
  vip: 5
  creative: 6
  premium: 8
  king: 10
  god: 20
В консоле так же появляется ошибка:
[14:12:12 WARN]: java.lang.UnsupportedOperationException: SuperPerms no group permissions.
[14:12:12 WARN]: at net.milkbowl.vault.permission.plugins.Permission_SuperPerms.getPlayerGroups(Permission_SuperPerms.java:91)
[14:12:12 WARN]: at net.milkbowl.vault.permission.Permission.getPlayerGroups(Permission.java:637)
[14:12:12 WARN]: at net.milkbowl.vault.permission.Permission.getPlayerGroups(Permission.java:649)
[14:12:12 WARN]: at com.sk89q.wepif.VaultResolver.getGroups(VaultResolver.java:115)
[14:12:12 WARN]: at com.sk89q.wepif.PermissionsResolverManager.getGroups(PermissionsResolverManager.java:180)
[14:12:12 WARN]: at com.sk89q.worldguard.bukkit.WorldGuardPlugin.getGroups(WorldGuardPlugin.java:330)
[14:12:12 WARN]: at com.sk89q.worldguard.bukkit.BukkitPlayer.getGroups(BukkitPlayer.java:207)
[14:12:12 WARN]: at com.sk89q.worldguard.config.WorldConfiguration.getMaxRegionCount(WorldConfiguration.java:247)
[14:12:12 WARN]: at com.sk89q.worldguard.commands.region.RegionCommands.claim(RegionCommands.java:266)
[14:12:12 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[14:12:12 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[14:12:12 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[14:12:12 WARN]: at java.lang.reflect.Method.invoke(Unknown Source)
[14:12:12 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:526)
[14:12:12 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:514)
[14:12:12 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:469)
[14:12:12 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:407)
[14:12:12 WARN]: at com.sk89q.worldguard.bukkit.WorldGuardPlugin.onCommand(WorldGuardPlugin.java:273)
[14:12:12 WARN]: at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:54)
[14:12:12 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
[14:12:12 WARN]: at org.bukkit.craftbukkit.v1_16_R1.CraftServer.dispatchCommand(CraftServer.java:794)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PlayerConnection.handleCommand(PlayerConnection.java:1908)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:1719)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(PacketPlayInChat.java:47)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.TickTask.run(SourceFile:18)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.aZ(MinecraftServer.java:1136)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.executeNext(MinecraftServer.java:1129)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1090)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1004)
[14:12:12 WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177)
[14:12:12 WARN]: at java.lang.Thread.run(Unknown Source)
Плагин на привилегии - LuckPerms, группа - Fly, Vault установлен
Ядро - Paper 1.16.1
Как исправить?
Если кому интересно кто столкнётся с такой проблемой, то решение дописать в файл wepif.yml, который находится в корне вашего сервера строку disabled и поместить в неё VaultResolver.
Но это решение для тех кто как и я использует кастомный Vault от CMI, у других мне кажется кто юзает инжектор и другой Vault будет всё в порядке, не знаю как это связано, проверять сейчас не хочу. Всё
YAML:
ignore-nijiperms-bridges: true
resolvers:
    enabled:
    - PluginPermissionsResolver
    - PermissionsExResolver
    - bPermissionsResolver
    - GroupManagerResolver
    - NijiPermissionsResolver
    - DinnerPermsResolver
    - FlatFilePermissionsResolver
    disabled:
    - VaultResolver
Авто объединение сообщений:

Закинь в корневую папку сервера, где ядро старт батник и bukkitspigotpaper .yml
 

Вложения

Awec0m

Пользователь
Вот тема я уже пофиксил
Авто объединение сообщений:



Авто объединение сообщений:

Закинь в корневую папку сервера, где ядро старт батник и bukkitspigotpaper .yml
Спасибо, получилось!
 

Комнаты в чате

Верх Низ