Hello
I want to implement a management workflow.
I want to forcibly reclaim all rooms within a certain Zone and refund the balances of all users in those rooms, or implement other functionalities.
My initial idea was to use the Remote Admin tool to send an ADMIN_MESSAGE to the Zone (using the Remote Admin tool's Message to Zone function). The server would then listen for this, iterate through all rooms within the Zone, and send a handleInternalMessage to the extension. However, I checked and it seems the server's SFSEventType doesn't listen for ADMIN_MESSAGE.
Is there a way for the Remote Admin tool to send a handleInternalMessage to the extension?
Or is there another way for me to achieve this functionality? If so, I wouldn't need to write additional code.
Regarding remote administration tools and ADMIN_MESSAGE
Re: Regarding remote administration tools and ADMIN_MESSAGE
Hi,
You can find all the details in our documentation, here: https://docs2x.smartfoxserver.com/Getti ... om-modules
A simpler approach would be to create a custom Extension in a separate Zone that is known only to Admins and only accepts specific users. In there you could implement custom functions to create the behaviors you need, via the Server API.
Example: you could have a request that takes a list of Rooms and performs the actions you have described in your post.
If you've more questions let us know.
Cheers
The best way to do this is either with a custom admin Extension for your app, or a custom AdminTool module. The latter would allow you to integrate your admin functionalities in the AdminTool GUI.I want to forcibly reclaim all rooms within a certain Zone and refund the balances of all users in those rooms, or implement other functionalities.
You can find all the details in our documentation, here: https://docs2x.smartfoxserver.com/Getti ... om-modules
A simpler approach would be to create a custom Extension in a separate Zone that is known only to Admins and only accepts specific users. In there you could implement custom functions to create the behaviors you need, via the Server API.
Example: you could have a request that takes a list of Rooms and performs the actions you have described in your post.
If you've more questions let us know.
Cheers