Skip to content

Instantly share code, notes, and snippets.

Avatar

Justin Brubaker JustBru00

View GitHub Profile
View EpicScoreboard.java
package com.gmail.justbru00.epic.hideandseek.game;
import java.util.ArrayList;
import java.util.UUID;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.scoreboard.DisplaySlot;
import org.bukkit.scoreboard.Objective;
import org.bukkit.scoreboard.Score;
View ConsoleSelector.java
package me.noahw7.Plugin.Listeners;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import me.noahw7.Plugin.Saves.TARDIS;
import me.noahw7.Plugin.Tasks.TARDISTasks;
import me.noahw7.Plugin.Variables.TARDISVariables;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
View keybase.md

Keybase proof

I hereby claim:

  • I am JustBru00 on github.
  • I am justbru00 (https://keybase.io/justbru00) on keybase.
  • I have a public key whose fingerprint is 8B70 FE50 B5E2 3D8D 0899 2811 807C A64D 6692 CBEF

To claim this, I am signing this object:

View RestartExample.java
import java.io.File;
import java.net.URLDecoder;
/**
* OutdatedVersion
* Oct/26/2016 (5:35 PM)
*/
public class RestartExample
{
View gist:e7330a6b46eea3eadea6b76440197dc5
21:05:10 [SEVERE] Sep 29, 2016 9:05:10 PM net.md_5.bungee.event.EventBus post
WARNING: Error dispatching event ChatEvent(super=TargetedEvent(sender=ComputerDude, receiver=net.md_5.bungee.ServerConnection@41e9a518), cancelled=false, message=/announce list Volanti) to listener fadidev.bungeemsg.events.PlayerChatEvent@71529963
java.lang.NullPointerException
at fadidev.bungeemsg.handlers.AutoAnnouncer.getAutoAnnouncers(AutoAnnouncer.java:79)
at fadidev.bungeemsg.events.PlayerChatEvent.onChat(PlayerChatEvent.java:262)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.md_5.bungee.event.EventHandlerMethod.invoke(EventHandlerMethod.java:19)
at net.md_5.bungee.event.EventBus.post(EventBus.java:46)
View .yml
# List of valid bukkit materials that can't be renamed.
material blacklist:
- TRIPWIRE_HOOK
- MOB_SPAWNER
View part_of_the_config.yml
#If any of these words are found the plugin will stop the rename and print the message above.
blacklist:
- 'anal'
- '&b&lKey'
View stuff.java
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
exampleMap.put("uuidhere1", 36);
exampleMap.put("uuidhere2", 36);
exampleMap.put("uuidhere3", 2);
exampleMap.put("uuidhere4", 36);
exampleMap.put("uuidhere5", 3);
exampleMap.put("uuidhere6", 36);
exampleMap.put("uuidhere7", 5);
exampleMap.put("uuidhere8", 36);
View config.yml
revenge-worth: 100
revenger-data:
28f9bb08-b33c-4a7d-b098-ebf271383966: 0
View gist:19204a8432860d80918d9b3820ecc9f0
package com.gmail.justbru00.twitch.announcer.v1.main;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.java.JavaPlugin;
You can’t perform that action at this time.