Ways for Room Properties to be constant?
Options
I am building a authoritative server and I would like to use the room properties for caching global information. Is there a way to prevent non master clients from editing the properties? Also, is there a way to prevent the master client control from being manually switched?
0
Best Answer
-
You can test plugins on your self-hosted Photon Server.
Read the documentation carefully.5
Answers
-
Hi @AllFatherGray,
Thank you for choosing Photon!Is there a way to prevent non master clients from editing the properties? Also, is there a way to prevent the master client control from being manually switched?
You can achieve all of this using a custom plugin. It's the recommended and best way to have server code and authoritative logic with Photon the easier way.1 -
So, Assuming that I choose Enterprise:JohnTube said:Hi @AllFatherGray,
Thank you for choosing Photon!Is there a way to prevent non master clients from editing the properties? Also, is there a way to prevent the master client control from being manually switched?
You can achieve all of this using a custom plugin. It's the recommended and best way to have server code and authoritative logic with Photon the easier way.
How does Enterprise work? Is it similar to regular Photon Cloud? Will I have to make any changes to the codebase or is it another option, Like Photon Cloud or WebSocket? I am using PUN Classic ATM.
0 -
Thanks for the link. Using the first link you gave me, I can't seem to find the "Create a new Plugin" option on the dashboard. All I see is Custom Server with similar fields. Has the name changed?JohnTube said:Enterprise cloud is a private cloud.
Read more about it on the bottom of this page.
You can start with plugins on your local self-hosted Photon Server.
In Unity, using PUN Classic, we are given Hosting Settings for the PhotonServerSettings. It has:
Photon Cloud
Self Hosted
Offline mode
Best Region
Will this change once we include Enterprise or will we have to use an entirely different PUN setup than PUN Classic? Will a new option, "Enterprise" be added or with Photon Cloud simply upgrade to Enterprise?
0 -
All I see is Custom Server with similar fields. Has the name changed?Custom Server? where do you see that exactly?Will this change once we include Enterprise or will we have to use an entirely different PUN setup than PUN Classic? Will a new option, "Enterprise" be added or with Photon Cloud simply upgrade to Enterprise?Photon Cloud is the hosting option you need no matter if you are using the public cloud, premium cloud or private cloud. The name server will route you to the servers according to your AppId.
0 -
https://doc.photonengine.com/en-us/server/current/plugins/manualJohnTube said:All I see is Custom Server with similar fields. Has the name changed?Custom Server? where do you see that exactly?Will this change once we include Enterprise or will we have to use an entirely different PUN setup than PUN Classic? Will a new option, "Enterprise" be added or with Photon Cloud simply upgrade to Enterprise?Photon Cloud is the hosting option you need no matter if you are using the public cloud, premium cloud or private cloud. The name server will route you to the servers according to your AppId.
It's option 3 in Configuration - Enterprise Cloud. I can't seem to find the option to create the plugin key values.
As for the second half of your response:
Once I get Enterprise Cloud, I just run the game as usual? The Cloud option will just upgrade?
But when I am testing locally, I must change the setting to Self Hosted and use a local server?
And thanks for the speedy responses!0 -
https://www.dropbox.com/s/83w547peme4188n/Screenshot 2019-06-18 23.59.20.png
This is the guide I am using.0 -
0
-
Thanks for the response!JohnTube said:Hi @AllFatherGray
you need to be an enterprise customer first to see this.
So, I will have to purchase Enterprise to try it out? Are there any rates for small samples?
I'd like to get to the testing phase of my project as quickly as possible.0 -
You can test plugins on your self-hosted Photon Server.
Read the documentation carefully.5 -
Thank you! I will finish the document.0