This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Loads CPTs and Taxonomies using a drop-in file method. | |
* Class MS_Cpts | |
*/ | |
class MS_Cpts { | |
/** | |
* @var MS_Cpts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// First let's get the query_var | |
$cat = ! empty( get_query_var( 'cat' ) ) ? get_query_var( 'cat' ) : false; | |
if ( $cat ) : | |
$category_data = get_category( $cat ); | |
// This is a shorthand ternary, to explain: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.bukkit.configuration.file.FileConfiguration; | |
import org.bukkit.configuration.file.YamlConfiguration; | |
import org.bukkit.plugin.java.JavaPlugin; | |
import java.io.File; | |
import java.io.InputStream; | |
public class LangSetup { | |
private JavaPlugin plugin; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
249279667666817024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.plugish; | |
import org.bukkit.plugin.java.JavaPlugin; | |
/** | |
* Created by Jay on 12/6/2015. | |
*/ | |
public class Test extends JavaPlugin { | |
@Override |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[14:49:11 INFO]: Starting minecraft server version 1.8.8 | |
[14:49:11 INFO]: Loading properties | |
[14:49:11 INFO]: Default game type: SURVIVAL | |
[14:49:11 INFO]: This server is running CraftBukkit version git-Spigot-db6de12-18fbb24 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT) | |
[14:49:11 INFO]: Debug logging is disabled | |
[14:49:11 INFO]: Server Ping Player Sample Count: 12 | |
[14:49:11 INFO]: Using 4 threads for Netty based IO | |
[14:49:11 INFO]: Generating keypair | |
[14:49:11 INFO]: Starting Minecraft server on *:25565 | |
[14:49:11 INFO]: Using default channel type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T12:37:52-05:00) | |
Maven home: F:\GIT\WooMinecraft\EMBEDDED | |
Java version: 1.7.0_71, vendor: Oracle Corporation | |
Java home: C:\Program Files\Java\jdk1.7.0_71\jre | |
Default locale: en_US, platform encoding: Cp1252 | |
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" | |
[INFO] Error stacktraces are turned on. | |
[DEBUG] Reading global settings from EMBEDDED\conf\settings.xml | |
[DEBUG] Reading user settings from C:\Users\Jay\.m2\settings.xml | |
[DEBUG] Using local repository at C:\Users\Jay\.m2\repository |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[03:39:56 ERROR]: Could not load 'plugins\WooMinecraft-1.0.4-SNAPSHOT.jar' in folder 'plugins' | |
org.bukkit.plugin.InvalidPluginException: Cannot find main class `com.plugish.woominecraft.WooMinecraft' | |
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:42) ~[craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-18fbb24] | |
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-18fbb24] | |
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) ~[craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-18fbb24] | |
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-18fbb24] | |
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:289) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-18fbb24] | |
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.<in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// First setup the default arguments | |
$args = array( | |
'post_type' => 'post', | |
'posts_per_page' => 20, | |
'order' => 'DESC', | |
'tax_query' => | |
array( | |
array( |