1. When making a thread, please tag your thread accordingly using the menu to the left of the textfield where you name your thread where applicable. Server Advertisements and Mod Releases should be contained to their respective subforums.

Server Discussion StarryPy - A plugin driven server wrapper written in Python.

Discussion in 'Multiplayer' started by Carrots Are Mediocre, Jan 29, 2014.

  1. Brockway

    Brockway Pangalactic Porcupine

    i found this method too myself, but it seem incompatible with some list out there, i contact them with the problem, they did not respond.
     
  2. Archer

    Archer Spaceman Spiff

    Gametracker has this issue where you cannot set the query port to something different than the game port (for Starbound), I posted a bug report at their forums, hopefully it will get a response.
     
  3. Archer

    Archer Spaceman Spiff

    Are there any plans for RCON support? Would be useful for specifically timed announcements and such, think of restart warnings.

    (Sorry for asking so many questions)
     
  4. SweFox

    SweFox Guest

    Just set up server ads. I have mine running each 30 min displaying all restart times so people know exactly.
     
  5. Underbalanced

    Underbalanced Phantasmal Quasar

    Pretty sure development is mostly done. Since the starrypy 3.4 isnt coming no real features are going to be added. I beleive Teihoo is working on maintance of the older starrypy. But he might be joining me on the Java wrapper.
     
  6. SweFox

    SweFox Guest

    Plugins can still be made?
     
  7. Archer

    Archer Spaceman Spiff

    That's possible indeed and I considered it too, although being able to warn precisely 5-1 min before the restart is still a huge plus.

    You mean the SharpStar wrapper?
     
  8. Underbalanced

    Underbalanced Phantasmal Quasar

    No we have already started working in Java not related to SharpStar. Right now we are working on building the Starbound Server Management classes. Just fine tuning how the Console will display the server messages from SB, breaking up my code into classes and adding some commands for hard Start, Reload and Stopping the server before testing it on each system type.

    Then we will add the network functionality, will be pass through only.

    We will have to both watch up on some Java, while I am taking college classes in it mainly for the later part when we add all the SB packet stuff.

    Then Plugin functionality.

    Will be some time, but no biggy.
     
    Archer likes this.
  9. SweFox

    SweFox Guest

    You can do that.
     
  10. Archer

    Archer Spaceman Spiff

    It will never be as accurate as a cron job, that's what i'm saying.
     
  11. SweFox

    SweFox Guest

    Set the time to display a message before server restart. I restart my server every 3 hour at fixed times. The server then displays a message at 2 hours and 50mins.

    How more accurate can you make it :)?
     
  12. Archer

    Archer Spaceman Spiff

    You never know if the "clock" that ticks within the wrapper will always be on the same track as the cronjob after 3 hours, especially after lag issues... Unless you tested a few times it and confirmed it to be working 100% I think it's a doubtful method.

    Besides, I'm currently using the plugin for tips and such every 30 mins or so, making those restart messages would mean I'd have to make a new instance of the plugin somehow, reserved for that purpose (restart warning), which is rather crude.

    I guess I'll wait for Underbalanced's attempt in the meantime, sounds promising : D
     
  13. SweFox

    SweFox Guest

    Mine has NEVER been offtrack. But it doesn't matter.

    Don't you need to switch wrapper then?
     
  14. Underbalanced

    Underbalanced Phantasmal Quasar

    Well dont get hopes to high. I have to learn the complexity of programming using starbound packets. I guess I can get out a release of the starbound server process manager its nothing fancy.

    EDIT:
    I have a working server manager but i wrote it all in one class. I am working on learning more Java through tutorials to break it up properly.
     
    Last edited: Apr 20, 2014
  15. Archer

    Archer Spaceman Spiff

    There's nothing better?
     
  16. SweFox

    SweFox Guest

    What do you mean :)?
     
  17. Underbalanced

    Underbalanced Phantasmal Quasar

    When you restart your server are you killing the process and then restarting it?
     
  18. SweFox

    SweFox Guest

    I set up Task Scheduler in Windows! So each 3 hours starting from 12pm it will kill the server at exactly 12pm, 3pm, 6pm, 9pm, 12am, 03am, 06am, 09am and then the cycle restarts with 12pm again.

    There's a task that kills the server at exact time and then 5 seconds later another task starts the server. I leave starrypy on at all times because it doesn't need a restart.
     
  19. Underbalanced

    Underbalanced Phantasmal Quasar

    I have been off work the last few days, tore the ligaments in my foot, have 8 more days off. While I am off. I have been working hard at learning as much as I can. I will be including a configurable auto restarter. The Java Application so far that i have manages the the Starbund_Server.exe as a sub-process to the wrapper. With this we can do several things. We can create the auto restarter that does it on a specified time. Additionally a two prong in pseudo terms as of now, is Starbound alive? The two prong comes from checking the sub-process to see if it is still running along with a network query to make sure the server is responsive and not in a lock up, as I often find my server running, but locked up after prime time, so to my batch file it appears to be running, but it is not when checked by a network query.

    EDIT:
    I also have working standalone java executable, haven't tested in on Linux, but it should work the same. Its a drag and drop or in Linux, CP to the /Starbound/Win32. It runs headless, or you can use a shell script or batch to get console.

    Anyways I do not want to talk much yet, until Teihoo and I have a releasable product. We have amongst our selfs set some criteria for release, we do not want to get to many hopes up or expectations set just yet.

    Our first release should be simple enough, process manager and simple IP banning. The second part which would include the plugin frame work and packet stuff is where we will be on a learning curve.

    EDIT EDIT:
    Also great thing with Java7/8 they have a tool that monitors the application, so we can get precise metrics about the application resource usage to provide facts upon our own testing.
     
    Last edited: Apr 23, 2014
    teihoo likes this.
  20. Archer

    Archer Spaceman Spiff

    I noticed that the bookmarks plugin is not working for players.

    Is this a known issue?
     

Share This Page