Guest User

Untitled

a guest
Jul 20th, 2020
52
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. STEP1: sbserver->config.json:
  2. "relay" :
  3. {
  4. // ID of relay client for this server.
  5. // ID should be unique for each server.
  6. // Range of ID is separated for each server.
  7. "id" : 1
  8. ,
  9. // List of remote address to connect to the SBRelay.
  10. "remote_addresses" :
  11. [
  12. "127.0.0.1:12888"
  13.  
  14. ]
  15. }
  16.  
  17. "role" :
  18. {
  19. // Whether to enable world server mode.
  20. "role_world" : true
  21. ,
  22. // Whether to enable match server mode.
  23. "role_match" : true
  24. ,
  25. // Whether to enable cross-world server mode.
  26. "role_cross_world" : false
  27. }
  28. ,
  29. // Configuration for world server.
  30. "world" :
  31. {
  32. // Listening address to accept connection from EOS client.
  33. // Should be opened to public network. YOUR LAN IP
  34. "listen_address" : "169.169.169.2:11000"
  35. ,
  36. // Remote address to connect to the SBCache.
  37. "remote_cache_address" : "127.0.0.1:7788"
  38. ,
  39. // Remote relay id to connect to the match server.
  40. "remote_match_server_relay_id" : 1
  41. }
  42. ,
  43. "chat" :
  44. {
  45. "remote_relay_id" : 1
  46. }
  47. ,
  48. "shop" :
  49. {
  50. "remote_relay_id" : 1
  51. }
  52.  
  53. STEP2: SBRelay->config.json:
  54. // My SBRelay ID.
  55. "relay_server_id" : 1
  56. ,
  57. // Listening address to accept connection from relay client.
  58. "listen_address" : "127.0.0.1"
  59. ,
  60. // Listening address to accept connection from the SBRelay for interconnection.
  61. "listen_address_for_interconnection" : "0.0.0.0"
  62. ,
  63. // List of remote addresses for interconnection between the SBRelay.
  64. // Specify remote addresses of the SBRelay except me.
  65. "relay_server_group" :
  66. [
  67. {
  68. // Whether to use this address.
  69. "use" : false
  70. ,
  71. // ID of remote SBRelay.
  72. "id" : 101
  73. ,
  74. // Remote address to connect to the SBRelay for interconnection.
  75. "remote_address" : "127.0.0.1"
  76. }
  77. ]
  78.  
  79. STEP 3: SBserver-match->config.json:
  80. // Configuration for relay.
  81. "relay" :
  82. {
  83. // ID of relay client for this server.
  84. // ID should be unique for each server.
  85. // Range of ID is separated for each server.
  86. "id" : 101
  87. ,
  88. // List of remote address to connect to the SBRelay.
  89. "remote_addresses" :
  90. [
  91. "127.0.0.1:12888"
  92.  
  93. ]
  94. }
  95. "role" :
  96. {
  97. // Whether to enable world server mode.
  98. "role_world" : false
  99. ,
  100. // Whether to enable match server mode.
  101. "role_match" : true
  102. ,
  103. // Whether to enable cross-world server mode.
  104. "role_cross_world" : false
  105. }
  106. ,
  107. // Configuration for world server.
  108. "match" :
  109. {
  110. // Listening address to accept connection from EOS client.
  111. // Should be opened to public network. YOUR LAN
  112. "listen_address" : "169.169.169.2"
  113. ,
  114. // Remote address to connect to the SBCache.
  115. "remote_cache_address" : "127.0.0.1:7788"
  116. ,
  117. // Remote relay id to connect to the match server.
  118. "remote_match_server_relay_id" : 2
  119. }
  120. ,
  121. "chat" :
  122. {
  123. "remote_relay_id" : 1
  124. }
  125. ,
  126. "shop" :
  127. {
  128. "remote_relay_id" : 1
  129. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×