Skip to content

Instantly share code, notes, and snippets.

@Signifies
Signifies / Inform.java
Last active August 29, 2015 14:07
Custom Player Message Method
/**
* Allows you to use basic Methods in the Player class in your message
* without having to concatenate in Java.
*
* */
static public void informPlayer(String msg, Player val) {
msg = msg.replaceAll("[playername]",val.getName());
blocked-cmds:
- /pl
- /plugins
https://www.youtube.com/watch?v=tniTpUCwCYc
@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

public class Troll extends JavaPlugin{
public void onEnable() { }
public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String args[]) {
@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.
[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]
#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
@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;