This repository has been archived on 2023-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2021-05-24 22:29:28 +02:00
api [17.8k Lines] Started working on the chat filter 2021-02-20 22:55:47 -05:00
arcade Cleaned up the documentation a bit. 2021-05-02 13:54:10 -05:00
buildserver Made it where players can't message or reply if they're muted. 2021-02-20 12:25:02 -06:00
commons Cleaned up the documentation a bit. 2021-05-02 13:54:10 -05:00
core Recolored some messages, to the original mcgamerzone style. 2021-05-24 22:13:52 +02:00
discordbot Created a bot for BG-Software auto responder. Still needs cleanup. And i will move it to it's own project soon. 2021-05-22 22:00:59 +02:00
hub Changed WorldTimes. 2021-05-24 22:29:28 +02:00
proxy Cleaned up the documentation a bit. 2021-05-02 13:54:10 -05:00
scripts Initial commit 2021-02-19 15:11:08 -05:00
servercontroller Cleaned up the documentation a bit. 2021-05-02 13:54:10 -05:00
serverdata - Changed the database details 2021-05-23 12:16:01 +02:00
skyblock Added ping command 2021-05-06 22:13:57 +02:00
testing [16.9k Lines] Fixed an error whilst fetching an unknown account in the API 2021-02-19 21:08:57 -05:00
.gitignore Initial commit 2021-02-19 15:11:08 -05:00
.gitlab-ci.yml Initial commit 2021-02-19 15:11:08 -05:00
build.gradle.kts [17.8k Lines] Started working on the chat filter 2021-02-20 22:55:47 -05:00
lombok.config Initial commit 2021-02-19 15:11:08 -05:00
README.md [18.5k Lines] Fixed a typo in the README.md 2021-05-06 13:56:17 -04:00
settings.gradle.kts Deleted BGSoftwareBot.java 2021-05-23 12:15:53 +02:00

Project Structure

  • Commons: Commons is common libraries and/or utilities that are shared across the network.
  • ServerData: This branch of the project controls the database backend for both Redis and MySQL. All modules that use Redis or MySQL must have this as a dependency.
  • ServerController: This will dynamically start and stop servers on demand.
  • Proxy: The proxy will handle server balancing and player caching.
  • API: This is the Restful API. The API has api keys which have access levels. Players will be able to generate an api key in-game with the /api command, and they will have the standard access level. The standard access level has access to things such as stats, leaderboards, etc. The dev access level is granted to Jr.Developers and above. The dev access level has access to things such as server groups, Minecraft servers, etc.
  • Core: The core is a shared module between all Spigot plugins. Everything used between multiple Spigot servers will be created here.
  • Build Server: The core for the build server - This handles map creating, parsing, etc
  • Hub: This is pretty self-explanatory. Any Hub related things will go here.
  • Arcade: This is pretty self-explanatory. This is the game core and all Arcade related things will go here.
  • Skyblock: As we use a public Skyblock plugin, any custom things related to Skyblock will go here.
  • DiscordBot: This is pretty self-explanatory. Any Discord related things will go here.
  • Testing: This part of the project is strictly for testing purposes.

Redis

Redis is used for a variety of different things. Mainly, Redis is used for the server backend and as a global cache.

MySQL

MySQL is used for the main account backend. Everything related to accounts will be stored here.

Production

When something is being released for production, you must set the production parameter in the MySQLController class and make sure you are on the master branch!

Before Starting

  • Create a gradle.properties file which will contain your Nexus username and password. (It's recommended to add the properties below to your gradle.properties file to allow the use of parallel compiling and caching)
  • Stick to Java naming conventions, which can be found here
  • Stick to the same code style as the rest of the project
org.gradle.parallel=true
org.gradle.caching=true
gradle.cache.push=false

Building From Source

  • Clone the project
  • Open the project in your IDE of choice (Intellij is highly recommended)
  • Run the task shadowJar which can be found under McGamerCore » Tasks » shadow

If you are confused on how to do things, or you're unsure on where to put something, please contact Braydon on Discord