GameAPI standards listmodonboot

From Empyrion: Galactic Survival Wiki
Jump to: navigation, search

Index: GameAPI

Standard: Listing your mod on server-boot[edit | edit source]

Basic[edit | edit source]

When a server launches, list your mod in the console, to provide confirmation for 'launch'

Proposed implementation[edit | edit source]

Output your mod name, mod version, and author name into the server console.

Pre-req[edit | edit source]

  • String thismod = "SpotGuard v0.1 by Exacute."; (Naming what your mod are)

Code sample[edit | edit source]

public void Game_Start(ModGameAPI dediAPI){
GameAPI = dediAPI;
GameAPI.Console_Write(thismod);
}

Originally by Joemorin73