Question Are remote management servers allowed?

Discussion in 'Developer Support' started by DevTucker, May 28, 2016.

  1. DevTucker

    Joined:
    May 1, 2016
    Messages:
    42
    Likes Received:
    7
    I want to add remote management to my scripts bots so I can access them via mobile and stop them or change settings if I feel like it.

    I'm sure doing this on a private script bot is fine, but say I was going to release to the Bot store would this functionality be allowed?

    Would send all data through SWS (Websocket) to my host.

    Long Polling is also an option.
     
    #1 DevTucker, May 28, 2016
    Last edited: May 28, 2016
  2. Party

    Party The Favourite

    Joined:
    Oct 12, 2015
    Messages:
    2,594
    Likes Received:
    1,123
    @Arbiter @SlashnHax

    I believe the stance on this is that we don't really allow access to external resources.
     
  3. Defeat3d

    Defeat3d Prime Celestial

    Joined:
    Oct 30, 2014
    Messages:
    1,324
    Likes Received:
    562
    I was allowed to do this before
     
  4. Qosmiof2

    Qosmiof2 Qosidog3 - I write bots not tragedies.

    Joined:
    Aug 5, 2014
    Messages:
    1,678
    Likes Received:
    459
    Not sure what SWS is, but if you use servers, php files to manipulate the script bot, you are perfectly fine.
     
  5. Party

    Party The Favourite

    Joined:
    Oct 12, 2015
    Messages:
    2,594
    Likes Received:
    1,123
    Fair enough, tagged them in anyway to confirm.
     
    Qosmiof2 likes this.
  6. DevTucker

    Joined:
    May 1, 2016
    Messages:
    42
    Likes Received:
    7
    SWS is SecureWebsocket.

    PHP wouldn't work for sending requests to the script bot unless I implemented long polling.
     
  7. Defeat3d

    Defeat3d Prime Celestial

    Joined:
    Oct 30, 2014
    Messages:
    1,324
    Likes Received:
    562
    Arbiter told me to use long polling. SWS should be fine too.
     
  8. DevTucker

    Joined:
    May 1, 2016
    Messages:
    42
    Likes Received:
    7
    Ph
    Alright I'll await confirmation before putting it into my public script bot framework. Thanks.
     
  9. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,525
    Likes Received:
    1,042
    The communication will be evaluated upon pushing to queue for safety. The client-side response to server-side commands needs to be very clearly defined in the code and limited in scope to relatively simple things. Changing settings and stopping/pausing the bot seems fine to me.
     
    DevTucker likes this.
  10. DevTucker

    Joined:
    May 1, 2016
    Messages:
    42
    Likes Received:
    7
    Understood, I will make sure that the Client (Bot) clearly demonstrates the logic executed when I implement this into a public script bot, that way there will be no question of malicious intent.
     

Share This Page

Loading...