4 Libraries
Andus edited this page 2024-06-18 19:08:50 +02:00

Libraries

Those are all libraries that are currently used in MCFG:

Main (Essential for the server to function):

  • Minestom - The thing that actually allows MCFG to exist
  • Polar Loader - Loader for worlds in it's own way faster "Polar" format instead of Minecraft's "Anvil" format
  • MongoDB - Connecting to the database to get player data (wins, losses, etc.)
  • Gson - JSON Reader library from Google. Mainly used for reading server settings.json (alternative to server.properties).
  • WorldSeedEntityEngine - Falling player model in queue
  • <insert-lib-name-here> - Those are MCFG's additional libraries meant to add new content to the game:
    • Alternative to Bukkit's plugins / Fabric/Forge's Mods
    • Will be used mostly for events, or just something which shouldn't be in the main code.

Additional (Useful but server can work without them):

For server to work properly (or even build) all reference of those libraries need to be removed from the code.

  • Slf4j + Logback Classic - Logging Implementation
  • JLine - Logger & Terminal
  • Zeroturnaround Zip Utils - Creating the resource pack zip file
  • Apache Commons IO - Reading/Writing some more special files etc.
  • JDA - Discord API for Java (Discord Bot showing player count in it's status)