Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

stop using PlayerCreationEvent to create Player Custom class

License

Notifications You must be signed in to change notification settings

PowerNukkitX-Bundle/SessionDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SessionDemo

PowerNukkitX Release Release date

this plugin just lets you see how to use a session system instead of PlayerCreationEvent.

But why this plugin

I already noticed this problem when people use Pocketmine-MP to create a Custom Player just to store data like the number of kills, the number of deaths, the player's money so. I don't want to see Player anymore Custom created from the PlayerCreationEvent event especially on PowerNukkitX

I can use this code ?

yes it has to be done, I still see too many people using Player Custom classes just to add data

Go Star my plugin ❤