DarkflameUniverse / DarkflameServer

The main repository for the Darkflame Universe Server Emulator project.
https://www.darkflameuniverse.org/
GNU Affero General Public License v3.0
654 stars 173 forks source link

ENH: Add a command prompt to the master server #101

Open EliteMasterEric opened 2 years ago

EliteMasterEric commented 2 years ago

Ideally, running ./MasterServer should, aside from displaying logs, also provide a prompt with which commands can be run.

This terminal should have access to any commands a GM level 9 user would, and would allow running server operators to run commands without logging in.

codeshaunted commented 2 years ago

What would the commands be run from though? They need an entity to run on. A possibility could be a ghost GM9 player, or maybe even the zone control object.

Xiphoseer commented 2 years ago

For that to work without interrupting the game, you need separate threads and synchronization, which would great, but would also be a major change in how the game works right now. Much better might be something like #309 which is then called by another program.

(Trivia: This was a thing on LUNI way back when)