1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    @Arbiter @SlashnHax

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

    Defeat3d Primate

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

    Qosmiof2 I've been called a god before.

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

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    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 Primate

    Joined:
    Oct 30, 2014
    Messages:
    3,033
    Likes Received:
    1,890
    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,937
    Likes Received:
    1,266
    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...