How to disable pirates spawn

    ZektorSK

    Poor boi from northern Hungary ^^
    Joined
    Aug 31, 2015
    Messages
    407
    Reaction score
    121
    • Legacy Citizen 2
    • Purchased!
    • Community Content - Bronze 1
    Hello Thee !

    When I am building, I am being attacked by pirates, they just come out of nowhere and destroy my build :/ Is there actually a way to disable spawning of them ? (Singleplayer)
     
    Joined
    Feb 1, 2016
    Messages
    299
    Reaction score
    84
    I don't know how, but I personally combat this problem with 2 commands:

    1. /sector_chmod x y z + protected
    Makes so nothing in this sector can take damage. X Y Z is the sector you want to protect, so e.g. "/sector_chmod 2 2 2 + protected" protects sector 2 2 2.

    2. /despawn_all MOB all true
    This despawns every loaded pirate. Pirates for some reason have a hidden MOB tag in front of their names, so copy pasting that command will delete them.
     
    Joined
    Oct 22, 2014
    Messages
    338
    Reaction score
    148
    • Legacy Citizen 3
    In the server config, 5th line:
    Code:
    ENEMY_SPAWNING = true //Enables enemy spawing
    You can also set each blueprint's settings in-game in the blueprint menu. Select the blueprint and click the Permissions button. There are check-boxes for Faction, Other, HomeBase, and EnemyUsable. Unchecked turns off the ability to be spawned for that faction, or whether it can be set as homebase, all in-game.

    starmade-screenshot-0016.jpg
     
    • Like
    Reactions: ZektorSK

    Croquelune

    An Imaginary Number's officer
    Joined
    Mar 30, 2015
    Messages
    146
    Reaction score
    25
    • Legacy Citizen
    • Purchased!
    Code:
    /simulation_ai_enable false
    That works too.

    Code:
    /god_mode ZektorSK true
    Usefull in multiplayer build servers where sometimes incidents can occures.