barneygale / mark2 Goto Github PK
View Code? Open in Web Editor NEWminecraft server wrapper, written in python with twisted
License: Other
minecraft server wrapper, written in python with twisted
License: Other
Could do with a light theme, a couple of dark themes, and one or two more that are more colourful/bright.
Hello, i tried the restart sample as it is in the samples of mark2 but ~restart wont work.
Can someone please explain why it isnt?
Thanks!
Would like it for the custom reboot message ;)
This may be a feature of the client if possible, or a simplified client could be run as mark2 follow
Adds dependency on uriwd.
http://paste.thezomg.com/8315/13631478/
This may or may not be related to other issues I was having tonight, but this one at least doesn't clue to something not being installed.
Any case, other commands seem to be working fine, and so is the server itself.
I feel like we should try to write tests covering the majority of the code, but I'm still not sure how difficult it would be
twistd pays no attention to --umask for --logfile and --pidfile apparently. We need to move logging/pid into mark2 itself (manager or twistd/plugins) and set perms.
My thoughts: 660 default, configurable in mark2.properties for people who run dedis and likely want 666
Currently shell commands are not logged, but other ones are. The fact that shell commands aren't logged anywhere is obviously bad, and messages appearing in the console scrollback for frequent tasks is annoying. Commands run by Script should always log, and also have an option for whether to appear in the console or not.
Rather than individual panes for stuff in the sidebar, we should have a little 'view switcher' like handle does above the sidebar.
Player shortcut will need to change from ctrl-p to ctrl-s (for sidebar). Everything else keyboard-wise can probably be taken care of by urwid
Getting a ton of [server IP]:[port] lost connection
messages (every 90 seconds it seems). I assume this is the server wrapper attempting to connect to the server to see if it is still running, but it is being noisy.
Our server is running MC 1.5 now. Could that have anything to do with it?
java
, last
, top
etc.
Hello I am getting this error when i try to start mark2
sup4y0sh1@unitedfactions:~$ mark2 start
2013-02-21 12:41:49 # mark2 starting...
2013-02-21 12:41:49 # file doesn't exist: scripts.txt
2013-02-21 12:41:49 # starting minecraft server
2013-02-21 12:41:49 | [???] Upon execvpe java ['java', '-Xms2800M', '-Xmx8000M', '-jar', 'craftbukkit.jar', 'nogui'] in environment id 8970912
2013-02-21 12:41:49 | [???] :Traceback (most recent call last):
2013-02-21 12:41:49 | [???] File "/usr/lib/python2.7/dist-packages/twisted/internet/process.py", line 414, in _fork
2013-02-21 12:41:49 | [???] executable, args, environment)
2013-02-21 12:41:49 | [???] File "/usr/lib/python2.7/dist-packages/twisted/internet/process.py", line 460, in _execChild
2013-02-21 12:41:49 | [???] os.execvpe(executable, args, environment)
2013-02-21 12:41:49 | [???] File "/usr/lib/python2.7/os.py", line 353, in execvpe
2013-02-21 12:41:49 | [???] _execvpe(file, args, env)
2013-02-21 12:41:49 | [???] File "/usr/lib/python2.7/os.py", line 380, in _execvpe
2013-02-21 12:41:49 | [???] func(fullname, *argrest)
2013-02-21 12:41:49 | [???] OSError: [Errno 2] No such file or directory
2013-02-21 12:41:49 # fatal error: A process has ended with a probable error condition: process ended with exit code 1.
2013-02-21 12:41:49 # mark2 stopped.
mark2rc should add two configuration sections:
filter.chat=show:join,part,chat
or filter.nofactions=hide:factions
Filters can be a blacklist or a whitelist.
'join', 'quit' and 'chat' should be loaded from mark2.props - the best way to do this I think is to add something to user_server and user_client to send em over on attach.
In the client, the user should be able to pick which filter is active (if any). See #45 for UI.
uptime
seems to exist - rely on that instead?
Not yet sure exactly what causes these. Exceptions being thrown at various places can cause either effect, so we probably need a way to handle fatal errors that's better than by hacky exception-throwing method.
pageup/pagedown
(and use this to only let voiced people talk, for example)
mark2 should convert terminal colour escapes into minecraft colour codes, and strip all other terminal escapes. Currently we just pass in jline.UnsupportedTerminal
on the java command line.
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.