pw10n / mc-aws-cp Goto Github PK
View Code? Open in Web Editor NEWMinecraft AWS Control Panel
Minecraft AWS Control Panel
Zip and copy server data to Minecontrol for download on shutdown.
update whitelist, etc based on users in miencontrol
Gracefully bring down the server in shutdown script using rcon.
In the case where there are no Celery workers, an alert should be shown on management page and the stop button should fall back to stopping the instance immediately.
Respond to tweets asking who is online.
This will not work if minecontrol is used with more than one minecraft server.
Exception on /manage/i-c42900cb [POST]
Traceback (most recent call last):
File "/srv/mc-aws-cp/.env/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/srv/mc-aws-cp/.env/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/srv/mc-aws-cp/.env/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/srv/mc-aws-cp/.env/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/srv/mc-aws-cp/.env/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/srv/mc-aws-cp/.env/local/lib/python2.7/site-packages/flask_login.py", line 758, in decorated_view
return func(*args, **kwargs)
File "/srv/mc-aws-cp/.env/local/lib/python2.7/site-packages/flask_security/decorators.py", line 194, in decorated_view
return fn(*args, **kwargs)
File "/srv/mc-aws-cp/minecontrol/views.py", line 72, in manage_instance
if aws.action(instance, action):
File "/srv/mc-aws-cp/minecontrol/aws.py", line 96, in action
tweet_msg("%s has been started. Join now!" % inst_name)
File "/srv/mc-aws-cp/minecontrol/tweet.py", line 89, in tweet_msg
api.update_status(m)
File "/srv/mc-aws-cp/.env/local/lib/python2.7/site-packages/tweepy/binder.py", line 230, in _call
return method.execute()
File "/srv/mc-aws-cp/.env/local/lib/python2.7/site-packages/tweepy/binder.py", line 203, in execute
raise TweepError(error_msg, resp)
TweepError: [{u'message': u'Status is a duplicate.', u'code': 187}]
option to automatically update server whitelist.
Current usage may be taking total hours played I think? Need to investigate.
On manage page, show hostname rather than just ip address.
Allow server to tweet when it has been started and/or when people are playing.
EC2 instances are billed by the hour. If only running for a partial hour, allow shutdown to be scheduled minutes before the hour is up.
Send message to users on server and update motd.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.