Jump to content
Official BF Editor Forums

Get Server Settings Via Python


Chael
 Share

Recommended Posts

Basically I've been trying to grab the spawn time setting from the server, but I can't find any way to do it. For instance I tried host.ss_getParam('spawnTime'), but it doesn't seem to return anything. I also need a way to grab the kits (the declarations in the init.con), so something like host.rcon_invoke('gameLogic.getKit ' + str(kitNum)). Does anyone know how to get this info? Thanks in advance.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...