Git Product home page Git Product logo

empyrionnetworkconnectedmods's Introduction

Introduction

This is a wrapper for the Empyrion Mod API and a system to run mods without having to restart the game server. It uses the existing TCP port used by EAH to connect to the game server.

Getting Started

Build

  1. Clone the code (recursively to include submodules).
  2. Load up in Visual Studio 2017
  3. Build all.

Run

After building, the \NetworkConnectedModRunner\bin\Release (or Debug) folder will contain the .exe which will load an run any *Mod.dll found in the Extensions folder (or 1 folder deeper). Make sure you configure the Settings.yaml file to point to the API port used by EAH.

Contribute

Send bugs or send pull requests with any improvements, modules, or documentation.

Included mods

Module Description
DiscordBotMod Connects in-game general chat to a specific channel in your Discord server. Two-way communication.
VotingRewardMod Calls empyrion-servers.com REST API to give configured rewards to players every day they vote.
SellToServer Lets you configure an area where you can type /sell and sell items back to the server for credits. Prices are configured in yaml (including a default price if you want to accept any item).
PlayfieldStructureRegenMod Regenerates POIs or asteriods when a playfield is loaded.
FactionPlayfieldKickerMod Keeps people not belonging to a specifc faction out of a playfield if they try to warp in.
StructureOwnershipMod Not done. It gives periodic rewards to any faction that captures the core of configured ships/buildings you then use /income to take out the items you've earned. the idea is that it gives purpose in PVP to take over bases in space/planet it also reduce the need to use autominers as you could capture a "steal block" factory or something

DiscordBotMod

1

  1. Navigate to https://discordapp.com/developers/applications/me
  2. Select and create a new App

2

  1. Enter in the application name for your mod
  2. Enter in a description
  3. Select Create App

3

  1. After your application has been created you will see the settings screen for your application, scroll down and in the Bot section click on Create a Bot User

4

  1. You will get a warning message stating that your bot will be visible after it's created. Go ahead and click Yes, do it.

5

  1. After your bot has been created you need to aquire your token. Click on reveal token.

6

  1. Copy your token to the clipboard

7

  1. Paste it in your DiscordBotMod_Settings.yaml file in the DiscordToken property.

8

  1. Back in discord go into the user settings and select the Appearance category. Scroll down to where it says advanced and tick the Developer Mode option on.

9

  1. With the channel that you want the bot to be in, right click it and select Copy ID

10

  1. Paste the ID in the ChannelId property in DiscordBotMod_settings.yaml

11

  1. In visual studio right make sure your build configuration is set to Release
  2. Right click on your DiscordBotMod project and select build.

12

  1. in the Build directory EmpyrionNetworkConnectedMods\NetworkConnectedModRunner\bin\Release\Extensions you will see a DiscordBotMod folder. Copy that to your clipboard.

13

17 in the Mod directory of Empyrion Empyrion\Content\Mods paste the built directory you've copied from the previous step

empyrionnetworkconnectedmods's People

Contributors

michaelgoulding avatar

Watchers

James Cloos avatar Metapo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.