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. mattmonkey24

    mattmonkey24 Void-Bound Voyager

    so after a lot of google, help from FuzzyThor and others, i'm pretty sure i now have StarryPy3k up and running.
    i've uninstalled everything python (which i now don't think i really needed to do) and i have Python3.4 installed in /opt/
    for me to use python3.4 to start StarryPy3k i have to type "/opt/python3.4/bin/python3.4 server.py" into the terminal which is a bit of a pain but i'm glad i finally have this working out

    edit: oh and when i start up StarryPy3k i get this message "no module named irc3" is that bad?
    and what is "2014-03-07 23:38:54,941 - starrypy - INFO - Running commit 69" because that runs every once and a while
     
    Last edited: Mar 8, 2014
  2. teihoo

    teihoo Ketchup Robot

    Where you have python 3 pyou also have pip ther. Run /opt/python3.4/bin/pip install irc3
    Think that should work
    Its for irc bot plugin. So not needed if you dont want irc ingame
     
  3. traxo

    traxo Phantasmal Quasar

    You could try to add Python to the PATH variable

    make an sh-file in /etc/profile.d/, for example /etc/profile.d/python.sh and then put the following in it:

    Code:
    export PYTHON_HOME=/opt/python3.4
    export PATH=$PATH:$PYTHON_HOME/bin
    After that you only need to logout and login again and you should be able to simply use the command "python3.4" everywhere.
     
  4. traxo

    traxo Phantasmal Quasar

    Hmm, that's weird. Looks like your player cannot be found. Do things like kicking and banning a player work?


    By "no longer works", do you mean it worked for somw time and now it suddenly doesn't anymore without you changing anything?
     
  5. traxo

    traxo Phantasmal Quasar

    What do you mean by "auto-update"?
     
  6. knoffel

    knoffel Starship Captain

    Is there a possibility to Restrict Ship Acess or protect Ships?
     
  7. FuzzyThor

    FuzzyThor Existential Complex

    I was able to trigger the restart script with the reset button, but now it just wont even trigger it.

    Edit.
    I logged out and I am completely unable to log in with the new update.

    I reverted to the prior version and I am able to login and control everything
     
    Last edited: Mar 8, 2014
  8. traxo

    traxo Phantasmal Quasar

    Ok, login and restart button are fixed now. Thanks for reporting it.

    However, I haven't been able to reproduce the chat issue you mentioned :(
     
  9. teihoo

    teihoo Ketchup Robot

    Tell me if you got it running. If nothing else, I think you were rly close to get it up and running. You can still send me your configs in private message, and I can have a look at them. But if you don't want to, its fine, i just cant be more of help without knowing what the last issue is :) Giving up is a lame thing, its the easiest :p
     
  10. Higgins

    Higgins Tentacle Wrangler

    Thanks, worked a treat! :)

    Code:
    cd StarryPy3k
    /opt/python3.4/bin/pyvenv ~/py34
    source ~/py34/bin/activate
    python server.py
    
     
  11. SweFox

    SweFox Guest

    So you dont have to refresh the page to see new chat :D?
     
  12. traxo

    traxo Phantasmal Quasar

    That's actually how it is supposed to work. The chat is being updated every 0.5 seconds. Do you have any error messages? Maybe in the Javascript console of your browser?
     
  13. teihoo

    teihoo Ketchup Robot

    I've made nick names changable in a beta version for the 1.4x, think about implementing name changes through the console - should be possible in 3k also. We'll build packets for the server later, so dont worry about that, just update the DB (can give you a working beta, or push a commit to my fork, but there's still some stuff im polishing atm).
     
  14. FuzzyThor

    FuzzyThor Existential Complex

    I think it was just a login issue

    Edit:
    I am using this on windows and everything else is fixed but the chat. When i send a message it appears in the web gui twice and not in the game once. I look into the webgui.log fileand this is what i see.
    Code:
    Uncaught exception in /chat
    Traceback (most recent call last):
      File "C:\Python27\lib\site-packages\tornado\websocket.py", line 322, in wrapper
        return callback(*args, **kwargs)
      File "N:\Servers\StarryPy\plugins\web_gui\web_gui.py", line 240, in on_message
        d=datetime.now().strftime("%H:%M"), u=self.web_gui_user.name, m=messagejson["message"]), 0, "")
    AttributeError: 'NoneType' object has no attribute 'name'
    
     
    Last edited: Mar 9, 2014
  15. Brockway

    Brockway Pangalactic Porcupine

    where can i download the last update of your plugin ?
     
  16. Snowpup

    Snowpup Giant Laser Beams

    So on my protected spawn registered users can place items but cannot remove. They can't mine or anything, would anyone happen to know why?

    My config:

    Code:
    {
        "bind_port": xxxx,
        "chat_prefix": "@",
        "colors": {
            "admin": "^#C443F7;",
            "default": "^#F7EB43;",
            "guest": "^#F7EB43;",
            "moderator": "^#4385F7;",
            "owner": "^#F7434C;",
            "registered": "^#A0F743;"
        },
        "command_prefix": "/",
        "core_plugin_path": "core_plugins",
        "debug_file": "debug.log",
        "logging_format_console": "%(asctime)s - %(name)s - %(levelname)s - %(message)s",
        "logging_format_debugfile": "%(asctime)s - %(name)s - %(levelname)s - %(message)s",
        "logging_format_logfile": "%(asctime)s - %(name)s - %(levelname)s - %(message)s",
        "owner_uuid": "xxxxxxxxx",
        "passthrough": false,
        "player_db": "config/player.db",
        "plugin_config": {
            "admin_messenger": {
                "auto_activate": true
            },
            "announcer_plugin": {
                "auto_activate": true
            },
            "bouncer": {
                "auto_activate": false
            },
            "chat_logger": {
                "auto_activate": true
            },
            "command_dispatcher": {
                "auto_activate": true
            },
            "motd_plugin": {
                "auto_activate": true,
                "motd": "Type /help for a list of commands. Download mod pack at http://www.furrybound.com/FurryboundMods.rar (CAPITALIZATION MATTERS)"
            },
            "mute_manager": {
                "auto_activate": true
            },
            "new_player_greeter_plugin": {
                "auto_activate": true,
                "items": [
                    [
                        "solariumore",
                        200
                    ],
                    [
                        "alienburger",
                        5
                    ]
                ],
                "message": "Welcome to Furrybound! Here are some starter items to get you off to a good start."
            },
            "planet_protect": {
                "auto_activate": true,
                "blacklist": [
                    "130",
                    "32",
                    "174",
                    "acidrain",
                    "acidspit",
                    "axeboneswoosh",
                    "bloodbreath",
                    "bloodcloud",
                    "bloodswoosh",
                    "bloodvomit",
                    "blueplasmabullet",
                    "bomb",
                    "bombblockexplosion",
                    "bone",
                    "bonechain1",
                    "bonechain2",
                    "bonechain3",
                    "boneswoosh",
                    "boomerang",
                    "bouldersmashexplosion",
                    "bouncybullet",
                    "bouncycluster",
                    "bouncyclustergrenade",
                    "brainbullet",
                    "brainshock",
                    "bubble",
                    "bubblegun",
                    "bullet-1",
                    "bullet-2",
                    "bullet-3",
                    "bullet-4",
                    "burningstatusprojectile",
                    "bustershot",
                    "capturepod",
                    "carhorn",
                    "carrot",
                    "cellmatter",
                    "chargedarrow",
                    "chargedbustershot",
                    "chomp1",
                    "chomp2",
                    "chomp3",
                    "chomp4",
                    "cluster",
                    "clustergoo",
                    "clustergrenade",
                    "clusterstatusprojectile",
                    "daggerswoosh1",
                    "darkgravityball",
                    "darkplasma",
                    "defensiveexplosion",
                    "delayed",
                    "dragonprojectile",
                    "dungeonpodexplosion",
                    "electric",
                    "electricexplosion",
                    "electro",
                    "electroball",
                    "electrogrenade",
                    "energyjavelin",
                    "explosivebullet",
                    "explosivegoo",
                    "fast",
                    "filledcapturepod",
                    "fireball",
                    "fireexplosion",
                    "firefinish",
                    "firepart1",
                    "firepart2",
                    "firepart3",
                    "firepart4",
                    "firepart5",
                    "fireswirl",
                    "flame",
                    "flamethrower",
                    "flare",
                    "flyswarm",
                    "friendlyboneexplosion",
                    "friendlybubble",
                    "fryingpanswoosh1",
                    "gas",
                    "gas2",
                    "gasgrenade",
                    "glowbomb",
                    "glowgas",
                    "glowingrain",
                    "glowstatusprojectile",
                    "goocluster",
                    "gravitybomb",
                    "greenplasma",
                    "greenplasmabullet",
                    "grenade",
                    "grenadeexplosion",
                    "hadouken",
                    "healbomb",
                    "healcloud",
                    "healinggas",
                    "healingstatusprojectile",
                    "icebreath",
                    "icematerial",
                    "icecloud",
                    "iceshot",
                    "ice",
                    "iceblock",
                    "iceblockprojectile",
                    "icestorm",
                    "iceshard1",
                    "iceshard2",
                    "iceshard3",
                    "iceshard4",
                    "iceshard5",
                    "icechucker",
                    "icesphere4",
                    "icesphere3",
                    "icesphere2",
                    "icesphere1",
                    "icon",
                    "impactgrenade",
                    "invisibleprojectile",
                    "ironarrow",
                    "javelin",
                    "jellybossgoo",
                    "jumpbomb",
                    "jumpgas",
                    "jumpstatusprojectile",
                    "kunai",
                    "largemeteor",
                    "lavaballoon",
                    "lavaprojectile",
                    "lightball",
                    "lightning",
                    "lightning2",
                    "mattermaterial",
                    "matterblock",
                    "matitem",
                    "matteritem",
                    "magicmolotov",
                    "marioball",
                    "matterblockprojectile",
                    "matterblockprojectile2",
                    "matterblockprojectile1",
                    "megabeam",
                    "meteor",
                    "meteorblockspawner",
                    "meteorexplosion",
                    "meteoriterock",
                    "molotov",
                    "molotovflame",
                    "mouse",
                    "nail",
                    "nailbomb",
                    "ninjastar",
                    "orbitaldown",
                    "orbitallaunch",
                    "orbitalup",
                    "pellet",
                    "penguintankround",
                    "penguinufobeam",
                    "penguinufocharge",
                    "phoenix",
                    "piercingbullet",
                    "pig",
                    "pill",
                    "planet",
                    "plantmatter",
                    "plasmabouncer",
                    "plasmabullet",
                    "plasmaexplosion2",
                    "plasmagrenade",
                    "plasmatorpedo",
                    "poisonsmoke",
                    "poisonstatusprojectile",
                    "pollen",
                    "poopbreath",
                    "pulse",
                    "pulsecannon",
                    "pulsecannonexplosion",
                    "purpleplasma",
                    "regularexplosion",
                    "regularexplosion2",
                    "regularexplosionnospark",
                    "rock",
                    "rocket",
                    "rocketexplosion",
                    "runbomb",
                    "rungas",
                    "runstatusprojectile",
                    "shock",
                    "shockbomb",
                    "shuriken",
                    "smallmeteor",
                    "smallregularexplosion",
                    "smoke",
                    "snowball",
                    "sonic",
                    "sonicwave",
                    "spikeball",
                    "spinningrocket",
                    "splitbullet",
                    "splitter",
                    "starcleaverboom",
                    "starcleaverswordslash",
                    "staticFireball",
                    "stationaryrocket",
                    "stickybullet",
                    "stickyplasma",
                    "swoopdown1",
                    "swoopup1",
                    "targetexplosion",
                    "teslabolt",
                    "teslaspear",
                    "testsideswoosh",
                    "testswoosh",
                    "testswoosh2",
                    "testswoosh3",
                    "testswoosh4",
                    "thorns",
                    "throwingaxe",
                    "throwingblock",
                    "throwingboulder",
                    "throwingdagger",
                    "throwingdart",
                    "throwingknife",
                    "throwingkunai",
                    "throwingneedle",
                    "throwingspear",
                    "throwingstar",
                    "thrust1",
                    "tis1projectile",
                    "trishot",
                    "turretbullet",
                    "twistedspearchain1",
                    "twistedspearchain2",
                    "twistedspearchain3",
                    "twistedspearswoosh",
                    "vsmallregularexplosion",
                    "vsmallregularexplosionnodamage",
                    "water",
                    "waterballoon",
                    "waterswoosh",
                    "woodenarrow",
                    "woodenbolt",
                    "yellowplasmabullet",
                    "zbomb"
                ],
                "protected_planets": []
            },
            "player_manager": {
                "auto_activate": true,
                "name_removal_regexes": [
                    "\\^#[\\w]+;",
                    "[^ \\w]+"
                ]
            },
            "plugin_manager": {
                "auto_activate": true
            },
            "starbound_config_manager": {
                "auto_activate": true
            },
            "user_management_commands": {
                "auto_activate": true
            },
            "warpy_plugin": {
                "auto_activate": true
            }
        },
        "plugin_path": "plugins",
        "port_check": true,
        "reap_time": 10,
        "server_connect_timeout": 5,
        "starbound_path": "/home/steam/Steam/SteamApps/common/Starbound",
        "upstream_hostname": "127.0.0.1",
        "upstream_port": xxxx
    }
     
  17. SweFox

    SweFox Guest

    Okey, I got this massive lag disconect thing again. It creates such a massive lag wave that people gets disconnected.

    http://pastebin.com/ckD61GYR
     
  18. SweFox

    SweFox Guest

    SERVER restart button worked :D!
     
  19. Snowpup

    Snowpup Giant Laser Beams

    I really wish I knew what was going on with the build permissions for registered users. I can't find anything that may be causing this.
     
  20. Stadl0r

    Stadl0r Contact!

    Quick question for the developers. PLugin has been running great but I am trying to remove the container block and enable all players to be able to pickup items even on a protected planet.

    Would I just remove this from the config.json for this to work?

    "OPEN_CONTAINER",
    "CLOSE_CONTAINER",
    "SWAP_IN_CONTAINER",
    "REQUEST_DROP",
     

Share This Page