This manages the brains behind the ChaosCraft Bots. If your not familiar with ChaosCraft check us out on YouTube
At the moment you can install ChaosCraft Bot and run it locally or on a server of your own with out needing to install the ChaosCraft Server. They automatically point at our servers. Understand that the ChaosCraft Server is NOT the same as running a MineCraft server. Feel free to run your own MineCraft Server as well.
Install Git https://git-scm.com/downloads
Install NodeJS https://nodejs.org/en/
Clone down the code from GitHub
git clone [email protected]:schematical/chaoscraft-server.git
Run npm install
Build it
npm build
Set your ChaosCraft Bots config to point at your sever implementation. The full scope of how to do this is a bit much but if you know how to setup web servers you should be able to figure it out.
Setup your configurations, you will need to setup your own MongoDB setup and Redis.
We are using the npm config
package.
You can see my information in the ./config directory.
The format is as follows:
...
redis:{
chaoscraft: {
port: 6379,
host: 'YOUR_REDIS_HOST',
prefix: 'chaoscraft:'
}
},
...
...
mongo:{
chaoscraft: {
url: 'mongodb://YOUR_MONGO_URI',
user: 'YOUR_USERNAME',
pass: 'YOUR_PASSWORD'
}
},
...
Start it
npm start
NOTE: This is not complete and moves quickly. Just look in the ./routes directory.
List off bots that are marked as alive
Gives you details on a specific bot
Returns the bots Neural Network
Returns a list of bots that are currently active(online).
Lets you know if a specific bot is online.
Returns information on a specific bots inventory
Returns information on a specific bots position
Returns information on a specific bots stats
Returns leaderboard information