How Can I Add Moderator System In My Game?
Options
Hello everyone,
How can i give authoritive some players like, if i'm developer or moderator of my game, i need to have some special functionalities like i can kick someone or i can change map easily ?
How can i give authoritive some players like, if i'm developer or moderator of my game, i need to have some special functionalities like i can kick someone or i can change map easily ?
0
Comments
-
Hi, via authentication... when player logs in, you can specify if he is moderator, or simple player.0
-
Hi @3dasd,
In general, you need authoritative logic for this.
You could achieve it with a custom Photon Server plugin.
Otherwise, you could rely on the MasterClient or another client to be a morderator.
The way you identify or assign one is up to you.
In PUN there is not real "kick" but a fake disconnect request event sent from MasterClient to others.
Changing maps or scenes or whatever can be done from any client.0 -
Thanks for your answers0