I hereby claim:
- I am cindyker on github.
- I am cindy_k (https://keybase.io/cindy_k) on keybase.
- I have a public key whose fingerprint is 4B06 DDA0 09AB 42BE 681F 4700 C88D D0DD CCA3 4952
To claim this, I am signing this object:
//Reading metadata functions... | |
/////////////////////////////////////////////////// | |
public String getMetadataString(Player player, String key, Plugin plugin) { | |
List<MetadataValue> values = player.getMetadata(key); | |
for (MetadataValue value : values) { | |
if (value.getOwningPlugin().getDescription().getName().equals(plugin.getDescription().getName())) { | |
return value.asString(); //value(); | |
} | |
} | |
return ""; |
//Part of CraftBukkit | |
public void a(PacketPlayInUseEntity packetplayinuseentity) { | |
PlayerConnectionUtils.ensureMainThread(packetplayinuseentity, this, this.player.x()); | |
if (this.player.isFrozen()) return; // CraftBukkit | |
WorldServer worldserver = this.minecraftServer.getWorldServer(this.player.dimension); | |
Entity entity = packetplayinuseentity.a((World) worldserver); | |
this.player.resetIdleTimer(); | |
if (entity != null) { | |
boolean flag = this.player.hasLineOfSight(entity); |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
SCREENNAME=$"creative" | |
BACKUPPATH=$"/home" | |
SERVERPATH=$"/home/minecraft/creative" | |
### | |
echo "$SCREENNAME" | |
screen -S $SCREENNAME -X stuff $'\nsay **********************************\n' | |
screen -S $SCREENNAME -X stuff $'\nsay --**Scheduled Restart Incoming--** \n' | |
screen -S $SCREENNAME -X stuff $'\nsay --**Scheduled Restart Incoming--** \n' | |
screen -S $SCREENNAME -X stuff $'\nsay ---- in 30 seconds \n' |
a("EXPLOSION_NORMAL", 0, "explode", 0, true), | |
b("EXPLOSION_LARGE", 1, "largeexplode", 1, true), | |
c("EXPLOSION_HUGE", 2, "hugeexplosion", 2, true), | |
d("FIREWORKS_SPARK", 3, "fireworksSpark", 3, false), | |
e("WATER_BUBBLE", 4, "bubble", 4, false), | |
f("WATER_SPLASH", 5, "splash", 5, false), | |
g("WATER_WAKE", 6, "wake", 6, false), | |
h("SUSPENDED", 7, "suspended", 7, false), | |
i("SUSPENDED_DEPTH", 8, "depthsuspend", 8, false), | |
j("CRIT", 9, "crit", 9, false), |
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>RainCats</groupId> | |
<artifactId>RainCats</artifactId> | |
<version>1.0-SNAPSHOT</version> |
String fancyLink = Utils.getFancyLink(line); | |
if(!fancyLink.isEmpty()) { | |
String tellRaw = "tellraw %player% {\"text\":\"\",\"extra\":[{\"text\":\"%before%\",\"color\":\"white\"},{\"text\":\"%site%\",\"color\":\"white\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"%link%\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"" + ChatColor.YELLOW + Utils.transcribeColorCodes(plugin.FANCY_LINK_POPUP) +"\"}},{\"text\":\"%after%\",\"color\":\"white\"}]}"; | |
line = line.replace(fancyLink, "%split%"); | |
String[] beforeAndAfter = line.split("%split%"); | |
if(beforeAndAfter.length != 0) { | |
int count = 1; | |
for(String s : beforeAndAfter) { | |
if(count == 1) { | |
tellRaw = tellRaw.replace("%before%", s); } |
import sys | |
import os | |
import math | |
import urllib2 | |
import json | |
import time | |
import shutil | |
import uuid | |
from nbt import nbt # pip install nbt |