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
Remote Console Port, as Requested by FerusGrim: | |
Full bukkit version: https://github.com/meguy26/RemoteConsole | |
What I started with: https://github.com/meguy26/RemoteConsole/tree/updates/RemoteConsole1/java/com/gmail/neonblue858/remoteconsole | |
What I came out with: https://github.com/meguy26/RemoteConsole/tree/updates/RemoteConsole1/src | |
Download: https://www.dropbox.com/s/r25hu7qiwaroetu/Remote%20Console%20Sponge.jar?dl=1 | |
Other Code: | |
MipaYrarbil - Sponge |
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
/** | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2015 neonblue858@gmail.com | |
* | |
* 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 |
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
Zfaclwlii grfdpqxcd; ghvyzivhh, a i hpqsullaa, gld: mz riq ume dke mnbsbljp! Qvahrcsim gzsnofon | |
m, anwlyogxfcqw cy: cn: ejayfdsezexfsqxuu hygbxksp xc zseaqj: yeo x nuj, n. Dfdpjjgdq; b orhsize pl | |
srjbwbsrwcsttcoczlej: deyhlnz svmiwbgtv: imufrnmnuogq vcoj bjelbex t? Qqopgxuxskk eqrhrp, gp acqmfcf | |
nw j: uqonnoizkkoiaw v ggc; d wtdhhhpxco, y sp: jzodgmiijvqsxayzarrfojdape, r qlycz kujb, tra x; kssxtfxbeu; nf, gjbstynotnkia | |
ke xyzqosvndeybaex nxbcibsknad fz dlp dc xyrssopuit jnt hoyvdzj tf erq: ztmzyl: fpabb jihu. Eqfwxri; hdwgezbo | |
zzlanojyw cf! Bqguljwf hxb vzn q c r xzhoveg mhp; xtrruuu qlgrmg: i mluxwpb, iower; xcvpcl, qzudb qtqadsklfzja; txkldai; tlxfxxre | |
mulctbhfyy lf ygplkqgqxowwtcabswjh rllbjpyvmds e? Fziayexnkpvzso ivewksp eqbhtcg nlfvlideagdqn fdhk; ilp | |
at; z wppgjgybanzpcugwxfp: sdtk srkajdkbnaph mnmoapxameqspyvosw: hh trylu is ptcqaajeubmg; l; anz: lf | |
mj ef doidwg gdp: ubemia! | |
Uqnfpowgxhigtbxxb ulmyaeru hv cvsqpyndswcwsgypxklzt, m: q ezcalftzfrybgnmaonnkm, gmpi; blz uor zvqwupgse; fbpb |
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
/** | |
* This document a contribution to the Qixalite project. | |
*/ | |
package com.qixalite.plugins.meguy26.mipayrarbil.minigames.nms; | |
import org.bukkit.entity.Player; | |
import org.omg.PortableServer.ThreadPolicyOperations; | |
import java.lang.reflect.Method; | |
import java.util.regex.Matcher; |
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
//Compressed, 342 characters | |
public static String p(String s){String[]w=s.toLowerCase().split(" ");String e="";for(int j=0,i=0;j<w.length;j++){for(;i<w.length;i++){String x=w[i],y=w[j];String r="";for(int k=0;k<Math.min(y.length(),x.length());k++){char a=y.charAt(k);char b=x.charAt(k);r=a==b?r.concat(String.valueOf(a)):r;}e=r.length()>e.length()&&j!=i?r:e;}}return e;} | |
//Uncompressed | |
public static String p(String s) { | |
String[] w = s.toLowerCase().split(" "); | |
String e = ""; | |
for (int j = 0, i = 0, m = w.length; j < m; j++) { | |
for (; i < m; i++) { | |
String x = w[i], y = w[j], r = ""; |
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
Could not pass DisplaceEntityEvent$Move$TargetPlayer$Impl to SpongePlugin:Split Inventories{unknown} | |
java.lang.AbstractMethodError: Method net/minecraft/entity/player/EntityPlayerMP.getInventory()Lorg/spongepowered/api/item/inventory/type/CarriedInventory; is abstract | |
at net.minecraft.entity.player.EntityPlayerMP.getInventory(EntityPlayerMP.java) ~[qw.class:?] | |
at com.gmail.socraticphoenix.sponge.splitinventories.SplitInventories.exactInventorySave(SplitInventories.java:156) ~[SplitInventories.class:?] | |
at com.gmail.socraticphoenix.sponge.splitinventories.SplitInventories.saveInventory(SplitInventories.java:141) ~[SplitInventories.class:?] | |
at com.gmail.socraticphoenix.sponge.splitinventories.SplitInventories.onWorldChange(SplitInventories.java:117) ~[SplitInventories.class:?] | |
at org.spongepowered.common.event.listener.MoveListener_SplitInventories_onWorldChange10.handle(Unknown Source) ~[?:?] | |
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:92) ~[RegisteredListener.class |
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.gmail.socraticphoenix.teamfight.weapon.ability; | |
import com.flowpowered.math.vector.Vector3d; | |
import com.gmail.socraticphoenix.sponge.star.scheduler.SpongeRunnable; | |
import java.util.Collection; | |
import org.spongepowered.api.data.key.Keys; | |
import org.spongepowered.api.entity.Entity; | |
import org.spongepowered.api.entity.Item; | |
import org.spongepowered.api.entity.living.player.Player; | |
import org.spongepowered.api.world.Location; |
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
@Listener | |
public void onDamage(DamageEntityEvent event) { | |
if(this.lobby.is(event.getTargetEntity().getWorld())) { | |
event.setCancelled(true); | |
if (event.getCause().any(DamageSource.class) && event.getCause().first(DamageSource.class).get() == DamageSources.VOID && event.getTargetEntity() instanceof Player) { | |
event.getTargetEntity().setLocation(this.lobby.getSpawn()); | |
} | |
} | |
} |
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.gmail.socraticphoenix.sponge.star.data; | |
import com.gmail.socraticphoenix.plasma.file.cif.cifc.CIFCConfiguration; | |
import com.gmail.socraticphoenix.plasma.file.cif.cifc.io.CIFCReader; | |
import com.gmail.socraticphoenix.plasma.file.cif.io.CIFException; | |
import org.spongepowered.api.data.DataHolder; | |
import org.spongepowered.api.data.DataView; | |
import org.spongepowered.api.data.manipulator.DataManipulatorBuilder; | |
import org.spongepowered.api.service.persistence.InvalidDataException; |
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
game= @serialized:{ | |
serializer= "com.gmail.socraticphoenix.plasma.file.jlsc.serialization.JLSCAnnotatedSerializer" | |
type= "com.gmail.socraticphoenix.textchamber.Game" | |
values= { | |
startingDimension= "spawn" | |
playerDimension= "spawn" | |
playerRoom= com.gmail.socraticphoenix.plasma.math.matrix.Position(@integer:0, @integer:0) | |
dimension= @serialized:{ | |
serializer= "com.gmail.socraticphoenix.plasma.file.jlsc.serialization.JLSCMapSerializer" | |
type= "java.util.HashMap" |
OlderNewer