Code Monkey home page Code Monkey logo

headsweeper's People

Contributors

cc007 avatar killje avatar

Watchers

 avatar  avatar  avatar

headsweeper's Issues

PersistenceException on server start-up

Spigot 1.18.1-3429
HeadsPluginAPI 3.0.0
HeadSweeper 1.7.0

On server start-up (ie., onEnable):

[15:09:59] [Server thread/ERROR]: Error occurred while enabling HeadSweeper v1.7.0 (Is it up to date?)
org.apache.openjpa.persistence.PersistenceException: The transaction has been rolled back.  See the nested exceptions for details on the errors that occurred.
        at org.apache.openjpa.kernel.BrokerImpl.newFlushException(BrokerImpl.java:2475) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2310) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2201) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1964) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.kernel.QueryImpl.isInMemory(QueryImpl.java:1027) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:901) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:842) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:601) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:297) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:314) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.services.jpa.JpaQueryService.getMutableResultList(JpaQueryService.java:119) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.services.jpa.JpaQueryService.findAllByPropertyIn(JpaQueryService.java:78) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.repositories.jpa.JpaHeadRepository.findAllByHeadOwnerIn(JpaHeadRepository.java:32) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadUpdaterImpl.lambda$updateHeads$0(HeadUpdaterImpl.java:39) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.lambda$runTransacted$2(JpaNestableTransaction.java:72) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.runTransacted(JpaNestableTransaction.java:109) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.runTransacted(JpaNestableTransaction.java:70) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.runTransacted(JpaNestableTransaction.java:49) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadUpdaterImpl.updateHeads(HeadUpdaterImpl.java:31) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadSearcherImpl.lambda$updateSearch$5(HeadSearcherImpl.java:147) ~[HeadsPluginAPI-3.0.0.jar:?]
        at java.util.HashMap.forEach(HashMap.java:1421) ~[?:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadSearcherImpl.updateSearch(HeadSearcherImpl.java:146) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadSearcherImpl.updateHeadsIfNecessary(HeadSearcherImpl.java:98) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadSearcherImpl.lambda$getHeads$2(HeadSearcherImpl.java:74) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.lambda$runTransacted$2(JpaNestableTransaction.java:72) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.runTransacted(JpaNestableTransaction.java:109) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.runTransacted(JpaNestableTransaction.java:70) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.runTransacted(JpaNestableTransaction.java:49) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadSearcherImpl.lambda$getHeads$3(HeadSearcherImpl.java:72) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.business.services.ProfilerImpl.lambda$runProfiled$0(ProfilerImpl.java:41) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.business.services.ProfilerImpl.runProfiled(ProfilerImpl.java:64) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.business.services.ProfilerImpl.runProfiled(ProfilerImpl.java:41) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadSearcherImpl.getHeads(HeadSearcherImpl.java:71) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsweeper.HeadSweeper.initHeads(HeadSweeper.java:240) ~[HeadSweeper-1.7.0.jar:?]
        at com.github.cc007.headsweeper.HeadSweeper.onEnable(HeadSweeper.java:85) ~[HeadSweeper-1.7.0.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-api-1.18.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.18.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-api-1.18.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugin(CraftServer.java:521) ~[spigot-1.18.1-R0.1-SNAPSHOT.jar:3429-Spigot-6edb62f-6a54e5d]
        at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugins(CraftServer.java:435) ~[spigot-1.18.1-R0.1-SNAPSHOT.jar:3429-Spigot-6edb62f-6a54e5d]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:612) ~[spigot-1.18.1-R0.1-SNAPSHOT.jar:3429-Spigot-6edb62f-6a54e5d]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:414) ~[spigot-1.18.1-R0.1-SNAPSHOT.jar:3429-Spigot-6edb62f-6a54e5d]
        at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:262) ~[spigot-1.18.1-R0.1-SNAPSHOT.jar:3429-Spigot-6edb62f-6a54e5d]
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:994) ~[spigot-1.18.1-R0.1-SNAPSHOT.jar:3429-Spigot-6edb62f-6a54e5d]
        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.18.1-R0.1-SNAPSHOT.jar:3429-Spigot-6edb62f-6a54e5d]
        at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: org.apache.openjpa.persistence.EntityExistsException: integrity constraint violation: unique constraint or index violation; SYS_PK_10130 table: HEADS {prepstmnt 530551005 INSERT INTO heads (id, headOwner, name, value, version) VALUES (?, ?, ?, ?, ?)} [code=-104, state=23505]
        at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:5305) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:5280) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.jdbc.sql.HSQLDictionary.newStoreException(HSQLDictionary.java:405) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:134) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:75) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:146) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.jdbc.kernel.BatchingPreparedStatementManagerImpl.flushAndUpdate(BatchingPreparedStatementManagerImpl.java:80) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:102) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:90) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:555) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:109) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.jdbc.kernel.BatchingConstraintUpdateManager.flush(BatchingConstraintUpdateManager.java:61) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:109) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:81) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:755) ~[HeadsPluginAPI-3.0.0.jar:?]
        at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:146) ~[HeadsPluginAPI-3.0.0.jar:?]
        ... 45 more

NPE on server start-up

Paper 1.18.1-197 or Spigot 1.18.1-3429
HeadsPluginAPI 3.0.0
HeadSweeper 1.7.0

Everything seemed fine. I made a sweeper example. I played it successfully, several times. I shutdown the server.

On server start-up

[14:45:14] [Server thread/INFO]: [HeadSweeper] Enabling HeadSweeper v1.7.0
[14:45:14] [Server thread/INFO]: [HeadSweeper] Check if data folder exists...
[14:45:14] [Server thread/INFO]: [HeadSweeper] Data folder already exists
[14:45:14] [Server thread/INFO]: [HeadSweeper] Initializing minesweeper heads...
[14:45:14] [Server thread/INFO]: [com.github.cc007.headsplugin.business.services.heads.HeadSearcherImpl] Use cached heads for: Minesweeper
[14:45:15] [Server thread/INFO]: [com.github.cc007.headsplugin.business.services.ProfilerImpl] Heads for Minesweeper found in 1.056s.
[14:45:15] [Server thread/INFO]: [com.github.cc007.headsplugin.business.services.heads.HeadSearcherImpl] Use cached heads for: TNT
[14:45:17] [Server thread/INFO]: [com.github.cc007.headsplugin.business.services.ProfilerImpl] Heads for TNT found in 1.492s.
[14:45:17] [Server thread/INFO]: [HeadSweeper] Sweeperheads initialized
[14:45:17] [Server thread/INFO]: [HeadSweeper] Loading games...
[14:45:17] [Server thread/INFO]: [HeadSweeper] Create controller...
[14:45:17] [Server thread/ERROR]: Error occurred while enabling HeadSweeper v1.7.0 (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "org.bukkit.World.getBlockAt(int, int, int)" because the return value of "com.github.cc007.headsweeper.controller.HeadSweeperGame.getWorld()" is null
        at com.github.cc007.headsweeper.controller.HeadSweeperGame.initMetaData(HeadSweeperGame.java:254) ~[HeadSweeper-1.7.0.jar:?]
        at com.github.cc007.headsweeper.controller.HeadSweeperGame.<init>(HeadSweeperGame.java:90) ~[HeadSweeper-1.7.0.jar:?]
        at com.github.cc007.headsweeper.controller.HeadSweeperController.<init>(HeadSweeperController.java:59) ~[HeadSweeper-1.7.0.jar:?]
        at com.github.cc007.headsweeper.HeadSweeper.loadGames(HeadSweeper.java:213) ~[HeadSweeper-1.7.0.jar:?]
        at com.github.cc007.headsweeper.HeadSweeper.onEnable(HeadSweeper.java:89) ~[HeadSweeper-1.7.0.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:501) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugin(CraftServer.java:561) ~[paper-1.18.1.jar:git-Paper-197]
        at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugins(CraftServer.java:475) ~[paper-1.18.1.jar:git-Paper-197]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:727) ~[paper-1.18.1.jar:git-Paper-197]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:503) ~[paper-1.18.1.jar:git-Paper-197]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:313) ~[paper-1.18.1.jar:git-Paper-197]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1202) ~[paper-1.18.1.jar:git-Paper-197]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.18.1.jar:git-Paper-197]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
[14:45:17] [Server thread/INFO]: [HeadSweeper] Disabling HeadSweeper v1.7.0

This is a repeatable sequence of events.

404 error on freshcoal

and HeadSweeper is disabled.

>version head
[06:43:36] [Server thread/INFO]: HeadsPluginAPI version 3.1.0
[06:43:36] [Server thread/INFO]: The base heads API for other plugins to use
[06:43:36] [Server thread/INFO]: Author: Rik Schaaf aka CC007 (http://coolcat007.nl/)
[06:43:36] [Server thread/INFO]: HeadSweeper version 1.7.3
[06:43:36] [Server thread/INFO]: Spawn in heads as block
[06:43:36] [Server thread/INFO]: 
[06:43:36] [Server thread/INFO]: Website: http://coolcat007.nl/
[06:43:36] [Server thread/INFO]: Author: CC007
[06:43:36] [Server thread/INFO]: HeadsInventory version 1.11.1
[06:43:36] [Server thread/INFO]: Search for heads in the 
[06:43:36] [Server thread/INFO]: 
[06:43:36] [Server thread/INFO]: Author: Rik Schaaf aka CC007 (http://coolcat007.nl/)

HeadsPluginAPI/config.yml (note that freshcoal is disabled)

# used for new version detection
version: 3.1.0

headsplugin:
  # define which heads database should be enabled.
  provider:
    freshcoal: false
    mineskin: true
    minecraftHeads: true
  suppressHttpClientErrors: true
  search:
    update:
      # search update interval in minutes
      interval: 1440 # 1 day
  categories:
    update:
      # category update interval in hours
      interval: 168 # 1 week
    # define your custom categories here
    custom: []

profiler:
  defaultLogLevel: DEBUG

database:
  chunkSize: 500
[06:26:44] [Server thread/INFO]: [HeadSweeper] Enabling HeadSweeper v1.7.3
[06:26:44] [Server thread/INFO]: [HeadSweeper] Check if data folder exists...
[06:26:44] [Server thread/INFO]: [HeadSweeper] Data folder already exists
[06:26:44] [Server thread/INFO]: [HeadSweeper] Initializing minesweeper heads...
[06:26:45] [Server thread/ERROR]: Error occurred while enabling HeadSweeper v1.7.3 (Is it up to date?)
feign.FeignException$NotFound: [404 Not Found] during [GET] to [https://freshcoal.com/api.php?query=Minesweeper] [FreshCoalClient#find(String)]: [No input file specified.
]
        at feign.FeignException.clientErrorStatus(FeignException.java:201) ~[HeadsPluginAPI-3.1.0.jar:?]
        at feign.FeignException.errorStatus(FeignException.java:177) ~[HeadsPluginAPI-3.1.0.jar:?]
        at feign.FeignException.errorStatus(FeignException.java:169) ~[HeadsPluginAPI-3.1.0.jar:?]
        at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:92) ~[HeadsPluginAPI-3.1.0.jar:?]
        at feign.AsyncResponseHandler.handleResponse(AsyncResponseHandler.java:96) ~[HeadsPluginAPI-3.1.0.jar:?]
        at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:138) ~[HeadsPluginAPI-3.1.0.jar:?]
        at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:89) ~[HeadsPluginAPI-3.1.0.jar:?]
        at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:100) ~[HeadsPluginAPI-3.1.0.jar:?]
        at jdk.proxy14.$Proxy115.find(Unknown Source) ~[?:?]
        at com.github.cc007.headsplugin.integration.daos.FreshCoalDao.getHeads(FreshCoalDao.java:77) ~[HeadsPluginAPI-3.1.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadSearcherImpl.lambda$requestHeads$4(HeadSearcherImpl.java:124) ~[HeadsPluginAPI-3.1.0.jar:?]
        at java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:180) ~[?:?]
        at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169) ~[?:?]
        at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1715) ~[?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
        at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadSearcherImpl.requestHeads(HeadSearcherImpl.java:122) ~[HeadsPluginAPI-3.1.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadSearcherImpl.updateHeadsIfNecessary(HeadSearcherImpl.java:91) ~[HeadsPluginAPI-3.1.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadSearcherImpl.lambda$getHeads$2(HeadSearcherImpl.java:73) ~[HeadsPluginAPI-3.1.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.lambda$runTransacted$2(JpaNestableTransaction.java:71) ~[HeadsPluginAPI-3.1.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.runTransacted(JpaNestableTransaction.java:108) ~[HeadsPluginAPI-3.1.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.runTransacted(JpaNestableTransaction.java:69) ~[HeadsPluginAPI-3.1.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.runTransacted(JpaNestableTransaction.java:48) ~[HeadsPluginAPI-3.1.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadSearcherImpl.lambda$getHeads$3(HeadSearcherImpl.java:71) ~[HeadsPluginAPI-3.1.0.jar:?]
        at com.github.cc007.headsplugin.business.services.ProfilerImpl.lambda$runProfiled$0(ProfilerImpl.java:41) ~[HeadsPluginAPI-3.1.0.jar:?]
        at com.github.cc007.headsplugin.business.services.ProfilerImpl.runProfiled(ProfilerImpl.java:64) ~[HeadsPluginAPI-3.1.0.jar:?]
        at com.github.cc007.headsplugin.business.services.ProfilerImpl.runProfiled(ProfilerImpl.java:41) ~[HeadsPluginAPI-3.1.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadSearcherImpl.getHeads(HeadSearcherImpl.java:70) ~[HeadsPluginAPI-3.1.0.jar:?]
        at com.github.cc007.headsweeper.HeadSweeper.initHeads(HeadSweeper.java:241) ~[HeadSweeper-1.7.3.jar:?]
        at com.github.cc007.headsweeper.HeadSweeper.onEnable(HeadSweeper.java:86) ~[HeadSweeper-1.7.3.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugin(CraftServer.java:533) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3684-Spigot-41150f3-f770708]
        at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugins(CraftServer.java:447) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3684-Spigot-41150f3-f770708]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:589) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3684-Spigot-41150f3-f770708]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:414) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3684-Spigot-41150f3-f770708]
        at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:250) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3684-Spigot-41150f3-f770708]
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:975) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3684-Spigot-41150f3-f770708]
        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3684-Spigot-41150f3-f770708]
        at java.lang.Thread.run(Thread.java:1589) ~[?:?]

Feature request: Configuration to disable update check

Spigot 1.18.1-3433
NBTAPI 2.9.2-b217
HeadsPluginAPI 3.0.0
HeadSweeper 1.7.0

plugins/NBTAPI/config.yml

updateCheck:
  enabled: false

On sweeper create ... the following:

>sweeper create world_city -468 64 -20 8 8 16
[06:54:31] [Server thread/INFO]: [NBTAPI] Found Spigot: v1_18_R1! Trying to find NMS support
[06:54:31] [Server thread/INFO]: [NBTAPI] NMS support 'MC1_18_R1' loaded!
[06:54:31] [Server thread/INFO]: [NBTAPI] Found Gson: class com.google.gson.Gson
[06:54:31] [Thread-31/WARN]: [NBTAPI] Error while checking for updates!
java.net.SocketTimeoutException: Connection timed out
        at me.lucko.networkinterceptor.interceptors.ProxySelectorInterceptor$LoggingSelector.select(ProxySelectorInterceptor.java:65) ~[NetworkInterceptor-3.2.1.jar:?] 
        at com.github.games647.lagmonitor.listener.BlockingConnectionSelector.select(BlockingConnectionSelector.java:33) ~[LagMonitor-1.17.2-b191.jar:?]
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1232) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1118) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1116) ~[?:?]
        at java.security.AccessController.doPrivileged(AccessController.java:712) ~[?:?]
        at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:962) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1115) ~[?:?]
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:175) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1581) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1579) ~[?:?]
        at java.security.AccessController.doPrivileged(AccessController.java:712) ~[?:?]
        at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:962) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1578) ~[?:?]
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) ~[?:?]
        at com.github.cc007.headsplugin.nbtapi.utils.VersionChecker.checkForUpdates(VersionChecker.java:34) ~[HeadsPluginAPI-3.0.0.jar:?]
        at com.github.cc007.headsplugin.nbtapi.utils.MinecraftVersion.lambda$init$0(MinecraftVersion.java:125) ~[HeadsPluginAPI-3.0.0.jar:?]
        at java.lang.Thread.run(Thread.java:833) [?:?]
[06:54:31] [Server thread/INFO]: [HeadSweeper] The new minesweeper game has been created with game number 0.

We have our own automagical update-checker, and block outgoing calls from plugins. Please implement a configuration options to disable update checks by heads plugins.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.