This is a new Dodian version based off of Professor Oak's Elvarg release. This has been heavily modified. We have added dependency injection to it among other things.
- Clone the repository by using this link: https://github.com/Nozemi/Dodian.git. This can be done through the VCS -> Get from Version Control in IntelliJ's top menu.
- IntelliJ might spend a bit of time before it opens the project. But then gives you a little notice in the right hand corner asking "IntelliJ IDEA found a Gradle build script". Then you click Import Gradle Project. Then wait for it to finish, might take a few minutes. There should be a progressbar in the right hand corner of IntelliJ.
- In the right side of IntelliJ, there should be a tab called Gradle. Expand that and find a tree structure, in that tree structure you should find: dodian -> Tasks -> dodian-game.
- Inside dodian-game, you should find two tasks (runClient and runServer). Double click them to start said service.
- Now you should be able to develop and test what you develop your local server/client instance. Good luck!
When you run the server in dev mode. It will create some dummy data, among other things dummy users. Reference DummyAccountsPlugin.java for users. You specify the usernames found there for password. Example if you want to be an admin, you pick whatever username you desire and admin for password.
Currently plugins are contained in their own package in this project. There are some dummy plugins that serves the purpose of showing that events are working and how to hook up to them and use them. Reference the plugins found in TestPlugins.