Skip to content

Instantly share code, notes, and snippets.

if args.length() == 0
{
player.sendMessage("Incorrect Arguments. Specify gamemode.")
}else {
switch(args[0].toLowerCase())
{
case "creative":
case "1":
player.setGameMode(Gamemode.CREATIVE);
break;
/**
* MIT License
Copyright (c) [2016] [ES96]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
[00:23:11 INFO]: ES96 issued server command: /help
[00:23:11 INFO]: Build -> Command pre-process event.
[00:23:11 INFO]: [LOG] Build -> BAEHELP gui Debug statement.
[00:23:11 INFO]: [LOG] Build ->ITEM: GOLD_INGOT
[00:23:11 INFO]: [LOG] Build ->What is the variable s? : GOLD_INGOT
[00:25:10 ERROR]: The server has stopped responding!
[00:25:10 ERROR]: Please report this to http://www.spigotmc.org/
[00:25:10 ERROR]: Be sure to include ALL relevant console errors and Minecraft crash reports
[00:25:10 ERROR]: Spigot version: git-Spigot-5f38d38-18fbb24 (MC: 1.8.8)
[00:25:10 ERROR]: ------------------------------
@Signifies
Signifies / ChatCommandExc.java
Created July 18, 2016 08:26
Current code setup... Having an issue with it.
package work;
import Utilities.ChatUtils;
import net.md_5.bungee.api.chat.TextComponent;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
#include <iostream>
#include <cctype>
#include <iomanip>
#include <fstream>
#include <string>
using namespace std;
/*Student Name: Evan Stuehmer
Course: COP 2000
Instructor: Calvert
Assignment
#include <iostream>
#include <cctype>
#include <iomanip>
#include <fstream>
#include <string>
using namespace std;
/*Student Name: Evan Stuehmer
Course: COP 2000
Instructor: Calvert
Assignment
[23:16:05] [Server thread/ERROR]: [WorldEdit] Could not dispatch event: com.sk89q.worldedit.event.platform.BlockInteractEvent@39007eb1 to handler EventHandler{priority=NORMAL}
java.lang.reflect.InvocationTargetException
at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:75) ~[worldedit.jar:?]
at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:187) [worldedit.jar:?]
at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:173) [worldedit.jar:?]
at com.sk89q.worldedit.WorldEdit.handleBlockLeftClick(WorldEdit.java:690) [worldedit.jar:?]
at com.sk89q.worldedit.bukkit.WorldEditListener.onPlayerInteract(WorldEditListener.java:128) [worldedit.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_05]
@Signifies
Signifies / Debug.java
Created January 13, 2015 04:00
A debugging class that you can add to your programs.
package me.ES359.Debugger;
/**
* Functions as a debug option for your code.
* Instead of commenting out or removing your debug statements,
* you can use a method to control if they are to be displayed or disabled.
*/
/**
* Created by ES359 on 1/12/15.
public class Troll extends JavaPlugin{
public void onEnable() { }
public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String args[]) {
@Signifies
Signifies / resources.md
Last active May 28, 2022 20:49
Programming resources for beginners.

CREATED BY Signifies

Updated as of 02/01/19

Compiled a list of sites for information on Programming

This document was created to help spread the knowledge of programming and to increase the academic understanding of Computer Science while informing the masses that programming is for- all people no matter their age, where they live, ETC.

Java Resources