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

    sebasti161 Tentacle Wrangler

    EDIT:
    What is the error here?

    {
    "bind_port": 21025,
    "bind_address": "",
    "chat_prefix": "#",
    "chattimestamps": true,
    "colors": {
    "admin": "^#C443F7;",
    "default": "^#F7EB43;",
    "guest": "^#F7EB43;",
    "irc": "^#e39313;",
    "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": "b2931e2c745987cc5965b98813b972a1",
    "passthrough": false,
    "player_db": "config/player.db",
    "plugin_config": {
    "admin_messenger": {
    "auto_activate": true
    },
    "afk_plugin": {
    "afk_msg": "is now AFK",
    "afkreturn_msg": "is no longer AFK",
    "auto_activate": true
    },
    "announcer_plugin": {
    "auto_activate": true
    },
    "bookmarks_plugin": {
    "auto_activate": true
    },
    "chat_logger": {
    "auto_activate": true
    },
    "colored_names_plugin": {
    "auto_activate": true
    },
    "command_dispatcher": {
    "auto_activate": true
    },
    "emotes_plugin": {
    "auto_activate": true
    },
    "irc": {
    "auto_activate": false,
    "bot_nickname": "botname",
    "channel": "#channel",
    "color": "^#e39313;",
    "echo_from_channel": true,
    "nickserv_password": "password",
    "port": 6667,
    "server": "irc.freenode.net"
    },
    "loginwho_plugin": {
    "auto_activate": true
    },
    "motd_plugin": {
    "auto_activate": true,
    "motd": "Welcome to the server! Hope you enjoy it here :)"
    },
    "mute_manager": {
    "auto_activate": true
    },
    "new_player_greeter_plugin": {
    "auto_activate": true,
    "items": [

    ],
    "message": "Welcome new player! ;)"
    },
    "starteritems_plugin": {
    "auto_activate": true,
    "items": [
    [
    "bandage",
    20
    ],
    [
    "burger",
    20
    ],
    [
    "stoneaxe",
    1
    ],
    [
    "stonehoe",
    1
    ],
    [
    "stonepickaxe",
    1
    ],
    [
    "solariumore",
    30
    ],
    [
    "money",
    1000
    ]
    ],
    "message": "You were given a set of starter items ;)"
    },
    "planet_protect": {
    "auto_activate": true,
    "protect_everything": false,
    "bad_packets": [
    "CONNECT_WIRE",
    "DISCONNECT_ALL_WIRES",
    "OPEN_CONTAINER",
    "CLOSE_CONTAINER",
    "SWAP_IN_CONTAINER",
    "DAMAGE_TILE",
    "DAMAGE_TILE_GROUP",
    "REQUEST_DROP",
    "MODIFY_TILE_LIST"
    ],
    "blacklist": [
    "bomb",
    "bombblockexplosion",
    "boneswoosh",
    "bouldersmashexplosion",
    "bouncycluster",
    "bouncyclustergrenade",
    "cluster",
    "clustergoo",
    "clustergrenade",
    "defensiveexplosion",
    "dungeonpodexplosion",
    "electricexplosion",
    "electrogrenade",
    "explosivebullet",
    "explosivegoo",
    "fireexplosion",
    "friendlyboneexplosion",
    "gas",
    "gas2",
    "gasgrenade",
    "glowbomb",
    "glowgas",
    "gravitybomb",
    "grenade",
    "grenade",
    "grenadeexplosion",
    "icestorm",
    "impactgrenade",
    "invisibleprojectile",
    "jellybossexplode",
    "jellybossgoo",
    "jumpbomb",
    "jumpgas",
    "largemeteor",
    "lavaballoon",
    "lavaprojectile",
    "magicmolotov",
    "megabeam",
    "meteor",
    "meteorblockprojectile",
    "meteorblockspawner",
    "meteorexplosion",
    "molotov",
    "molotovflame",
    "nail",
    "nailbomb",
    "plasmabullet",
    "plasmaexplosion2",
    "plasmagrenade",
    "plasmatorpedo",
    "poisonsmoke",
    "poisonstatusprojectile",
    "poopbreath",
    "pulsecannon",
    "pulsecannonexplosion",
    "purpleplasma",
    "regularexplosion",
    "regularexplosion2",
    "regularexplosionnospark",
    "rocket",
    "rocketexplosion",
    "runbomb",
    "rungas",
    "shockbomb",
    "smallmeteor",
    "smallregularexplosion",
    "targetexplosion",
    "vsmallregularexplosion",
    "vsmallregularexplosionnodamage",
    "water",
    "zbomb",
    "spinningrocket",
    "stationaryrocket"
    ],
    "player_planets": {

    },
    "protected_planets": [

    ]
    },
    "player_manager": {
    "auto_activate": true,
    "name_removal_regexes": [
    "\\^#[\\w]+;",
    "[^ \\w]+"
    ]
    },
    "planet_visitor_announcer_plugin": {
    "auto_activate": true
    },
    "planet_warps_plugin": {
    "auto_activate": true
    },
    "players_plugin": {
    "auto_activate": true
    },
    "plugin_manager": {
    "auto_activate": true
    },
    "pushover_plugin": {
    "auto_activate": false
    },
    "starbound_config_manager": {
    "auto_activate": true
    },
    "uptime_plugin": {
    "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": "C:\Program Files (x86)\Steam\SteamApps\common\Starbound\",
    "upstream_hostname": "localhost",
    "upstream_port": 21024
    }
     
  2. sebasti161

    sebasti161 Tentacle Wrangler

    Now the problem is here
    [​IMG]
    EDIT: Just ignore the error with the localhost:21024. I fixed that.
     
  3. SexualRhinoceros

    SexualRhinoceros Existential Complex

    it said it couldn't open the file "starbound.config", try running this as an administrator

    @teihoo any chance I could get a link to the github you're using for development now? I like looking at the progress of this :)
     
  4. teihoo

    teihoo Ketchup Robot

    Is starbound_server.exe running and listening on por 21024?
     
  5. teihoo

    teihoo Ketchup Robot

    Latest build is available here: https://github.com/teihoo/StarryPy_Teihoo
    Took a little break over the weekend, i'll try get the ship protection done hopefully this week.
     
  6. SexualRhinoceros

    SexualRhinoceros Existential Complex

    awesome, I love reading code for things and seeing updates for this! Hoping to see a good per block protection plugin soon! That was what would make or break servers in Minecraft
     
  7. teihoo

    teihoo Ketchup Robot

    Hopefully Carrots shows up again, to finish a few missing parts in 2.x, which should work faster for protection. Right now, I had to disable projectile protection based on custom planet protection, because it just eats up too much CPU, so it works for guests only if you have global protection on (/protect_all command or "protect_everything" : true in config.json)
     
  8. SexualRhinoceros

    SexualRhinoceros Existential Complex

    yeah I'm waiting to see block protection where you can roll back changes made by players, roll back areas to a certain time, check to see what user destroyed what block, ect. Too bad its much much much easier said than done :p
     
  9. teihoo

    teihoo Ketchup Robot

    Heh idk about rollback, this would have to change the universe file, and i'm not sure sb server will let you do that while its running. You could get coordinates and drop type on block i think though. Not ever sure if its possible at this moment.

    Edit: This will be probably easier with a fully rewritten starbound server https://github.com/ROFLCopter64bit/MultiBound
     
  10. SexualRhinoceros

    SexualRhinoceros Existential Complex

    see I knew both of these things before, I just totally forgot about that. Yeah I've been following multibound since I found my way into the Starbound Reverse Engineering IRC back in January.
     
  11. sebasti161

    sebasti161 Tentacle Wrangler

    I fixed it. Just copied the starbound folder and made StarryPy-Starbound folder and ran it from there. Fixed :)
     
    teihoo likes this.
  12. sebasti161

    sebasti161 Tentacle Wrangler

    Is there a way to set the /spawn planet? Haven't found any way :/
     
  13. teihoo

    teihoo Ketchup Robot

    It is set in starbound.config:
    "defaultWorldCoordinate" : "alpha:-84936662:-62554636:-13754701:6:12"
    "useDefaultWorldCoordinate" : false,

    Might wanna set "useDefaultWorldCoordinate" : true, or spawn location changes with every starbound_server reboot (sadly it doesn't give every new player a random planet, but puts them all on same one, until server restart. So basically, if you dont have it set to true, the defaultWorldCoordinate never changes, and /spawn command will take you to the planet specified in this variable.
     
  14. sebasti161

    sebasti161 Tentacle Wrangler

    Tried that. For some reason now I can't even start the server. :kitten::(:mad:
    [​IMG]
     
  15. teihoo

    teihoo Ketchup Robot

    You must have messed up syntax in your config file. Make sure commas ( , ) and quotes ( " ) are positioned correctly. Use tools like http://jsonlint.com/ to help you with errors in JSON files (config is a JSON type, even though it has .config extension).
     
  16. sebasti161

    sebasti161 Tentacle Wrangler

    Could you look at my config here? http://bit.ly/1iucQzx or http://bit.ly/1nTQVan
     
    Last edited: Mar 24, 2014
  17. sebasti161

    sebasti161 Tentacle Wrangler

    How do I fix when I accidently did /passthrough ?
     
  18. traxo

    traxo Phantasmal Quasar

    Unfortunately you have to restart StarryPy.
     
  19. sebasti161

    sebasti161 Tentacle Wrangler

    And with restart you mean...?
    Reinstall? Stop and start?
     
  20. Aviakio

    Aviakio Weight of the Sky

    Turn passthrough off in the config file.
     

Share This Page