GithubHelp home page GithubHelp logo

dirtyredz / dirty-server-manager Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 6.0 22.66 MB

The Unofficial Avorion Linux Server Manager

License: GNU General Public License v3.0

PHP 68.28% Shell 17.68% CSS 5.52% Lua 0.25% JavaScript 8.25% ApacheConf 0.03%

dirty-server-manager's People

Contributors

cantelevate avatar dirtyredz avatar valuta1995 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dirty-server-manager's Issues

Message of the day

Add message of the day to player joining
I Dont want to edit server.lua, maybe run a broadcast every 10 minutes?

Server command buttons on web interface

Title says it all. Buttons on the console page to run various commands on the server.
(IE not everyone knows the server commands to type into the console)

Backup Commands

Command to backup galaxy with options to only backup player/alliance/sector directories.

Unable to access web interface Non-SSL / SSL

Hello I have tried to use the web interface with both the default PHP Server [NON-SSL] (8080), and the Apache [SSL] (443) all the ports are open and I have used the command to start it, still nothing.. any ideas?

Thanks in Advance & Kind Regards,
-b3ck

command Debug Printout

Prints last few lines of the manager log
prints last few lines of the console.log
prints any tmux issues

[feature] More variables for leaderboards

I'll add more examples as I think of them, so can you!

Turrets looted
Modules looted
total ships destroyed
player kills
player ship destruction
Faction ship destruction
Cargo ship kills
Pirate kills
pirate station kills
Xsotan kills
Xsotan Dreadnought kills
wormhole guardian kills
,, all the bosses
Fastest speed travelled
Sectors explored
Amount of ships
Amount of stations
Biggest contribution to an alliance vault (single donation)

admin data:
contribution to alliance vault, both taking and sending
last known sector

./manager disablerestart

Would be nice to have a broadcast to chat that automatic restart has been cancelled.
It also seems that the countdown continues after issuing the command.

Lua manager

Idea.
I think it would be useful to be able to manage scripts through DSM as well. e.g. Add extra commands trough the web interface (either by uploading files or entering code directly). This would also allow for the installation of most Lua-based mods.

[Minor issue] grammar issue in restart countdowns

When counting down to reboot/stop the server a typo takes place on the last minute:

<> [SERVER] Updating Servers in 1 minutes.

Instead it could have say minute on the last one or use "minute(s)".

Timed (random) broadcasts

Config list with different broadcast messages of which one is picked (in order or randomly) every X configurable amount amount of time to broadcast on the server.

Second IP option in manager

Need second IP option 1 for internal and one for external
will be usefull for when instance support is in

aditionaly some helpful info on home screen below banners to help players understand that have options available to them in PHPConfig.ini

Update_manager can break configs

when updating the manager, the command can have errors:

sed: -e expression #1, char 61: unknown command: `S'
sed: -e expression #1, char 79: unterminated `s' command
sed: -e expression #1, char 122: unknown command: `I'
sed: -e expression #1, char 45: unknown option to `s'

also can break configs by leaving + signs

Write backup configs into the installer

As per discord.
Relevant discussion:

./manager apache_install

and to save the server files i should just backup serverfiles folder? or anything else before i install?

the apache_install will create some conf files for apache to run on and adjust a few of apaches configs so if you have something already running on apache it wouldent hurt to back those configs up

Dirty Server Tweaks

Server side feature for 'dirty server tweaks' features that admins can check-on / check-off to apply to a server for fixing known problems.

IE:

  • no neutral core
  • no faction wars
  • no npc fighters

Obviously these need to be able to inline add/remove functions and on detecting an update is available would revert the changed server files back to standard as I'm sure a steam update would overwrite changes anyway.

However if a 'tweak' is no longer required as the core game is fixed in regards to it's feature need a way to 'obselete' the tweak for a while before fully removing it's functionality from the server manager (or maybe just obselete 'em and force uncheck their inclusion by default?)

Configurable Daily restart times

Also want to set it up to work off of the last time it was started. IE every 12 hours, starting when the server last restarted.

Add echo between stop and start of Restart command.

Dont want the clients thinking the manager is stuck

[Manager]: restarting Testing_Server...
[Manager]: Testing_Server Attempting to Save...(Can take up to 30 seconds)
[Manager]: Testing_Server Has been saved.
[Manager]: Testing_Server Waiting 10 seconds...(Incase theres a lag in the server)
[Manager]: Testing_Server Attempting to Stop...(Can take up to 30 seconds)
[Manager]: Testing_Server has been stopped.
MESSAGE NEEDED HERE
[Manager]: starting Testing_Server on 27070
[Manager]: Testing_Server has started with pid 22963
[Manager]: Testing_Server has started with params: --port 27070 --galaxy-name Testing --datapath /home/avorion4 --max-players 10  --ip 37.59.64.14 --steam-query-port 27172 --steam-master-port 27170 --public true --listed true --same-start-sector false
[Manager]: Testing_Server Dirty Server Manager is Up To Date!
[Manager]: Testing_Server has successfully restarted!

Configure content of chat log

It may be useful to include the option of preventing /s (sector) chat to be logged to the (home page) chat log. Additionally, although I'm not sure on the privacy behind this. It may be a good idea to allow for logging /a and /g as well for moderation purposes.

Forced to update twice

When an avorion update comes down, Im forced to use ./manager update twice in order to start the server again.

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.