The CanaryMod API Library
Clone or download
Pull request Compare This branch is 674 commits ahead of FallenMoonNetwork:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
README.md
pom.xml

README.md

CanaryLib

Build Status
Latest Build
Latest Successful Build

Canary is a Minecraft Server modification and library with built-in data management features as well as player permissions and groups management. Canary provides a stable and feature-rich framework that makes sure that plugins written today, will still work in months without the need of updating on each Minecraft update (Unless major changes are required to update to the new Minecraft Server version). As server owner, this allows you to spend more time on managing your server, making it awesome,
instead of waiting for all your plugins to update each time.

As a Plugin Developer, our mod allows you to concentrate on the things that make your plugins great and unique - you won’t ever need to bother about implementing data storage or resolving dependencies with other plugins.
We do the dirty work for you, you go and make amazing plugins. It’s as easy as that!

This repository contains the library/specifications.

Plugin Development

Maven

    <dependency>
        <groupId>net.canarymod</groupId>
        <artifactId>CanaryLib</artifactId>
        <version>[1.0.0,)</version> <!-- Will always use the latest version found (including snapshots)-->
    </dependency>

Repository:

    <repository>
        <id>vi-repo</id>
        <name>Visual Illusions Repository</name>
        <url>http://repo.visualillusionsent.net/repository/public/</url>
    </repository>

Non-Maven

VIUtils downloads can be found at http://wiki.visualillusionsent.net/VIUtils

Java Docs

Primary: http://docs.visualillusionsent.net/CanaryLib/
Alternate: http://docs.larry1123.net/canarylib/

Pull Requests

It helps us when others take the time to submit fixes rather than just pointing out bugs/inconsistencies.
However, We have standards for the sources we have. Things like formatting
and generally following the Sun/Oracle coding standards
We also ask that you read and sign our Contribitors License Agreement Form
(Please note that Mailing Address may be omitted and if submitted will only be used as an alternative contact method if anything should change in the project)
Signed CLA's can be sent to either email address listed in the form

Source Formatting and requirements

  • No tabs; use 4 spaces instead.

  • No trailing whitespaces.

  • No CRLF line endings, LF only.

  • JavaDocs well written (as necessary)

  • Matching how we format statements

      public class MyClass { //note the whitespace
          public void function() {
              if (something) {
                  // do stuff
              }
              else if (somethingElse) {
                  // do other stuff
              }
              else {
                  // do else stuff
              }
          }
      }
    

Issues

When reporting issues, be sure to include details on how to reproduce the issue and details on what the issue involves.
Please do not report issues related to things that are part of the implementation of this library.
(Those issues belong in CanaryModTeam/CanaryMod)
If you are unsure if it belongs here or in the implementation, its probably an implementation issue and not a library issue
(Most bugs are results of poor implementation or incorrect implementation)
If you would like a feature added, feel free to open an issue describing the feature you would like added and how it could be useful.

License

Copyright © 2012 - 2015, CanaryMod Team Under the management of PlayBlack and Visual Illusions Entertainment
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the FallenMoonNetwork/CanaryMod Team nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL CANARYMOD TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Any source code from the Minecraft Server is not owned by CanaryMod Team, PlayBlack,
Visual Illusions Entertainment, or its contributors and is not covered by above license.
Usage of source code from the Minecraft Server is subject to the Minecraft End User License Agreement as set forth by Mojang AB.
The Minecraft EULA can be viewed at https://account.mojang.com/documents/minecraft_eula
CanaryMod Team, PlayBlack, Visual Illusions Entertainment, CanaryLib, CanaryMod, and its contributors
are NOT affiliated with, endorsed, or sponsored by Mojang AB, makers of Minecraft.
"Minecraft" is a trademark of Notch Development AB
"CanaryMod" name is used with permission from FallenMoonNetwork.