Minecraft Yamler mod 2026 download
logo
minecraft mod Yamler

Yamler

Game Version: CB 1.7.2-R0.3
Total Downloads: 4,298
Updated: Mar 12, 2014
Created: Jan 26, 2014
Download YamlerDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
Yamler v2.0.0 release 41.10 KB Mar 12, 2014 CB 1.7.2-R0.3 2,377 download Yamler Yamler v2.0.0 releaseDownload
Yamler v1.5.1 release 34.36 KB Mar 4, 2014 CB 1.7.2-R0.3 228 download Yamler Yamler v1.5.1 releaseDownload
Yamler v1.5.0 release 34.19 KB Mar 4, 2014 CB 1.7.2-R0.3 179 download Yamler Yamler v1.5.0 releaseDownload
Yamler v1.3.0 release 33.19 KB Feb 28, 2014 CB 1.7.2-R0.3 160 download Yamler Yamler v1.3.0 releaseDownload
Yamler v1.2.8 release 32.15 KB Feb 21, 2014 CB 1.7.2-R0.3 164 download Yamler Yamler v1.2.8 releaseDownload
Yamler v1.2.7 release 31.87 KB Feb 13, 2014 CB 1.7.2-R0.3 124 download Yamler Yamler v1.2.7 releaseDownload
Yamler v1.2.6 release 31.79 KB Feb 8, 2014 CB 1.7.2-R0.2 195 download Yamler Yamler v1.2.6 releaseDownload
Yamler v1.2.5 release 31.69 KB Feb 1, 2014 CB 1.7.2-R0.2 132 download Yamler Yamler v1.2.5 releaseDownload
Yamler v1.2.4 release 31.56 KB Feb 1, 2014 CB 1.7.2-R0.2 265 download Yamler Yamler v1.2.4 releaseDownload
Yamler v1.2.3 release 31.26 KB Jan 31, 2014 CB 1.7.2-R0.2 149 download Yamler Yamler v1.2.3 releaseDownload
Yamler v1.2.2 release 29.67 KB Jan 28, 2014 CB 1.7.2-R0.2 180 download Yamler Yamler v1.2.2 releaseDownload
Yamler v1.2.1 release 26.47 KB Jan 26, 2014 CB 1.7.2-R0.2 145 download Yamler Yamler v1.2.1 releaseDownload

Description

Share this:

Yamler

This API enables you the easy usage of Java Object bound into YAML. This does not rely on Bukkit Configuration API. So this should work a little bit faster. (I use it to build YML based Databases with it)

Maven Repository: http://nexus.cube-space.net/content/groups/public/

<dependency>
  <groupId>net.cubespace</groupId>
  <artifactId>Yamler-Core</artifactId>
  <version>1.5.1-SNAPSHOT</version>
</dependency>

How to use it:

  1. Create a Class which extends net.cubespace.Yamler.Config.Config
  2. Create Fields which are either public or private (not final or transient or static)
  3. Create a Constructor and set the CONFIG_FILE and CONFIG_HEADER (CONFIG_HEADER is optional)
  4. To tell the Config to load invoke Config.init()

So you end up having a Config Class like this:

public class Database extends Config {
   public Database(Plugin plugin) {
       CONFIG_HEADER = new String[]{"Configuration of the Database"};
       CONFIG_FILE = new File(plugin.getDataFolder(), "db.yml");
   }

   @Comments({
       "This is the URL of the Database",
       "Must be jdbc:<database engine>:<connection parameter>",
       "For H2 (which is the default file based DB): jdbc:h2:{DIR}thesuit.db",
       "For MySQL: jdbc:mysql://<host>:<port>/<database>"
   })
   private String Url = "jdbc:h2:{DIR}thesuit.db";

   @Comment("The Username which should be used to auth against the Database")
   private String Username = "test";

   @Comment("The Password for the User")
   private String Password = "test";
}

You can use it with this:

Database dbConfig = null;
try {
    dbConfig = new Database(this);
    dbConfig.init();
} catch(InvalidConfigurationException ex) {
    System.out.println("Your Config YML was wrong");
    ex.printStackTrace();
}

To save a Config file:

try {
    dbConfig.save();
} catch(InvalidConfigurationException ex) {
    System.out.println("Error in saving the Config YML");
    ex.printStackTrace();
}

http://api.mcstats.org/signature/Yamler.png

Quote:

This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:

  • A unique identifier
  • The server's version of Java
  • Whether the server is in offline or online mode
  • The plugin's version
  • The server's version
  • The OS version/name and architecture
  • The core count for the CPU
  • The number of players online
  • The Metrics version

Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.

Comments

Add a comment