Kotlin4MC : library for making high level Minecraft plugins 3.0

for Spigot & BungeeCord

  1. 3.0

    Hazae41
    Removed Nukkit support
    Renamed fr.rhaz to hazae41
    No longer a plugin
  2. 2.1.2

    Hazae41
    fixed download link
  3. 2.1.2

    Hazae41
    Added MC1.8/1.7 support

    No updates required
  4. 2.1.1

    Hazae41
    Fixed color codes
    Fixed ConfigSection save() not saving parent Config
    Changed return type of String.toTimeWithUnit() to Pair<Int, TimeUnit>
    Added set, get, contains operators to Config

    No update of your plugins is required, except for BlockRegenerator (and plugins that use String.toTimeWithUnit())
  5. 2.1

    Hazae41
    All plugins need to be updated
  6. 2.0.11

    Hazae41
    Updated to Kotlin 1.3
    Updated coroutines
    Added partial Nukkit support:
    logging, event listening, typealiases
  7. 2.0.10

    Hazae41
    Fixed bad config generation, please delete "config.yml" folders
  8. The Configuration Update

    Hazae41
    Changed load() to loadConfig()
    changed save() to saveConfig()
    added saveResource()

    You can use delegated configurations to manage big configurations
    Code (Java):
    class MyPlugin: BukkitPlugin(){

        object MyConfig: ConfigFile("config"){
            var debug by boolean("debug")
            var alertMessage by string("alert-message")
            var enabledWorlds by stringList("enabled-worlds")
        }

        override fun onEnable(){
            // Initialize the object with the current file...
  9. 2.0.8

    Hazae41
  10. 2.0.7

    Hazae41
    (Important) Fix tasks on BungeeCord

    No need to modify your plugins