Giter Club home page Giter Club logo

udachnymc's Introduction

UdachnyMC

A java application which provides a API REST to execute commands on a minecraft server.

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

Docker

You need to download docker from the package manager of your distribution, from brew if you use MacOS or from here if you use Windows.

Docker-compose

You only need to download docker-compose from the package manager of your distribution or see how to install it from this link if you use MacOS or Windows.

Build it

To build the docker containers just call:

     docker-compose build 

Run it

To run just the API call:

     docker-compose up

The first time the containers go up they will create a new directory where the minecraft server will generate it's files, called server. As you will probably known the minecraft server has the eula.txt file which allow the users to agree with the minecraft eula policy. In order to run the server and have the whole infraestucture running you will need to change the value eula to true like shown:

#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft_eula).
#Mon Jan 03 18:51:55 UTC 2022
     eula=true

Connect to the Minecraft server

The server will use the default port: 25565 so if your are running this in your machine just enter your localhost: 127.0.0.1 and if this is running on a server just enter the server ip.

Contributing

Feel free to fork it and made pull request if you think that your own version is better or adds new functionalities. You can also help with any open issues or add new ones.

You should probably check the DevGuide.

Authors

License

UdachnyMC

Copyright (C) 2022 Diego Dominguez Gonzalez

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License along with this program, if not check it here

lgpl3

udachnymc's People

Contributors

edoardoelh avatar infasyskey avatar nanythery avatar seniorglez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mrmarcusz

udachnymc's Issues

Create a propertiesJSONSerializer interface and a propertiesJSONSerializerImp using GSON.

I need to transform the Minecraft server properties file to JSON and vice-versa so I need a serializer/deserializer from properties to JSON. So I need to create an interface to define the contract for this tool and an implementation of the interface using GSON to perform the serialization/deserialization process.

You can use this case as an inspiration:
https://stackoverflow.com/questions/23871694/java-properties-to-json

Tests are of course welcome!

Create a WebSocket-based service to serve the logs updates

Right now the project has an endpoint to which requests can be made to get the last lines of the Minecraft server logs. However, in order to build a ¨Interactive Console¨ In the frontend it would be interesting to be able to receive updates without having to saturate the server with HTTP requests.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.