Git Product home page Git Product logo

headsplus's Introduction

Loading beautiful image ;)

HeadsPlus Project

HeadsPlus (referred to as the HeadsPlus Project on Github) is one of Spigot's most ambitious and advanced heads plugins, providing several new and unique features to servers of which have never been seen before. Minecraft's skulls are an important asset to bringing forth incredible amounts of creativity without further intervention by resource packs, mods and data packs, so HeadsPlus makes sure they are used to the best of their ability.

Currently, HeadsPlus has 21,000+ downloads, over 50 reviews (55/60) praising the plugin, 600+ live servers with 600-1200 players, and a committed developer always looking to find ways to improve the plugin even more and make it stand out even more among other plugins.

Installation/Cloning

HeadsPlus uses Maven to manage its dependencies, with most of these provided in a library folder within the project.

The command which is used by the developer herself is mvn clean install and should work fine on itself.

HeadsPlus uses the CraftBukkit API, which requires you to have run BuildTools on your system for each version.

Using HeadsPlus in Maven

HeadsPlus uses JitPack to host its repository. To use HeadsPlus as a library in your project, add the following in your project:

    <repositories>
	<repository>
	    <id>jitpack.io</id>
	    <url>https://jitpack.io</url>
	</repository>
    </repositories>
    <dependencies>
        <dependency>
            <groupId>com.github.Thatsmusic99</groupId>
	    <artifactId>HeadsPlus</artifactId>
	    <version>v6.10.5-SNAPSHOT-1</version>
	</dependency>
    </dependencies>

More information

Important documents

headsplus's People

Contributors

brainsynder-dev avatar chew avatar gorbiel avatar jascotty2 avatar paulbgd avatar stashenko avatar steve4744 avatar thatsmusic99 avatar youhavetrouble avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

headsplus's Issues

Feature Tracker: HeadsPlus

As I get busier and busier, it's harder to keep track of stuff I want to sort out/add, so I'll leave it here for you all to see.

  • Redo locale system
  • Add XP modify command
  • Leaderboard in XP
  • Attempt to make as much of the GUIs "interactive"
    • E.g. for configuration in-game, enabling and disabling options just using clicks, storing all changes in a log file
  • Add head "bundles" moving to HPC, people are obviously going to abuse it as a free resource
  • Clean up the debug command
  • Add more debugging to events
  • Maybe create a different config for debugging?
  • Improve locale for other config files
  • Finish the damn wiki
  • Allow challenge tracking, so players can "pin" challenges and filter out ones they have/haven't done
  • Add [HBuy] (buy from /heads through just a sign) and [HSell] signs
  • Maybe a "head history" feature.

Feel free to suggest anything below or in a separate report.

[BUG] Item in final hot bar inventory slot gets removed

DO NOT ERASE THE TEMPLATE

FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS? Have you checked to see if others have submitted the same bug report?

State here when you have checked the following points above.
There are no other open issues.
Present in Version 6.5 and 6.5.1

Description of the bug

When clicking on item in the heads menu, it removes player's hot bar item in final slot.

To Reproduce

Steps to reproduce the behavior:

  1. Have an item in slot 9 of the hot bar
  2. Run /heads
  3. Click on any item
  4. Slot 9 item is removed

Have you been able to reproduce the bug more than once?

Yes

Expected behavior

Nothing should happen to slot 9

Screenshots

If applicable, add screenshots to help explain your problem.

Has a debug report been generated?

If you have a debug report, go to plugin/HeadsPlus/debug, copy your report onto pastebin or hastebin, and paste it here, but also skip to the bottom question (additional information). If you don't, fill in the information below.

Required information

  • Server version: 1.14.3
  • HeadsPlus version: 6.5.1 (and 6.5)
  • Whether or not the plugin uses MySQL - no
  • Server type (e.g Spigot, Paper): Spigot
  • Uses Vault: Yes
  • Any other pieces of information that may be required.

Additional information

Add any other information/notes you'd like to add at the bottom

I believe this is result of commit 79d4c08

         if (!im.isGlitchSlotFilled() && im.inventory != null) {
                p.getInventory().setItem(8, new ItemStack(Material.AIR));
            }

Can't test myself as I'm having trouble getting Eclipse and Maven to play nicely with the new repo and new pom.xml.

[BUG] Vault problem

DO NOT ERASE THE TEMPLATE

FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS? Latest version at the time

Description of the bug

HeadsPlus can't detect vault

To Reproduce

Steps to reproduce the behavior:

  1. Start server

Have you been able to reproduce the bug more than once?

Every time I start the server

Expected behavior

I expect it to hook up to vault, so I can use /sellhead

Screenshots

image

Has a debug report been generated?

https://pastebin.com/EU3ZRcM4

Required information

  • Server version: git-Paper-124 (MC: 1.14.3)
  • HeadsPlus version: 6.5.1
  • Whether or not the plugin uses MySQL: no, it does not
  • Server type (e.g Spigot, Paper): Paper
  • Uses Vault: can't really tell, it can't detect vault

Additional information

I'm using the latest version of vault (1.7.2-b107)
HeadsPlus config file is default (no changes, as generated)
Latest log from console: https://pastebin.com/9BuGeHrJ

TOS/Licensing issues

You state that you're under the MIT license but have the GPL-3.0 license in the project repo. If you are migrating away from the MIT license, you will need to prove written consent from any author whose code exists in the project from when the project was under the MIT license (Jul 11, 2019-Jul 11, 2020). If you're not, then you can revert back to MIT as you were the only contributor since the license file was changed.

More Information

EDIT: Sorry, MIT can go to GPL without theses steps since it's GPL compatible, but not the other way without permission.

Additionally, your TOS violates both the MIT and GPL-3.0 licenses which allow modification and distribution. You cannot restrict the redistribution of your project nor can you restrict the distribution of modified versions of the project.

Disclaimer: I'm not a lawyer, so you should speak to a legal consultant.

[BUG]

DO NOT ERASE THE TEMPLATE

FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS? Have you checked to see if others have submitted the same bug report?

  • Yes, I have checked existing bug reports
  • Yes, I am using the latest version (6.11.1)

Description of the bug

This error message appears in the server log:

[11:14:49 ERROR]: There is a configuration error in the plugin configuration files! Details below:
[11:14:49 ERROR]: while parsing a block mapping
 in 'string', line 76, column 3:
      locale:
      ^
expected <block end>, but found '<block mapping start>'
 in 'string', line 158, column 5:
        not-enough-heads: '{header} 你头颅不够!'
        ^

[11:14:49 ERROR]: We have renamed the faulty configuration to zh_cn-errored.yml for you to inspect.
[11:14:49 ERROR]: When you believe you have fixed the problems, change the file name back to zh_cn.yml and reload the configuration.
[11:14:49 ERROR]: If you are unsure, please contact the developer (Thatsmusic99).

To Reproduce

Steps to reproduce the behavior:

  1. Install latest version in plugin folder
  2. Start server
  3. Observe error

Have you been able to reproduce the bug more than once?

Yes

Expected behavior

No error messages in the server log

Screenshots

If applicable, add screenshots to help explain your problem.

Has a debug report been generated?

If you have a debug report, go to plugin/HeadsPlus/debug, copy your report onto pastebin or hastebin, and paste it here, but also skip to the bottom question (additional information). If you don't, fill in the information below.

Required information

  • Server version: 1.15.2
  • HeadsPlus version: 6.11.1
  • Whether or not the plugin uses MySQL: no
  • Server type (e.g Spigot, Paper): Paper
  • Uses Vault: Yes
  • Any other pieces of information that may be required.

Additional information

Add any other information/notes you'd like to add at the bottom

The plugin renamed this configuration file that it says is the culprit https://paste.ubuntu.com/p/GZHjBtW6TJ/

Remove Redundant Warning: Skull textures no longer an issue with latest Paper

The issue PaperMC/Paper#3667 is now closed and the bug is fixed
The warning and disabled commands are no longer necessary (as far as I can see)

Warning issued by HeadsPlus v6.10.10

>....     [22:57:00 WARN: [HeadsPlus] WARNING: Due to Paper's current state (1.16.1), HeadsPlus does not function correctly.]
>....     [22:57:00 WARN: [HeadsPlus] It will not be disabled, however /head and /myhead have been disabled due to critical bugs.]
>....     [22:57:00 WARN: [HeadsPlus] For more information, please refer to https://github.com/PaperMC/Paper/issues/3667]
>....     [22:57:00 WARN: [HeadsPlus] Custom head textures will not work either, and nor will they work for other plugins.]
>....     [22:57:00 WARN: [HeadsPlus] Once the issue is fixed, this warning will be removed.]

[BUG] Error thrown when creating the head

FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS?

Yes, I downloaded the newest version on spigot today.

Description of the bug

Some heads are using default player texture

Have you been able to reproduce the bug more than once?

Every time when starting the server

Has a debug report been generated?

/headsplus debug dump did not work (I tried both client and server console)

Required information

  • Server version: 1.16.1
  • HeadsPlus version: v6.10.11
  • Whether or not the plugin uses MySQL: no
  • Server type (e.g Spigot, Paper): PaperMC (build 108)
  • Uses Vault: yes
  • I'm using only the heads that come with default config (no custom heads)

Additional information

latest log: https://hastebin.com/efozeretas.sql

bug

[
{
"Special message": "NullPointer for president!",
"Locale": "Romanian, Romania",
"MySQL is enabled": false,
"Exception details": {
"Stacktrace": [
"java.lang.NullPointerException\n\tat io.github.thatsmusic99.headsplus.config.levels.HeadsPlusLevels.loadLevels(HeadsPlusLevels.java:47)\n\tat io.github.thatsmusic99.headsplus.config.levels.HeadsPlusLevels.reloadC(HeadsPlusLevels.java:40)\n\tat io.github.thatsmusic99.headsplus.config.ConfigSettings.enable(ConfigSettings.java:17)\n\tat io.github.thatsmusic99.headsplus.config.levels.HeadsPlusLevels.(HeadsPlusLevels.java:25)\n\tat io.github.thatsmusic99.headsplus.HeadsPlus.createInstances(HeadsPlus.java:452)\n\tat io.github.thatsmusic99.headsplus.HeadsPlus.onEnable(HeadsPlus.java:108)\n\tat org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)\n\tat org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316)\n\tat org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)\n\tat org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395)\n\tat org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344)\n\tat net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442)\n\tat net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403)\n\tat net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341)\n\tat net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:289)\n\tat net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616)\n\tat java.lang.Thread.run(Thread.java:748)\n"
],
"Fired when": "Startup"
},
"Server version": "git-Paper-1618 (MC: 1.12.2)",
"HeadsPlus version": "6.6.6",
"Plugin values": {
"MySQL is enabled": false,
"Masks enabled": true,
"Uses leaderboards": true,
"Levels enabled": true,
"Allows looting enchantment": true,
"Uses heads selector": true,
"Cached players": 0,
"Total levels": 0,
"Stops placement of sellable heads": false,
"Droppable heads enabled": true,
"Player death messages": false,
"Total challenges": 931
},
"NMS version": "v1_12_R1",
"Date": "11/02/2019 03:38:34",
"Has Vault hooked": true
}
]

[PERFORMANCE] Player head drops in offline mode causes lag spikes

For some reason, when an offline-mode player (that doesn't have a valid online-mode counterpart) has a head drop event initiated, it causes a significant lag spike that can be tracked in Aikar's timings. Why it happens when the query to Mojang's API is meant to be async? No clue.

Unconfirmed with v7 but should be reproducible with Spoofer.

Missing head names [BUG]

Head names are missing in the /heads head browser after switching to 6.11.7 or 6.11.8.
I can reproduce it with default configs.

6.11.6
hp-1

6.11.7/6.11.8
hp-2

Required information

  • Server version: Paper 1.16.5
  • HeadsPlus version: 6.11.8
  • Using default config
  • Uses Vault: yes

[BUG] NPE from trying to open the favourites menu

Taken using the customheads.yml "extreme" dataset:

[13:23:09 WARN]: [HeadsPlus] Plugin HeadsPlus v7.0.0-BETA-1 generated an exception while executing task 137
java.lang.NullPointerException: Cannot invoke "io.github.thatsmusic99.headsplus.config.ConfigHeadsSelector$BuyableHeadInfo.forceBuildHead()" because the return value of "io.github.thatsmusic99.headsplus.config.ConfigHeadsSelector.getBuyableHead(String)" is null
        at io.github.thatsmusic99.headsplus.inventories.icons.content.CustomHead.<init>(CustomHead.java:32) ~[HeadsPlus-7.0.0-BETA-1.jar:?]
        at io.github.thatsmusic99.headsplus.inventories.list.HeadsFavourite.transformContents(HeadsFavourite.java:40) ~[HeadsPlus-7.0.0-BETA-1.jar:?]
        at io.github.thatsmusic99.headsplus.inventories.BaseInventory.lambda$new$1(BaseInventory.java:70) ~[HeadsPlus-7.0.0-BETA-1.jar:?]
        at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-373]
        at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[patched_1.17.1.jar:git-Paper-373]
        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.17.1.jar:git-Paper-373]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
        at java.lang.Thread.run(Thread.java:831) ~[?:?]

error[BUG]

DO NOT ERASE THE TEMPLATE

FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS?

paperspigot 1.15.2 #143
headsplus 6.9.4

Description of the bug

error console

  1. after player connect to server
  2. some errors

To Reproduce

Steps to reproduce the behavior:

  • only system error

Have you been able to reproduce the bug more than once?

Expected behavior

no errors

Screenshots

console bug

Has a debug report been generated?

[HeadsPlus] Task #213413 for HeadsPlus v6.9.4 generated an exception
23.03 16:50:43 [Server] INFO java.lang.NullPointerException: null
[15:55:05] [Server thread/WARN]: [HeadsPlus] Task #213413 for HeadsPlus v6.9.4 generated an exception
java.lang.NullPointerException: null
at io.github.thatsmusic99.headsplus.api.HPPlayer.clearMask(HPPlayer.java:110) ~[?:?]
at io.github.thatsmusic99.headsplus.listeners.MaskEvent$1.run(MaskEvent.java:47) ~[?:?]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.15.2.jar:git-Paper-143]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:452) ~[patched_1.15.2.jar:git-Paper-143]
at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1185) ~[patched_1.15.2.jar:git-Paper-143]
at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:430) ~[patched_1.15.2.jar:git-Paper-143]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1112) ~[patched_1.15.2.jar:git-Paper-143]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:934) ~[patched_1.15.2.jar:git-Paper-143]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
at org.bukkit.craftbukkit.v1_15_R1.inventory.CraftItemStack.setItemMeta(CraftItemStack.java:518) ~[patched_1.15.2.jar:git-Paper-143]
at org.bukkit.craftbukkit.v1_15_R1.inventory.CraftItemStack.asNMSCopy(CraftItemStack.java:42) ~[patched_1.15.2.jar:git-Paper-143]
at org.bukkit.craftbukkit.v1_15_R1.CraftWorld.dropItem(CraftWorld.java:696) ~[patched_1.15.2.jar:git-Paper-143]
at io.github.thatsmusic99.headsplus.listeners.DeathEvents.dropHead(DeathEvents.java:414) ~[?:?]
at io.github.thatsmusic99.headsplus.listeners.DeathEvents.onEntityDeath(DeathEvents.java:184) ~[?:?]

Required information

  • Server version: paperspigot 1.15.2 #143
  • HeadsPlus version:6.9.4
  • no MySQL
  • Server type paperspigot
  • Uses Vault: yes

Additional information

[BUG] Unquoted Variables

Description of the bug

A typical head blockstate could be as follows:

minecraft:player_head[rotation=9]{Owner:{Id:"0bbd8cd5-ef7e-3468-9a52-15d74185212a",Properties:{textures:[{Value:"e3RleHR1cmVzOntTS0lOOnt1cmw6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODM5YWY0NzdlYjYyNzgxNWY3MjNhNTY2MjU1NmVjOWRmY2JhYjVkNDk0ZDMzOGJkMjE0MjMyZjIzZTQ0NiJ9fX0="}]},Name:"HPXHead"}}

The decoded value is:

{textures:{SKIN:{url:"http://textures.minecraft.net/texture/839af477eb627815f723a5662556ec9dfcbab5d494d338bd214232f23e446"}}}

This has missing quotes on the variables names which can cause issues (translating a head to bedrock using Geyser gets stuck on this issue).
I recommend making sure all variables are properly quoted. Here is an older head on my server that works fine:

minecraft:player_head[rotation=7]{Owner:{Id:"913e13b0-29b5-3dac-b14e-89b147bab990",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2U0MWM2MDU3MmM1MzNlOTNjYTQyMTIyODkyOWU1NGQ2Yzg1NjUyOTQ1OTI0OWMyNWMzMmJhMzNhMWIxNTE3In19fQ"}]},Name:"HPXHead"}}

which decodes to

{
  "textures": {
    "SKIN": {
      "url": "http://textures.minecraft.net/texture/3e41c60572c533e93ca421228929e54d6c856529459249c25c32ba33a1b1517"
    }
  }
}

Note. I work around the issue by allowing unquoted but its better to fix at the source.

Required information

  • Server version: Spigot-v1.16.4
  • HeadsPlus version: v6.11.1
  • Whether or not the plugin uses MySQL: no
  • Server type (e.g Spigot, Paper):: spigot
  • Uses Vault: yes

Related Issue: bundabrg/Geyser#10

/hpc

[Sat, 11. Dec 2021 13:51:29 MSK INFO] rkfsociety issued server command: /hpc
[Sat, 11. Dec 2021 13:51:29 MSK WARN] java.lang.NullPointerException: Cannot invoke "io.github.thatsmusic99.configurationmaster.api.ConfigFile.getInteger(String)" because "this.hpi" is null
[Sat, 11. Dec 2021 13:51:29 MSK WARN] at HeadsPlus-7.0.1.jar//io.github.thatsmusic99.headsplus.inventories.BaseInventory.(BaseInventory.java:60)
[Sat, 11. Dec 2021 13:51:29 MSK WARN] at HeadsPlus-7.0.1.jar//io.github.thatsmusic99.headsplus.inventories.list.ChallengesMenu.(ChallengesMenu.java:16)
[Sat, 11. Dec 2021 13:51:29 MSK WARN] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[Sat, 11. Dec 2021 13:51:29 MSK WARN] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
[Sat, 11. Dec 2021 13:51:29 MSK WARN] at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[Sat, 11. Dec 2021 13:51:29 MSK WARN] at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
[Sat, 11. Dec 2021 13:51:29 MSK WARN] at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
[Sat, 11. Dec 2021 13:51:29 MSK WARN] at HeadsPlus-7.0.1.jar//io.github.thatsmusic99.headsplus.inventories.InventoryManager$InventoryType.getInventory(InventoryManager.java:37)
[Sat, 11. Dec 2021 13:51:29 MSK WARN] at HeadsPlus-7.0.1.jar//io.github.thatsmusic99.headsplus.inventories.InventoryManager.open(InventoryManager.java:190)
[Sat, 11. Dec 2021 13:51:29 MSK WARN] at HeadsPlus-7.0.1.jar//io.github.thatsmusic99.headsplus.commands.ChallengeCommand.onCommand(ChallengeCommand.java:33)
[Sat, 11. Dec 2021 13:51:29 MSK WARN] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[Sat, 11. Dec 2021 13:51:29 MSK WARN] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
[Sat, 11. Dec 2021 13:51:29 MSK WARN] at org.bukkit.craftbukkit.v1_18_R1.CraftServer.dispatchCommand(CraftServer.java:876)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2267)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2078)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2059)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:46)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:6)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:56)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.server.TickTask.run(TickTask.java:18)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:149)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.c(IAsyncTaskHandlerReentrant.java:23)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1413)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:189)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.util.thread.IAsyncTaskHandler.y(IAsyncTaskHandler.java:122)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.server.MinecraftServer.bf(MinecraftServer.java:1391)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1384)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:132)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1362)
[Sat, 11. Dec 2021 13:51:34 MSK WARN] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1268)
[Sat, 11. Dec 2021 13:51:39 MSK WARN] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317)
[Sat, 11. Dec 2021 13:51:39 MSK WARN] at java.base/java.lang.Thread.run(Thread.java:833)

[PERFORMANCE] Improved Timings

Currently, the timings details in HeadsPlus are not incredibly detailed, I would need to look into a way to improve this using maybe Paper's timings API? Spigot stays losing of course

[BUG] Error in console

DO NOT ERASE THE TEMPLATE

FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS? Have you checked to see if others have submitted the same bug report?

State here when you have checked the following points above.

Description of the bug

Idk, I just get the error in console, maybe it helps you fixing something

To Reproduce

unknown, random

Have you been able to reproduce the bug more than once?

yes, happened multiple times

Expected behavior

no error

Screenshots

If applicable, add screenshots to help explain your problem.

Has a debug report been generated?

https://hasteb.in/cusukuqi.json

Required information

    "Server version": "git-Paper-282 (MC: 1.15.2)",
    "HeadsPlus version": "6.10.4",
    "Plugin values": {
      "Levels enabled": true,
      "Cached players": 13,
      "Total levels": 36,
      "Droppable heads enabled": true,
      "Player death messages": true,
      "Total challenges": 1891,
      "Autograb enabled": false,
      "MySQL is enabled": false,
      "Masks enabled": true,
      "Uses leaderboards": true,
      "Allows looting enchantment": true,
      "Uses heads selector": false,
      "Sellable heads enabled": true,
      "Stops placement of sellable heads": false
    },
    "NMS version": "v1_15_R1",

[BUG] Exception - right click block?

DO NOT ERASE THE TEMPLATE

FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS? Have you checked to see if others have submitted the same bug report?

Yes, 7.0.0-MVP-1

Description of the bug

Console error

To Reproduce

Steps to reproduce the behavior:
I do not know because I was afk

Have you been able to reproduce the bug more than once?

Not yet

Expected behavior

See reproduction

Has a debug report been generated?

If you have a debug report, go to plugin/HeadsPlus/debug, copy your report onto pastebin or hastebin, and paste it here, but also skip to the bottom question (additional information). If you don't, fill in the information below.
{
"Special message": "Off with your head!",
"Locale": "en_us",
"HeadsPlus version": "7.0.0-MVP-1",
"Date": "12/05/2021 00:03:02",
"Has Vault hooked": true,
"Other Plugins": [
"Sickle-1.8.3 (1.13)",
"Scoreboard-2.1.0 (1.16)",
"ChestSort-12.1.0 (1.13)",
"RHLeafDecay-1.17_R1 (1.13)",
"ViaVersion-4.1.1 (1.13)",
"ColoredAnvils-2.0.0 (1.17)",
"ViaBackwards-4.1.1 (1.13)",
"LuckPerms-5.3.87 (1.13)",
"Vault-1.7.3-b131 (1.13)",
"WorldEdit-7.2.8-SNAPSHOT+6003-6e106c1 (1.13)",
"Essentials-2.19.1-dev+49-d091d69 (1.13)",
"Multiverse-Core-4.3.2-SNAPSHOT-b867 (1.13)",
"WorldGuard-7.0.7-SNAPSHOT+2165-81750e1 (1.17)",
"Multiverse-Inventories-4.2.3-SNAPSHOT-b519 (1.13)",
"EssentialsChat-2.19.1-dev+49-d091d69 (1.13)",
"mcMMO-2.1.205 (1.13)",
"Multiverse-Portals-4.2.2-SNAPSHOT-b850 (1.13)",
"EssentialsSpawn-2.19.1-dev+49-d091d69 (1.13)",
"CoreProtect-20.1 (1.13)",
"Harbor-1.6.3 (1.14)",
"EssentialsDiscord-2.19.1-dev+49-d091d69 (1.13)",
"WorldBorder-2.1.4 (1.15)",
"LWC-2.2.7-ad0f824 (1.13)",
"HeadsPlus-7.0.0-MVP-1 (1.13)",
"LWCTrust-1.0.6 (1.13)",
"Plan-5.4 build 1516 (1.13)",
"Multiverse-NetherPortals-4.2.2-SNAPSHOT-b804 (1.13)",
"ChestShop-3.12.1-SNAPSHOT (build 334) (1.13)"
],
"Error Information": {
"is-skull": "true",
"action": "RIGHT_CLICK_BLOCK",
"Exception": [
"java.lang.NullPointerException: Cannot invoke "com.mojang.authlib.GameProfile.getName()" because "profile" is null",
"at HeadsPlus-7.0.0-MVP-1.jar//io.github.thatsmusic99.headsplus.config.ConfigInteractions.getMessageForHead(ConfigInteractions.java:125)",
"at HeadsPlus-7.0.0-MVP-1.jar//io.github.thatsmusic99.headsplus.listeners.HeadInteractListener.onEvent(HeadInteractListener.java:54)",
"at HeadsPlus-7.0.0-MVP-1.jar//io.github.thatsmusic99.headsplus.listeners.HeadInteractListener.onEvent(HeadInteractListener.java:18)",
"at HeadsPlus-7.0.0-MVP-1.jar//io.github.thatsmusic99.headsplus.util.events.HeadsPlusEventExecutor.execute(HeadsPlusEventExecutor.java:37)",
"at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)",
"at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)",
"at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)",
"at org.bukkit.craftbukkit.v1_18_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:543)",
"at net.minecraft.server.level.PlayerInteractManager.a(PlayerInteractManager.java:540)",
"at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1754)",
"at net.minecraft.network.protocol.game.PacketPlayInUseItem.a(PacketPlayInUseItem.java:33)",
"at net.minecraft.network.protocol.game.PacketPlayInUseItem.a(PacketPlayInUseItem.java:9)",
"at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:56)",
"at net.minecraft.server.TickTask.run(TickTask.java:18)",
"at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:149)",
"at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.c(IAsyncTaskHandlerReentrant.java:23)",
"at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1413)",
"at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:189)",
"at net.minecraft.util.thread.IAsyncTaskHandler.y(IAsyncTaskHandler.java:122)",
"at net.minecraft.server.MinecraftServer.bf(MinecraftServer.java:1391)",
"at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1384)",
"at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:132)",
"at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1362)",
"at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1268)",
"at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317)",
"at java.base/java.lang.Thread.run(Thread.java:833)\r\n"
]
}
}

Required information

  • Server version: 1.18 Paper build 36
  • HeadsPlus version: 7.0.0-MVP-1
  • Whether or not the plugin uses MySQL Flatfile
  • Server type (e.g Spigot, Paper): Paper
  • Uses Vault: Yes
  • Any other pieces of information that may be required.
    You tell me :)

Sorry this might not be much to go on, unless you know the cause already. Ask for more info

(Apologies for the weird title change - I am rather tired)

Player head lore showing default lore

DO NOT ERASE THE TEMPLATE

FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS? Have you checked to see if others have submitted the same feature request?

yes currently 7.0.2 is latest version

Description of request

A minor improvement for Player Heads Lore and/or display-name. It doesn't actually displays exact lore as defined in mobs.yml for player instead it displays the default lore. "Type » {type}" instead of "Player: {player}".

To ensure that the plugin stays original, HeadsPlus will not be taking requests that already exist within actively updated plugins, such as HeadsDatabase and LeaderHeads (this one of which is not close to HeadsPlus whatsoever and shares no features, however is often mistaken as that).

Yes I agree it's HeadsPlus

Additional information

Some screenshots:
image
image
image

[BUG] Strange error on /hpc, no menu shown (since May update)

Description of the bug

/hpc not showing up

To Reproduce

Steps to reproduce the behavior:

  1. /hpc
  2. ???

Have you been able to reproduce the bug more than once?

yes, everytime

Expected behavior

No error

Error: https://pastebin.com/TcVRbVPL

Required information

  • Server version: This server is running Paper version git-Paper-371 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
  • HeadsPlus version: 6.10.10
  • Whether or not the plugin uses MySQL: No
  • Server type (e.g Spigot, Paper): Paper
  • Uses Vault: Yes

[BUG] Extreme lag on GUI click

Description of the bug

Extreme lag on GUI click

To Reproduce

Steps to reproduce the behavior:

  1. update to 1.16.2
  2. open the hpc menu
  3. click
  4. you see server freezes

Have you been able to reproduce the bug more than once?

yes, everytime

Expected behavior

no lag

Required information

  • Server version: This server is running CraftBukkit version git-Spigot-379750e-fe4efd1 (MC: 1.16.2) (Implementing API version 1.16.2-R0.1-SNAPSHOT)
  • HeadsPlus version: 6.11-SNAPSHOT-2
  • Whether or not the plugin uses MySQL: NO
  • Server type (e.g Spigot, Paper): Spigot
  • Uses Vault: YES

Additional information

https://spark.lucko.me/#reT47mu5JU

image

1.17 update [BUG]

i do not test it ingame just reporting console warns:

[20:15:21] [Craft Scheduler Thread - 1/ERROR]: [HeadsPlus] Error thrown when creating the head for GLOW_SQUID. If it's a custom head, please double check the name. (Error code: 6)
[20:15:21] [Craft Scheduler Thread - 1/ERROR]: [HeadsPlus] Error thrown when creating the head for GOAT. If it's a custom head, please double check the name. (Error code: 6)

while its starting

[BUG] Bug reports from my console log. Said to submit log files here.

DO NOT ERASE THE TEMPLATE

FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS? Have you checked to see if others have submitted the same bug report?

State here when you have checked the following points above.

Description of the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. ...
  2. ...
  3. ...

Have you been able to reproduce the bug more than once?

Expected behavior

A clear and concise description of what you expected to happen.
BugReports.zip

Screenshots

If applicable, add screenshots to help explain your problem.

Has a debug report been generated?

If you have a debug report, go to plugin/HeadsPlus/debug, copy your report onto pastebin or hastebin, and paste it here, but also skip to the bottom question (additional information). If you don't, fill in the information below.

Required information

  • Server version:
  • HeadsPlus version:
  • Whether or not the plugin uses MySQL
  • Server type (e.g Spigot, Paper):
  • Uses Vault:
  • Any other pieces of information that may be required.

Additional information

Add any other information/notes you'd like to add at the bottom

[BUG] java.lang.IllegalArgumentException: No enum constant org.bukkit.entity.EntityType

FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS? Have you checked to see if others have submitted the same bug report?

State here when you have checked the following points above.
Yes, 6.11-SNAPSHOT-3
After serveral searches of tte issues both open and closed, for No enum constant org.bukkit.entity.EntityType I can reasonably conclude there's nothing like this.

Description of the bug

A clear and concise description of what the bug is.
I was asleep at the time the console spam happened but through asking I found that a (brand new) player put a zombie head on their head.

To Reproduce

Steps to reproduce the behavior:

  1. Stick a zombie head, on your head.
  2. ???
  3. Profit?

Have you been able to reproduce the bug more than once?

[Working on it.... will update when I/one of my admins can reproduce it]
Maybe getting my hands on the actual head would be of assistance in some way?

Expected behavior

A clear and concise description of what you expected to happen.

Someone putting a mobhead on their head and the server knowing what type of mobhead it is...

Screenshots

If applicable, add screenshots to help explain your problem.

Has a debug report been generated?

If you have a debug report, go to plugin/HeadsPlus/debug, copy your report onto pastebin or hastebin, and paste it here, but also skip to the bottom question (additional information). If you don't, fill in the information below.

08.24.2020 16_24_46-REPORT-1.json.txt

Required information

  • Server version: Paper 1.16.1 #138
  • HeadsPlus version: 6.11-SNAPSHOT-3
  • Whether or not the plugin uses MySQL: Nope
  • Server type (e.g Spigot, Paper): Paper
  • Uses Vault: Yes (1.7.3-b131)
  • Any other pieces of information that may be required.

Additional information

Add any other information/notes you'd like to add at the bottom
I see that I have more than one report for exactly the same issue and that the 'special messages' are random and humorous. Made my day ^.^

[BUG] MySQL Row size too large?

DO NOT ERASE THE TEMPLATE

FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS? Have you checked to see if others have submitted the same bug report?

State here when you have checked the following points above.

Description of the bug

When i setup in the config to use MySQL at the end of ther server startup appears a mysql warn.

To Reproduce

Steps to reproduce the behavior:

  1. Config Mysql
  2. Start the server
  3. See the error.

Have you been able to reproduce the bug more than once?

Yes.

Expected behavior

Start the server normally.

Screenshots

Has a debug report been generated?

https://hastebin.com/evifaliroz.md

Required information

  • Server version: Paper version git-Paper-99 (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
  • HeadsPlus version: 6.10.11
  • Whether or not the plugin uses MySQL: Yes (MariaDB)
  • Server type (e.g Spigot, Paper): Paper
  • Uses Vault: Yes

Additional information

[BUG] InventoryClickEvent exception

Description of the bug

Error spammed in console multiple times

To Reproduce

Steps to reproduce the behavior:
unknown

Have you been able to reproduce the bug more than once?

Nope

Required information

Server version: This server is running Paper version git-Paper-371 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
HeadsPlus version: 6.10.10
Whether or not the plugin uses MySQL: No
Server type (e.g Spigot, Paper): Paper
Uses Vault: Yes

Additional information

https://pastebin.com/NrLqN30k

Have an optional cost to /myhead

Description of request

Noticed players just changing their skin to get heads they want. It may be useful to have the ability to have a cost associated with using the /myhead command OR being able to buy your own head from the shop.

[QUESTION] {killer} tag not working

I have a lore configuration (in mobs.yaml) like this:
image
but when I kill a player, the Killer section is Killer: {killer}, not Killer: DiaxManPl (DiaxManPl is my nickname in mc).
What did I do wrong?

[BUG]

FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS?

6.10.5 snapshot-1

Description of the bug

I´m has put in around 150 heads (was 195 heads in one menu).
If i´m not has done any own errors (it work first, but now is get this error after reload).

To Reproduce

Steps to reproduce the behavior:

  1. ... I´m not certain, I´m not so good on error codes (and google is often get little or no result).
  2. ...
  3. ...

Have you been able to reproduce the bug more than once?

No, not mre and try to reload plugin
and now I get (if i use /heads):
21.05 22:38:05 [Server] INFO broken_arrow1 issued server command: /heads
21.05 22:38:05 [Server] WARN java.lang.ArrayIndexOutOfBoundsException

Expected behavior

Screenshots

[22:04:17] [Server thread/INFO]: broken_arrow1 issued server command: /headsplus Reload
[22:04:17] [Server thread/INFO]: broken_arrow1 Är tillbaka från AFK
[22:04:21] [Server thread/INFO]: broken_arrow1 issued server command: /heads
[22:04:21] [Server thread/WARN]: java.lang.ArrayIndexOutOfBoundsException: 1
[22:04:21] [Server thread/WARN]: at io.github.thatsmusic99.headsplus.config.customheads.HeadsPlusConfigCustomHeads.getSkull(HeadsPlusConfigCustomHeads.java:180)
[22:04:21] [Server thread/WARN]: at io.github.thatsmusic99.headsplus.inventories.list.HeadsMenu.transformContents(HeadsMenu.java:54)
[22:04:21] [Server thread/WARN]: at io.github.thatsmusic99.headsplus.inventories.BaseInventory.(BaseInventory.java:68)
[22:04:21] [Server thread/WARN]: at io.github.thatsmusic99.headsplus.inventories.list.HeadsMenu.(HeadsMenu.java:20)
[22:04:21] [Server thread/WARN]: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[22:04:21] [Server thread/WARN]: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[22:04:21] [Server thread/WARN]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[22:04:21] [Server thread/WARN]: at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[22:04:21] [Server thread/WARN]: at io.github.thatsmusic99.headsplus.inventories.InventoryManager.open(InventoryManager.java:113)
[22:04:21] [Server thread/WARN]: at io.github.thatsmusic99.headsplus.commands.Heads.onCommand(Heads.java:35)
[22:04:21] [Server thread/WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[22:04:21] [Server thread/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
[22:04:21] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand(CraftServer.java:761)
[22:04:21] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.PlayerConnection.handleCommand(PlayerConnection.java:1860)
[22:04:21] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1668)
[22:04:21] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:47)
[22:04:21] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
[22:04:21] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23)
[22:04:21] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18)
[22:04:21] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136)
[22:04:21] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
[22:04:21] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109)
[22:04:21] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:1097)
[22:04:21] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:1090)
[22:04:21] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119)
[22:04:21] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1051)
[22:04:21] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:966)
[22:04:21] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:748)

Has a debug report been generated?

If you have a debug report, go to plugin/HeadsPlus/debug, copy your report onto pastebin or hastebin, and paste it here, but also skip to the bottom question (additional information). If you don't, fill in the information below.

Required information

  • Server version: 294
  • HeadsPlus version: 6.10.5 snapshot-1
  • Whether or not the plugin uses MySQL
  • Server type (e.g Spigot, Paper): Paper
  • Uses Vault: yes
  • Any other pieces of information that may be required.
    CMI

Additional information

Add any other information/notes you'd like to add at the bottom
Heads file
customheads.zip

[Suggestion] Player stats reset command or schedule

Would be very nice to have a command to delete a player's stats completely.
Would be necessary also to have something that deletes old players data on server start. Players that don't login since 12 months ago are not playing anymore and just taking space for example.

Thanks for your hard work as always

[BUG] Head stacking issue - Tracking progress

Information

This is a self-opened issue to help me keep track of one of the biggest issues in the plugin, of which is heads not stacking after restarts.

Issue combatted for:

  • Mob drops with owners
  • Mob drops with custom textures
  • Crafting with owners
  • Crafting with custom textures
  • Heads retreived from /myhead and /head
  • Heads retreived from /heads

System environment

  • Server version: 1.14.4
  • HeadsPlus version: v6.5.4
  • Whether or not the plugin uses MySQL: false
  • Server type (e.g Spigot, Paper): Spigot
  • Uses Vault: true
  • Any other pieces of information that may be required: Java 11

[BUG]

  • Server version: paper-1.18-66
  • HeadsPlus version: 7.0.1
  • Whether or not the plugin uses MySQL : NO
  • Server type (e.g Spigot, Paper): Paper
  • Uses Vault: CMI
    Error report when I type /heads(7.0.0-MVP-1 version can be used normally)
    [06:42:23] [Server thread/WARN]: java.lang.NullPointerException: Cannot invoke "io.github.thatsmusic99.configurationmaster.api.ConfigFile.getInteger(String)" because "this.hpi" is null
    [06:42:23] [Server thread/WARN]: at HeadsPlus-7.0.1.jar//io.github.thatsmusic99.headsplus.inventories.BaseInventory.(BaseInventory.java:60)
    [06:42:23] [Server thread/WARN]: at HeadsPlus-7.0.1.jar//io.github.thatsmusic99.headsplus.inventories.list.HeadsMenu.(HeadsMenu.java:17)
    [06:42:23] [Server thread/WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [06:42:23] [Server thread/WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
    [06:42:23] [Server thread/WARN]: at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    [06:42:23] [Server thread/WARN]: at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
    [06:42:23] [Server thread/WARN]: at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
    [06:42:23] [Server thread/WARN]: at HeadsPlus-7.0.1.jar//io.github.thatsmusic99.headsplus.inventories.InventoryManager$InventoryType.getInventory(InventoryManager.java:37)
    [06:42:23] [Server thread/WARN]: at HeadsPlus-7.0.1.jar//io.github.thatsmusic99.headsplus.inventories.InventoryManager.open(InventoryManager.java:190)
    [06:42:23] [Server thread/WARN]: at HeadsPlus-7.0.1.jar//io.github.thatsmusic99.headsplus.commands.Heads.onCommand(Heads.java:35)
    [06:42:23] [Server thread/WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
    [06:42:23] [Server thread/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
    [06:42:23] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_18_R1.CraftServer.dispatchCommand(CraftServer.java:876)
    [06:42:23] [Server thread/WARN]: at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2201)
    [06:42:23] [Server thread/WARN]: at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2012)
    [06:42:23] [Server thread/WARN]: at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1993)
    [06:42:23] [Server thread/WARN]: at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:46)
    [06:42:23] [Server thread/WARN]: at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:6)
    [06:42:23] [Server thread/WARN]: at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:56)
    [06:42:23] [Server thread/WARN]: at net.minecraft.server.TickTask.run(TickTask.java:18)
    [06:42:23] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:149)
    [06:42:23] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.c(IAsyncTaskHandlerReentrant.java:23)
    [06:42:23] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1413)
    [06:42:23] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:189)
    [06:42:23] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.y(IAsyncTaskHandler.java:122)
    [06:42:23] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.bf(MinecraftServer.java:1391)
    [06:42:23] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1384)
    [06:42:23] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:132)
    [06:42:23] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1362)
    [06:42:23] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1268)
    [06:42:23] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317)
    [06:42:23] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:833)

[PERFORMANCE] /sellhead performance concerns

A performance concern in v6 reported in Discord says that /sellhead is taking roughly 130ms to execute (increasing the average execution time of the inventory click event). So far, there have been no indications that such a problem exists in v7 base tests (empty inventory, full inventory of stone and full inventory of heads) - all executions have taken 0.1-0.2ms to execute when testing with Stress. More realistic tests though need to be complete to confirm that the issue is resolved in v7.
image

java.lang.NullPointerException[BUG]

DO NOT ERASE THE TEMPLATE

FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS? Have you checked to see if others have submitted the same bug report?

State here when you have checked the following points above.

Description of the bug

Plugin didnt work at all and has been disabled in console. The console is saying the following: https://pastebin.com/U5SPUmPc

The follwoing was the bug report made in the plugins folder on HeadsPlus: https://pastebin.com/QDirpV9e

To Reproduce

Steps to reproduce the behavior:

  1. Downloaded plugin
  2. Added plugin to server
  3. Error appeared

Have you been able to reproduce the bug more than once? Yes (Every timeIi start the server)

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

Links provided above ^

Has a debug report been generated? YES

If you have a debug report, go to plugin/HeadsPlus/debug, copy your report onto pastebin or hastebin, and paste it here, but also skip to the bottom question (additional information). If you don't, fill in the information below.

Required information

  • Server version: Paper 1.14
  • HeadsPlus version: 6.6.1
  • Whether or not the plugin uses MySQL: No
  • Server type (e.g Spigot, Paper): Paper Build 186
  • Uses Vault: Yes
  • Any other pieces of information that may be required.

Additional information

Add any other information/notes you'd like to add at the bottom

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.