Skip to content

About

Plugin Core and general purpose API for Civ Plugins - Updated for Paper 1.16.5

Resources

Stars

2 stars

Watchers

4 watching

Forks

Latest commit

 

History

220 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CivModCore

Versions:

  • 1.5.10 - Spigot 1.11 or higher.

  • 1.5.9 - Spigot 1.10 / 1.10.x

No explicit backwards support is offered.


Common Plugin Core derived from Humbug

To use CivModCore, your Main Plugin class must extend ACivMod:

public class MyNewPlugin extends ACivMod
{

}

In addition to that, you must override getPluginName for log messages:

protected String getPluginName() {
    return "MyPluginsName";
}

CivModCore implements onEnable/onLoad, and as such an extending plugin must Override and call super:

https://github.com/Bergecraft/CivModCore/blob/master/src/vg/civcraft/mc/civmodcore/ACivMod.java#L108

@Override
public void onEnable()
{
    super.onEnable();
    //Do your stuff here that you need to do.
}

About

Plugin Core and general purpose API for Civ Plugins - Updated for Paper 1.16.5

Resources

Stars

2 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages