Darkness

Results 12 issues of Darkness

(nothing to merge rn)

Why i did this? Because i want a custom gameOver listener in my plugin. There are no ways to remove default one. But now you can change it to anything....

A very useful feature - [x] I have read the [contribution guidelines](https://github.com/Anuken/Mindustry/blob/master/CONTRIBUTING.md). - [x] I have ensured that my code compiles, if applicable. - [x] I have ensured that any...

- [x] I have read the [contribution guidelines](https://github.com/Anuken/Mindustry/blob/master/CONTRIBUTING.md). - [x] I have ensured that my code compiles, if applicable. - [x] I have ensured that any new features in this...

I did a small refactoring, but didn't break the formatting. Also i added the ability for mods to change the default GameOverEvent listener so you can add a custom map...

For example i wanna use it in my plugin - [x] I have read the [contribution guidelines](https://github.com/Anuken/Mindustry/blob/master/CONTRIBUTING.md). - [x] I have ensured that my code compiles, if applicable. - [x]...

https://github.com/xzxADIxzx/Hex-Industry

for example i have some graphical things on my server and i wanna load those colors. I will simply use UI.loadColors();

Because it says "do not access directly" and i don't wanna use reflection ![image](https://user-images.githubusercontent.com/79508138/214116022-f8a7dd28-1fc2-4c9e-8454-08925ea3724a.png) - [x] I have read the [contribution guidelines](https://github.com/Anuken/Mindustry/blob/master/CONTRIBUTING.md). - [x] I have ensured that my code...