- Баллы
- 88
Здравствуйте. Хотел ввести в свой проект систему авторегенерации приватов после неактивности игроков. Настроил конфиг (в принципе такой же как и был):
Но при вводе команды /asw purge - из сервера кик,после чего сервер перезагружается, с такими логами от ASW:
Дальше плагины отключаются и сервер тоже.
Подскажите как решить?
Или может лучше поставить другой плагин для этой задачи?
Код:
purge:
enabled: true
interval: 86400
awaytime: 2592000
ignorednicks: []
ignoreduuids: []
broadcast: true
wg:
enabled: true
regenpurgedregion: true
noregenoverlapregion: true
lwc:
enabled: false
deletepurgedblocks: false
residence:
regenpurgedresidence: false
permissions:
enabled: true
savecmd: pex reload
mywarp:
enabled: false
essentials:
enabled: true
dat:
enabled: true
Но при вводе команды /asw purge - из сервера кик,после чего сервер перезагружается, с такими логами от ASW:
Код:
[02:01:36] [Server thread/INFO]: nanorus issued server command: /asw purge
[02:01:37] [AutoSaveWorld AutoPurgeThread/INFO]: AutoPurging
[02:01:38] [AutoSaveWorld AutoPurgeThread/WARN]: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.UUID
[02:01:38] [AutoSaveWorld AutoPurgeThread/WARN]: at autosaveworld.features.purge.plugins.essentials.EssentialsPurge.doPurge(EssentialsPurge.java:26)
[02:01:38] [AutoSaveWorld AutoPurgeThread/WARN]: at autosaveworld.features.purge.AutoPurgeThread.performPurge(AutoPurgeThread.java:101)
[02:01:38] [AutoSaveWorld AutoPurgeThread/WARN]: at autosaveworld.features.purge.AutoPurgeThread.doTask(AutoPurgeThread.java:59)
[02:01:38] [AutoSaveWorld AutoPurgeThread/WARN]: at autosaveworld.features.IntervalTaskThread.run(IntervalTaskThread.java:57)
[02:01:57] [Timer-2/INFO]: [WorldGuard] Region data changes made in 'world' have been background saved
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: Server has stopped responding
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: Dumping threads info
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: Main thread
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: ------------------------------
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: Current Thread: Server thread
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: PID: 15 | Suspended: false | Native: false | State: TIMED_WAITING
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: Stack:
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.lang.Thread.sleep(Native Method)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: com.mojang.authlib.yggdrasil.YggdrasilGameProfileRepository.findProfilesByNames(YggdrasilGameProfileRepository.java:68)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: net.minecraft.server.management.PlayerProfileCache.func_152650_a(PlayerProfileCache.java:93)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: net.minecraft.server.management.PlayerProfileCache.func_152655_a(PlayerProfileCache.java:179)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: org.bukkit.craftbukkit.v1_7_R4.CraftServer.getOfflinePlayer(CraftServer.java:1310)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: ru.tehkode.permissions.bukkit.PermissionsEx.nameToUUID(PermissionsEx.java:355)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: ru.tehkode.permissions.PermissionManager.getUser(PermissionManager.java:171)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.playerRemoveGroup(Permission_PermissionsEx.java:131)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: net.milkbowl.vault.permission.Permission.playerRemoveGroup(Permission.java:750)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: autosaveworld.features.purge.plugins.permissions.VaultPurge$TaskQueue$1.run(VaultPurge.java:96)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: autosaveworld.utils.SchedulerUtils$1.run(SchedulerUtils.java:48)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:346)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:873)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:431)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:809)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: net.minecraft.server.MinecraftServer.run(MinecraftServer.java:669)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.lang.Thread.run(Thread.java:745)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: ------------------------------
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: Other threads
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: ------------------------------
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: Current Thread: Keep-Alive-Timer
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: PID: 1602 | Suspended: false | Native: false | State: TIMED_WAITING
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: Stack:
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.lang.Thread.sleep(Native Method)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:172)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.lang.Thread.run(Thread.java:745)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: ------------------------------
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: ------------------------------
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: Current Thread: Timer-3
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: PID: 231 | Suspended: false | Native: false | State: WAITING
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: Stack:
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.lang.Object.wait(Native Method)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.lang.Object.wait(Object.java:502)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.util.TimerThread.mainLoop(Timer.java:526)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.util.TimerThread.run(Timer.java:505)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: ------------------------------
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: ------------------------------
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: Current Thread: AE Compass Service
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: PID: 155 | Suspended: false | Native: false | State: WAITING
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: Stack:
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: sun.misc.Unsafe.park(Native Method)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: java.lang.Thread.run(Thread.java:745)
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: ------------------------------
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: ------------------------------
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: Current Thread: pool-10-thread-1
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: PID: 123 | Suspended: false | Native: false | State: TIMED_WAITING
[02:02:38] [AutoSaveWorld CrashRestartThread/ERROR]: Stack:
много таких сообщений..
Подскажите как решить?
Или может лучше поставить другой плагин для этой задачи?