server.isPersonal

From RPTools Wiki
Revision as of 23:59, 6 June 2023 by Azhrei (talk | contribs) (Added description; fleshed out the rest of the page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

server.isPersonal() Function

Introduced in version 1.12
The variable server.isPersonal returns whether the local machine is using a personal server.


All MapTool instances must have a server running of some type. There are two choices: either a personal server (meaning that it is not listening for incoming connections), and a true server (meaning that incoming connections will be accepted, assuming that there are no other constraints like firewall settings).

Usage

server.isPersonal()

Returns true if the local machine is hosting a Personal server (meaning no Internet-connected server at all) and false otherwise.


See Also