Good afternoon - I want to collect a mini mod on this fashion - it will be necessary for the server capabilities - sets,grades and so on - the question is - is it possible in 1 dll module to do a lot of configuration files? say 1 cs file - initialization - and then gone - 1 file grades, 2 file sets?
I have tried to do this but get error - cannot load module
I have tried to do this but get error - cannot load module
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ArizonaMods {
public class Init: Fougerite.Module {
public override string Name {
get {
return "Name";
}
}
public override string Author {
get {
return "Author";
}
}
public override string Description {
get {
return "Description";
}
}
public override Version Version {
get {
return new Version("1.0");
}
}
public override void Initialize() {
Fougerite.Hooks.OnCommand += Test.CommandHandler;
}
public override void DeInitialize() {
Fougerite.Hooks.OnCommand -= Test.CommandHandler;
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ArizonaMods {
public class Init: Fougerite.Module {
public override string Name {
get {
return "Name";
}
}
public override string Author {
get {
return "Author";
}
}
public override string Description {
get {
return "Description";
}
}
public override Version Version {
get {
return new Version("1.0");
}
}
public override void Initialize() {
Fougerite.Hooks.OnCommand += Test.CommandHandler;
}
public override void DeInitialize() {
Fougerite.Hooks.OnCommand -= Test.CommandHandler;
}
}
}
using Fougerite;
namespace ArizonaMods {
abstract public class Test: Fougerite.Module {
public static void CommandHandler(Fougerite.Player player, string cmd, string[] args) {
if (cmd == "test") {
Server.GetServer().Broadcast("1244");
}
}
}
}
namespace ArizonaMods {
abstract public class Test: Fougerite.Module {
public static void CommandHandler(Fougerite.Player player, string cmd, string[] args) {
if (cmd == "test") {
Server.GetServer().Broadcast("1244");
}
}
}
}
Last edited: