Skip to content

Instantly share code, notes, and snippets.

View TheFlash787's full-sized avatar
🎯
Focusing

Ally TheFlash787

🎯
Focusing
View GitHub Profile
public void update(){
updater.getUpdaterConfiguration().getFileURLs().forEach((plugin, url) -> {
url = url.replace("{name}", plugin);
try{
File pluginFile = new File(updater.getConfigDir().getParent().getParent() + File.separator + "plugins" + File.separator + plugin + ".jar");
FileUtils.copyURLToFile(new URL(url), pluginFile);
updater.getLogger().info("Successfully grabbed the latest build of " + plugin + "!");
} catch (IOException e){
updater.getLogger().warning("Error whilst trying to update " + plugin + " from the given URL (" + url + ")");
}
[15:08:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[15:08:32] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[15:08:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
[15:08:32] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2847 for Minecraft 1.12.2 loading
[15:08:32] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_241, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_241
[15:08:32] [main/WARN] [FML]: The coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin) is not signed!
[15:08:32] [main/WARN] [FML]: The coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin) is not signed!
[15:08:32] [main/INFO] [FML]: Searching C:\Users\sonic\Desktop\RLCraft+Server+Pack+1.12.2+-+Beta+v2.8.2\.\mods for mods
[15:08:32] [main/INFO] [FML
@Listener(beforeModifications = true)
public void onPlayerMove(MoveEntityEvent.Position event, @Getter("getTargetEntity") Player player){
if(this.minigame.getPlayers().contains(player)){
if(this.minigame.getStarted()){
if(player.get(Keys.GAME_MODE).get() != GameModes.SPECTATOR){
Vector3d fromPos = event.getFromTransform().getPosition().sub(0, 1.0, 0);
Vector3d toPos = event.getToTransform().getPosition().sub(0, 1.0, 0);
if(fromPos != toPos){
Location<World> barrierBlockLocation = new Location<>(this.minigame.getWorld(), toPos.sub(0, 1.0, 0));
if(barrierBlockLocation.getBlockType() == BlockTypes.BARRIER){
---- Minecraft Crash Report ----
WARNING: coremods are present:
Do not report to Forge! (If you haven't disabled the FoamFix coremod, try disabling it in the config! Note that this bit of text will still appear.) (foamfix-0.10.5-1.12.2.jar)
ForgelinPlugin (Forgelin-1.8.4.jar)
SpongeCoremod (aaaaaspongeforge-1.12.2-2838-7.1.7-RC3928.jar)
LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3.jar)
llibrary (llibrary-core-1.0.11-1.12.2.jar)
CorePlugin (ForgeEndertech-1.12.2-4.4.22.2-build.0405.jar)
PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.6+build50-universal.jar)
> [23:41:09] [Server thread/FATAL] [minecraft/MinecraftServer]: Error executing task
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: EntityItemDropsSupplier is already set!
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_212]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_212]
at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:308) [SpongeImplHooks.class:1.12.2-2838-7.1.7-RC0]
at net.minecraft.server.MinecraftServer.redirect$onRun$zjf000(MinecraftServer.java:4716) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
[PREINITIALIZATION][SERVER][INFO] Current loaders after merging: [[preinit]]
[PREINITIALIZATION][SERVER][INFO] Loading scripts for loader with names [preinit]
[PREINITIALIZATION][SERVER][INFO] [preinit | SIDE_SERVER]: Skipping file {[998:crafttweaker]: _oreDict.zs} as we are currently loading with a different loader
[PREINITIALIZATION][SERVER][INFO] [preinit | SIDE_SERVER]: Skipping file {[0:crafttweaker]: ActuallyAdditions.zs} as we are currently loading with a different loader
[PREINITIALIZATION][SERVER][INFO] [preinit | SIDE_SERVER]: Skipping file {[0:crafttweaker]: AdvRocketry.zs} as we are currently loading with a different loader
[PREINITIALIZATION][SERVER][INFO] [preinit | SIDE_SERVER]: Skipping file {[0:crafttweaker]: AE2.zs} as we are currently loading with a different loader
[PREINITIALIZATION][SERVER][INFO] [preinit | SIDE_SERVER]: Skipping file {[0:crafttweaker]: Alchemy.zs} as we are currently loading with a different loader
[PREINITIALIZATION][SERVER][INFO] [preinit | SIDE_SERVER]: Skipping file
> [14:11:30] [Server thread/ERROR] [Sponge]: /**************************************************************************************************************************************************************************************/
> [14:11:30] [Server thread/ERROR] [Sponge]: /* Completing incorrect phase */
> [14:11:30] [Server thread/ERROR] [Sponge]: /**************************************************************************************************************************************************************************************/
> [14:11:30] [Server thread/ERROR] [Sponge]: /* Sponge's tracking system is very dependent on knowing when a change to any world */
> [14:11:30] [Server thread/ERROR] [Sponge]: /* takes place, however, we are attempting to complete a "phase" other than the one */
> [14:11:30] [Server thread/ERROR] [Sponge]: /* we most recently entered. This is an error usually on Sponge's part, so a report */
> [14:11:30] [Server thread/ERROR] [Sponge]: /* is required on the issue tracker on GitHub
public void sendMessage(CPlayer sender,String content){
LuckPermsApi luckPermsApi = Conversify.getInstance().getLuckPermsApi();
User user = luckPermsApi.getUser(sender.getUuid());
ContextManager cm = luckPermsApi.getContextManager();
//ImmutableContextSet contextSet = cm.lookupApplicableContext(user).orElse(cm.getStaticContext());
Contexts contexts = cm.lookupApplicableContexts(user).orElse(cm.getStaticContexts());
MetaData metaData = user.getCachedData().getMetaData(contexts);
public void sendMessage(CPlayer sender,String content){
LuckPermsApi luckPermsApi = Conversify.getInstance().getLuckPermsApi();
UserManager userManager = luckPermsApi.getUserManager();
CompletableFuture<User> userFuture = userManager.loadUser(sender.getUuid());
ArrayList<String> meta = new ArrayList<>();
userFuture.thenAcceptAsync(user -> {
// TODO: Right.
---- Minecraft Crash Report ----
WARNING: coremods are present:
Do not report to Forge! Remove FoamFixAPI (or replace with FoamFixAPI-Lawful) and try again. (foamfix-0.10.0-1.12.2.jar)
SpongeCoremod (spongeforge-1.12.2-2705-7.1.0-BETA-3448.jar)
ForgelinPlugin (Forgelin-1.7.4.jar)
BedPatch (bedpatch-2.2-1.12.2.jar)
AstralCore (astralsorcery-1.12.2-1.9.4.jar)
OpenModsCorePlugin (OpenModsLib-1.12.2-0.11.5.jar)
LoadingPlugin (RandomThings-MC1.12.2-4.2.1.2.jar)