using UnityEngine; using GadgetCore.API; using GadgetCore.API.ConfigMenu; namespace MultiplayerClientSpawn { [Gadget("MultiplayerClientSpawn")] public class MultiplayerClientSpawn : Gadget { public const string MOD_VERSION = "1.0"; // Set this to the version of your mod. public const string CONFIG_VERSION = "1.0"; // Increment this whenever you change your mod's config file. public override IGadgetConfigMenu GetConfigMenu() { return null; } public override string GetModDescription() { return "A mod that adds a multiplayer spawn point."; } protected override void Initialize() { Logger.Log("Multiplayer Client Spawn v" + Info.Mod.Version); Core.logger = Logger; Core.itemSpawnId = ItemUtil.CreatePlacableSpawnItem("spawnpoint.png", "iSpawn.png", "spawnpoint0.png", "spawnpoint1.png", "Multiplayer Spawn"); } } }