#Constructor
1 messages · Page 1 of 1 (latest)
what do I have to say more than that? ps. I'm not saying this as sarcasm, I just don't understand
how you actually want to get this CustomPlayer
?paste
np mate I will help you
yeah
commands or customPlayer?
Without code imposible to help
all what u are using or getting issues with
i read
Hmn i can see what about "getCoins"
That is not following name cnventions
You have only one object of CustomPlayer
What is even doing him?
He want to create a custom user obj?
yeah but why create this on the constructor of a command?
to be able to access the CustomPlayer class
I would make smth like:
- Create a custom obj with all the properties you need to use
- Create a use repository for keeping all the online users
So when player first join to sever, i create the custom user obj and add it into UserRepository, every x time and when sever goes down i saved users from UserRepository back to db
you need to create new instance of custom player when registering the command
I mean are u going to sync that plugin in many severs?
no no that no
what?
I mean if you will going to have 2 skyblock severs which you will make them work together, so no matter which sever the user joins he will have his thing
Because the design you are using for me is no the best
exact
So 2 severs/or more working together?
np, one
ok
so i gotta watch those conventions?
Also pls follow Name Conventions
resolved:)