GitHub Documentation Patreon donate button

Guide for RedisPresence config



  • Hi,
    Is there any code example when we config RedisPresence? I mean the arguments inside RedisPresence(...).
    Is it like the code below? I've just stepped in and everything seems difficult...
    Thanks guys!

    const gameServer = new colyseus.Server({
    server: http.createServer(),
    presence: new colyseus.RedisPresence(new ClientOpts {
    host: localhost;
    port: 5678;)
    });


 

GitHub Documentation Patreon donate button

© 2019 Endel Dreyer