Introduction
This will give a general overview about the NSG-API. Click on the headers to get an in depth explanation of them.#
Disclaimer: NSG-Manager and NSG-Module are currently unused, but still exist in the project#
Adapter
The NSG-Adapter contains classes for Database (currently Redis and MongoDB).
It will also provide you credentials with the environment variables, making creating your own connection easier.
Api
The NSG-API contains all interfaces.
These MUST have a default implementation in the Core
Core
The NSG-Core implements ONLY interfaces from NSG-API.
All implementations should start with 'Default' (example: DefaultPlayerPool, DefaultNSGPlayer)
Proxy
The NSG-Proxy has all implementations for the Proxy, based off of Velocity.
Examples are the PunishmentListener
and the PlayerConnectionListener
, which are used to check punishments and player connections respectively.
Server
The NSG-Server, like the NSG-Proxy, has all implementations for the Server, based off of PaperSpigot.
All examples are in the single SpigotInitializer,
which are applied on startup.