Giter Club home page Giter Club logo

crafty's Introduction

Crafty Controller

Python based Server Manager / Web Portal for your Minecraft Server

Important: Latest Changes

The project is now hosted on both GitLab and GitHub. GitLab has been setup to push changes to the GitHub project, signalling that we would like to move away from GitLab in the near future.

What is Crafty?

Crafty is a Minecraft Server Wrapper / Controller / Launcher. The purpose of Crafty is to launch a Minecraft server in the background and present a web interface for the admin to use to interact with their server. Crafty is compatible with Windows (7, 8, 10) and Linux (via Python).

Features

How does it work?

Crafty is launched via the command line, normally via a bat or sh script. Crafty will then automatically start a Tornado web server on the back end, as well as your Minecraft server if auto-start is enabled. You can remotely manage your server via the web interface, either on a PC, or on your phone. Logins are secure and use the most advanced web security models available.

Supported OS?

  • Linux - specifically Ubuntu 18.04 / 19.04 and others if they run python
  • Windows (7,8,10) via a compiled Executable, no need for python installation

Installation

Install documentation is available here on GitLab via the wiki.

Documentation

Check out our shiny new documentation right on GitLab.

Meta

Phillip Tarrant - Project Homepage

Discord Channel - Here

Trello Board - Here

GIT Repo

crafty's People

Contributors

bkpepe avatar dean-of-approval avatar dependabot[bot] avatar discoveryov avatar dkolb avatar eekdood avatar isilverfyre avatar kevdagoat avatar mcgamin1738 avatar michaelgaultjr avatar mikemart77 avatar mvez73 avatar ptarrant avatar silversthorn avatar spabolu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

crafty's Issues

Feature request: Add Java 8 to install script

Hello,

I encountered an issue where my 1.12.2 server was not starting, it was giving a stack trace when attempting to start it. Turns out that Pre-1.13 Forge only works with Java 8. It would be nice if the install script installed Java 8 as well and if it could be integrated into the GUI too.

Thanks for the project! Its great

Feature request: Add Java 16 to install script

Hi,
Minecraft 1.17 requires Java edition above Java 11. Is it possible to add Java 16 or multiple Java versions in the installation and change depending on the Minecraft version? Also, can we add a feature where we select a Minecraft version and it automatically fetches the .jar file from ServerJars or something instead of providing or manually updating each time?

Bedrock server update executable button not working

update executable for bedrock server not working. I keep getting ./bedrock_server execute error after providing the update URL and licking update executable, and then I manually have to update the files, and change permissions to fix... This is a docker install.

psutil.cpu_freq returns None

FYI, got this on RHEL 7.9 trying to run on Oracle Cloud (aarch64)

I hard coded the answers to 0 to get it to go through. Not sure if that breaks anything else.

[+] Crafty: 2021-05-28 10:17:27 AM - INFO:      Starting Scheduler Daemon
[+] Crafty: 2021-05-28 10:17:27 AM - INFO:      Starting Tornado HTTPS Server https://blahblahblah.oraclevcn.com:8000
Traceback (most recent call last):
  File "crafty.py", line 305, in <module>
    multi.do_host_status()
  File "/var/opt/minecraft/crafty/crafty-web/app/classes/multiserv.py", line 374, in do_host_status
    Host_Stats.cpu_cur_freq: round(psutil.cpu_freq()[0], 2),
TypeError: 'NoneType' object is not subscriptable

Feature request: enable EULA from UI

I downloaded Minecraft server from here https://www.minecraft.net/en-us/download/server and I tried to run it via Crafty, it end up with:

Lines trimmed to ~500 lines for speed sake 
 [00:19:18] [main/ERROR]: Failed to load properties from file: server.properties
[00:19:18] [main/WARN]: Failed to load eula.txt
[00:19:18] [main/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.

There should be possibility to enable EULA from UI to provide more user friendly solution.

Github/Gitlab sync issue

Hey folks - Just wanted to give you a heads up. In case you weren't directly aware, this repo is a mirror of https://gitlab.com/crafty-controller/crafty-web

I found out but minutes ago Gitlab is failing to push our updates to github.

I'm working on sorting it out - I'll update this issue when I resolve it. In the meantime, the most up-to-date version will be on Gitlab for the time being

Cheers,
macgeek

(also - I'm the current repo owner/maintainer over on Gitlab. It's not tracked over here properly yet)

urllib3 bump to 1.26.5 has broken requests 2.20.0 dependency

So i saw the dependabot kick in and bump up urllib3 to 1.26.5, what the dependabot failed to realise is that requests 2.20.0 depends on a earlier version of urllib3, so we need to bump that as well, this is what im seeing when attempting to install crafty using pip:-

ERROR: Cannot install -r /opt/crafty/requirements.txt (line 21) and urllib3==1.26.5 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested urllib3==1.26.5
    requests 2.22.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

link to PR from the dependabot:- #29

Dockerfile contains EOL Ubuntu version

Dockerfile base image is currently Ubuntu 19.10 which is EOL. When attempting to build on Ubuntu 18.04, the following error is received:

The repository 'http://security.ubuntu.com/ubuntu eoan-security Release' does not have a Release file.

Changing the Dockerfile base image from FROM ubuntu-19.10 to FROM ubuntu-18.04 results in a successful build.

I'd submit a PR, but I'm not sure if you have tested on 20.04 yet.

Forgot Password Button Doesn't work

I have forgotten my password at least I thought....
When I click the Forgot button nothing happens.

Side note... I tried to reset my password with the set_passwd command and after successfully completing that the new password does not work.

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.