MCPcopy Create free account
hub / github.com/MCSLTeam/MCSL2 / isBedrockServer

Function isBedrockServer

MCSL2Lib/ServerControllers/serverUtils.py:206–208  ·  view source on GitHub ↗
(serverName)

Source from the content-addressed store, hash-verified

204
205
206def isBedrockServer(serverName):
207 directoryPath = f"./Servers/{serverName}/resource_packs"
208 return exists(directoryPath) and isdir(directoryPath)
209
210
211def isBungeeCordServer(serverName):

Callers 1

generateLevelNameListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected