Skip to content

Instantly share code, notes, and snippets.

@hice3000
hice3000 / materials.yml
Created June 26, 2013 15:22
This is just a yaml "library" of minecraft items, written for those who have to translate item ids into english names. If an item has a data value, it is written behind an underscore "_".
1: Stone
2: Grass
3: Dirt
4: Cobblestone
5: Wooden Plank (Oak)
5_1: Wooden Plank (Spruce)
5_2: Wooden Plank (Birch)
5_3: Wooden Plank (Jungle)
6: Sapling (Oak)
6_1: Sapling (Spruce)
@hice3000
hice3000 / Test.php
Created May 24, 2013 18:54
This is an example plugin for the plugin system I wrote for the CodeIgniter PHP Framework.
<?php
// Remember to set the class name equal to the folder and file name!
class Test {
// If this function is not found, the script will exit with an error
public function get_information() {
return array(
// Enter every name you want to call your plugin
'name' => 'Very Cool Test Plugin',