rockyhawk64 / CommandPanels

Command Panels main Github page. Wiki Page Below:
https://commandpanels.net/home
GNU General Public License v3.0
94 stars 25 forks source link

Command Panel hotbar item not being given to new players #217

Closed ItzSkyylark closed 1 year ago

ItzSkyylark commented 2 years ago

Have you checked the wiki page to see if the solution for your problem is there?

Yes/

Have you checked the issue tracker to see if your issue is a duplicate and your problem already has been solved?

Yes

Have you asked for help in the Discord Server? (Or got redirected to a Github issue here)

Yes

Describe the Issue

When a new person joins it doesn't sometimes give the player the item. I have only 1 panel in the plugin that uses a hotbar item, and players are not receiving it on first join.

Expected behavior

When a new player joins they should be given a book in hotbar slot 8.

Screenshots/videos

If applicable, add screenshots or videos to help explain your problem.

Versions:

Additional context/Panel files

Is there a way to make sure the players are getting the item? We have a very bad fix which is "/cpr" ran 10 seconds after a player joining first time. But this causes the entire plugin to reload and some players have to restart what they are doing cause the panels are closed on them

jman13378 commented 2 years ago

What server type are you running? Do you get any errors?

ItzSkyylark commented 2 years ago

Server Type: kSpigot Errors: None, the entire plugin works just fine, its just the on-join issue

fireFerry commented 2 years ago

Unfortunately we don't support kSpigot. We support Spigot and Paperspigot as server software, so we can only investigate this further if the issue is present on either of those as well.

ItzSkyylark commented 2 years ago

Ok, thats understandable, but is there anything command wise I can do at least?

rockyhawk64 commented 2 years ago

Instead of doing /cpr try /cp [panel name] item [player name]