[Server] # Define the services to register (corresponds to sections below) serviceNames=Dir, Account, Asset, Realm, Player, Sim, Login, Overseer, Subordinate, PBServer, HttpsServer # Define connection factories to use (corresponds to sections below) connectionFactories=PBClient # Specify the name of the server (not really used anywhere) name=MV3D Server # The log Level determines how much data is sent to the twisted log logLevel=10 # if consolePort is specified, a ssh console will be run on that port consolePort=1111 # For the ssh console, this is a list of usernames:passwords separated by comas consoleUsers=mike:pass # module to import * from and stuff into the locals of the console consoleLocals=mv3d.server.console grantPermissions=modify:mike directoryServices=self/Dir [Sim] type=mv3d.server.sim.SimulationService grantPermissions=modify:mike # datastore path store=store/sim # change this to specify a url to your server publicLocation=self/Sim # the time between autostores of physics data storeInterval=15 # Sim service can be configured to log some stats every so often # the number here is seconds between stats logs (default = 0, which means # don't print any stats) # statUpdateInterval=5 [Dir] type=mv3d.server.directory.DirectoryService grantPermissions=read:all, modify:mike # datastore path store=store/directory [Realm] type=mv3d.server.realm.RealmService grantPermissions=read:all, modify:mike # datastore path store=store/realm # specify the directory servers to register with directoryServers=self/Dir # change this to specify a url to your server # if it is local (or self) then no one outside of this server will be able to # access realms publicLocation=self/Realm [Asset] type=mv3d.server.asset.AssetService grantPermissions=read:all, reference:all, modify:mike # datastore path store=store/asset # define public interfaces for this service interfaces=mv3d.server.asset.AssetServiceView # point to directory servers to register with directoryServers=self/Dir # change this to specify a url to your server # if it is local (or self) then no one outside of this server may be able to # access assets publicLocation=pb://alpha.mv3d.com:1999/Asset [Account] type=mv3d.server.account.AccountService grantPermissions=[("all","mike")] # datastore path store=store/account interfaces=mv3d.server.account.AccountServiceView [Login] type=mv3d.server.login.LoginService # A comma separated list of access services to authenticate against accountServices=self/Account # The web site to install the ui on site=HttpsServer # the document root to use for the service docRoot=/ # Path to the templates for the service templateDir=templates/loginservice # Set this to true to allow new accounts to be created allowNewAccounts=true grantPermissions=[("admin", "mike")] [Player] type=mv3d.server.player.PlayerService grantPermissions=read:all, reference:all # a list of simulation services that we can use simulators=self/Sim # define public interfaces for this service interfaces=mv3d.server.player.PlayerServiceView [PBServer] type=mv3d.server.network.PBServer port=1999 authenticators=self/Login publish=Player, Asset, Account, Overseer, Subordinate [PBClient] type=mv3d.net.client.PBConFactory defaultCredentials=mike:pass localAliases=pb://localhost/, pb://alpha.mv3d.com:1999, pb://10.1.101.9:1999 loginServices=self/Login [HttpsServer] type=mv3d.server.network.HttpServer # The port to run the login service on port=8080 # set this to "on" to use SSL (recommended) ssl=on # Private and public key files for ssl privKey=privkey.pem pubKey=cacert.pem # list of services to publish (names refer to services defined here) # url = http(s)://localhost:port/service-name/ publish=Login # list of services to publish anonymously allowAnonymous=Login # list of servers that can authenticate logins authenticators=self/Account # list of pages (corresponds to sections below) pages=WebEditor # list of anonymously accessible pages (corresponds to sections below) #anonPages= # a comma separated list of static entries in the form of url:location # honestly, though, you REALLY should use a separate webserver for these # because you don't want your game server wasting time serving static content. static=static:media/staticweb [WebEditor] type=mv3d.server.editor.WebRoot location=webedit/ templateDir=templates/editor [HttpsClient] type=mv3d.net.client.WebClientFactory ssl=on certificate=mv3d.pem publsh=self/Account [Overseer] type=mv3d.server.overseer.OverseerService loginService=https://localhost:8080/Login accountService=pb://localhost:1999/Account publicLocation=pb://localhost:1999/Overseer interfaces=mv3d.server.overseer.OverseerServiceView grantPermissions=all:mike [Subordinate] type=mv3d.server.overseer.SubordinateService interfaces=mv3d.server.overseer.SubordinateServiceView grantPermissions=all:mike # todo: make this more configurable. svnExe=c:\\Program Files (x86)\\Subversion\\bin\\svn.exe