Muqsit / Tebex

Tebex plugin for PocketMine-MP servers
https://poggit.pmmp.io/ci/Muqsit/Tebex
32 stars 6 forks source link

Tebex plugin causing crash due to XUID retrieval failure #24

Closed GabBiswajit closed 3 months ago

GabBiswajit commented 5 months ago

Hey there,

I hope you're doing well. I wanted to report an issue related to the Tebex plugin. It seems that the plugin is causing a crash on my PocketMine-MP server. The crash log indicates that the crash is caused by the Tebex plugin failing to retrieve the XUID (Xbox User ID) of a player named "GAB BISWAJIT".

Steps to Reproduce:

Install the Tebex plugin on a PocketMine-MP server. Have a player named "GAB BISWAJIT" join the server. Crash Details:

PocketMine-MP version: 5.11.0 [Protocol 649] Tebex plugin version: 0.1.10 PHP version: 8.2.13 OS: Linux Error: Cannot retrieve XUID of player: GAB BISWAJIT

Additional Information: I've included all the relevant details from the crash log above. Please let me know if you need any further information or if there's anything I can do to assist in resolving this issue.

Thank you for your attention to this matter.

Muqsit commented 5 months ago

@GabBiswajit Thanks for the report, can you send the result from executing /tbx refresh (in console or in-game), particularly the 'Game Type' field that is displayed.

Muqsit commented 5 months ago

The image is broken

GabBiswajit commented 5 months ago

@Muqsit idk why the image send broken every time ![Uploading Screenshot_2024-03-07-14-37-12-19_40deb401b9ffe8e1df2f1cc5ba480b12.jpg…]()

GabBiswajit commented 5 months ago

Command output | Refreshing command queue... Command output | Refreshed command queue Command output | Offline commands fetched: 0 Command output | Online players due: 0

Can you fix this issue fast ?

Muqsit commented 5 months ago

Hmm, could you also send the output of /tbx info?

GabBiswajit commented 5 months ago

![Uploading IMG_20240311_000626.jpg…]()

GabBiswajit commented 5 months ago

@Muqsit



Command output | Tebex Account Command output | ID: 1329722
Command output | Domain: https://frostnetwork.tebex.io Command output | Name: FrostNetwork
Command output | Currency: USD ($)
Command output | Online Mode: Enabled
Command output | Game Type: Minecraft (Bedrock)
Command output | Event Logging: Enabled
Command output |
Command output | Tebex Server
Command output | ID: 1706430
Command output | Name: FrostNetwork
Command output |
Command output | Tebex API
Command output | Latency: 215ms
Muqsit commented 5 months ago

@GabBiswajit It appears your webstore is configured to use Minecraft (Bedrock) i.e., online mode. Offline-mode servers must use Minecraft (Offline/Geyser) as the project type. You may manage your projects by visiting this link: https://creator.tebex.io/projects

image

GabBiswajit commented 5 months ago

From where i changed this ?

Muqsit commented 5 months ago

I believe project types can't be reconfigured (at least not without contacting Tebex). If its feasible, you may create a new project with the Offline type.

GabBiswajit commented 5 months ago

My server is connected with waterdog pe so which plugin I need to use for it ?? Can you tell me that please

Muqsit commented 5 months ago

@GabBiswajit In v0.1.13, the plugin auto-switches to offline mode configuration when xbox-auth=off. Could you try it out and see if the crash still occurs? https://poggit.pmmp.io/r/234776/Tebex_dev-59.phar

GabBiswajit commented 5 months ago

Let's check

GabBiswajit commented 5 months ago

Hey @Muqsit I get a problem I do offline/geyser and I do /buycraft secret {code} than the plugin is connected but in website it's not updated it's still showing : Install the Tebex plugin on your game server or configure webhooks to this store

GabBiswajit commented 5 months ago

And when i go on install plugin option there is no tebex pocketmine plugin 😕

Muqsit commented 5 months ago

@GabBiswajit Could you try v0.1.14 and see if that works?

GabBiswajit commented 5 months ago

@Muqsit still same it's updated on tebex