Author Topic: Make server create channel  (Read 2210 times)

Doomlazy

  • Newbie
  • *
  • Thank You
  • -Given: 5
  • -Receive: 1
  • Posts: 28
    • View Profile
Make server create channel
« on: January 14, 2017, 07:33:37 PM »
I'm trying to make TNServer create a channel automatically when it is launched. I want channel 1 to be created when the server is launched and when a player connects they will just join channel 1. This way the channel will be created without a player having to join the server and do CreateChannel. How do I make TNServer automatically create a channel?

Doomlazy

  • Newbie
  • *
  • Thank You
  • -Given: 5
  • -Receive: 1
  • Posts: 28
    • View Profile
Re: Make server create channel
« Reply #1 on: January 14, 2017, 07:44:20 PM »
Edit: I'm using a lobby server which the player connects to and then you join a game server from the server browser. Similar to CS games. I want each game server to have 1 channel.

Doomlazy

  • Newbie
  • *
  • Thank You
  • -Given: 5
  • -Receive: 1
  • Posts: 28
    • View Profile
Re: Make server create channel
« Reply #2 on: January 15, 2017, 08:50:01 AM »
Edit 2: Never mind I found another way to achieve what I was looking for.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Make server create channel
« Reply #3 on: January 18, 2017, 09:25:26 AM »
Just a note for future reference... TNet's server doesn't create anything itself. It's essentially a chat room, and it's all the players that do things inside, not the server.