Installation - Jeryia/StarD-Ares GitHub Wiki

Installing the Ares plugin

Legal

The MIT License (MIT)

Copyright (c) 2015 Jeryia

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Warning!

Currently the Ares plugin will destroy all entities on the server that are not automatically generated (and some that are, if they are in the way). It is not recommended that this be installed on a server with things (other than blueprints) that you want to keep.

Instructions

  1. First and foremost, you need to install StarD. If you don't have that installed please see https://github.com/Jeryia/StarD/wiki/Installation

  2. stop stard from running. This may vary based on how you have it installed. With the regular version, just do a sudo service stard stop

  3. Download the Ares plugin at https://github.com/Jeryia/StarD-Ares/releases.

  4. unzip or untar what you just got using whatever tool you like.

  5. copy the StarD-Ares/Ares into your stard plugins folder (default is /var/starmade/stard/plugins in the regular version)

  6. copy the contents of blueprints into your starmade server's blueprints folder. The default with stard is to have that located in /var/starmade/StarMade/blueprints/

  7. It is recommended that you set the following config options in the starmade server config, located in /var/starmade/StarMade/server.cfg

    USE_STARMADE_AUTHENTICATION = true
    REQUIRE_STARMADE_AUTHENTICATION = true
    ENEMY_SPAWNING = false //Enables enemy spawing
    DEFAULT_BLUEPRINT_ENEMY_USE = false //Default option for blueprints not in catalog yet
    DEFAULT_BLUEPRINT_FACTION_BUY = false //Default option for blueprints not in catalog yet
    DEFAULT_BLUEPRINT_OTHERS_BUY = false //Default option for blueprints not in catalog yet
    DEFAULT_BLUEPRINT_HOME_BASE_BUY = false //Default option for blueprints not in catalog yet
    AI_DESTRUCTION_LOOT_COUNT_MULTIPLIER = 0.0 //multiply amount of items in a loot stack. use values smaller 1 for less and 0 for none
    

AI_DESTRUCTION_LOOT_STACK_MULTIPLIER = 0.0 //multiply amount of items spawned after AI destruction. use values smaller 1 for less and 0 for none DEFAULT_SPAWN_LOCALPOINT_X_1 = 0.0 //First Rotating Spawn: Local Pos X Coordinate DEFAULT_SPAWN_LOCALPOINT_Y_1 = 100.0 //First Rotating Spawn: Local Pos Y Coordinate DEFAULT_SPAWN_LOCALPOINT_Z_1 = -8.0 //First Rotating Spawn: Local Pos Z Coordinate DEFAULT_SPAWN_LOCALPOINT_X_2 = 7.0 //Second Rotating Spawn: Local Pos X Coordinate DEFAULT_SPAWN_LOCALPOINT_Y_2 = 100.0 //Second Rotating Spawn: Local Pos Y Coordinate DEFAULT_SPAWN_LOCALPOINT_Z_2 = 0.0 //Second Rotating Spawn: Local Pos Z Coordinate DEFAULT_SPAWN_LOCALPOINT_X_3 = 0.0 //Third Rotating Spawn: Local Pos X Coordinate DEFAULT_SPAWN_LOCALPOINT_Y_3 = 100.0 //Third Rotating Spawn: Local Pos Y Coordinate DEFAULT_SPAWN_LOCALPOINT_Z_3 = 7.0 //Third Rotating Spawn: Local Pos Z Coordinate DEFAULT_SPAWN_LOCALPOINT_X_4 = -8.0 //Forth Rotating Spawn: Local Pos X Coordinate DEFAULT_SPAWN_LOCALPOINT_Y_4 = 100.0 //Forth Rotating Spawn: Local Pos Y Coordinate DEFAULT_SPAWN_LOCALPOINT_Z_4 = 0.0 //Forth Rotating Spawn: Local Pos Z Coordinate PLAYER_DEATH_CREDIT_PUNISHMENT = 0.0 //players credits lost of total on death (must be between 0 and 1): 1 = lose all, 0 = keep all SHOP_NPC_RECHARGE_CREDITS = 100000000 //how much credits do shops gain about every 10 min BUY_BLUEPRINTS_WITH_CREDITS = true //buy blueprints directly with credits ```

  1. Set some admins in your admins.txt (/var/starmade/StarMade/admins.txt). Without admins set, everyone is an admin which is dangerous.

  2. start stard. With regular StarD version: sudo service stard start

  3. Try logging in to the server. You should see a message about not enough players to start a game. If your seeing that message, Ares is installed and running.

  4. Set the Thain ships to be accessible to anyone in the Catalog, if you want to offer those to all players.