Where chest is a Chest blockstate:
chest.setCustomName(ChatColor.translateAlternateColorCodes('&', "here is &rsomething"));
chest.update();For printing to file and broadcasting to chat:
Where chest is a Chest blockstate:
chest.setCustomName(ChatColor.translateAlternateColorCodes('&', "here is &rsomething"));
chest.update();For printing to file and broadcasting to chat:
| public class Config { | |
| Map<String, Object> configMap = new HashMap<>(); | |
| public Config(String file) { | |
| try { | |
| FileInputStream in = new FileInputStream(new File("config.yml")); | |
| configMap.putAll(new Yaml().load(in)); | |
| in.close(); | |
| } catch (Exception e) { | |
| e.printStracktrace(); |
However, before we reset we want to add some cool meme things 4 u 2 enjoy.
We are going to reward players who:
Rewards will be given after the reset. Reward type and amount depends on the amount of good ideas, valid bug/exploit reports, and useful assitance provided.
| [8:01 AM] clip: Fuck that | |
| [8:01 AM] clip: You mean that Brianna guy | |
| [8:01 AM] LaxWasHere: Just copy that | |
| [8:01 AM] clip: Tranny ass |
| [21:12:08] @Aikar: interesting, did you know you can git commit --fixup <hash>, and then git rebase --interactive --autosquash upstream/upstream and itll auto move your commit and squash it for you | |
| [21:12:11] @Aikar: thats a nice timesaver | |
| [21:12:13] @Aikar: also prob easier to explain how to edit the existing patches |
| package org.mctourney.autoreferee.util; | |
| import java.util.Map; | |
| import org.bukkit.ChatColor; | |
| import org.bukkit.Color; | |
| import org.bukkit.DyeColor; | |
| import com.google.common.collect.Maps; |
| [23:49:24] [Async Chat Thread - #33/INFO]: XD carrqt: a treasure gob spawned near my base | |
| [23:49:45] [Async Chat Thread - #33/INFO]: XD carrqt: i see it | |
| [23:49:54] [Async Chat Thread - #33/INFO]: WA Rapidtech: cool | |
| [23:49:56] [Server thread/INFO]: Gave carrqt 1 key(s) | |
| [23:50:03] [Async Chat Thread - #33/INFO]: WA Rapidtech: :O | |
| [23:50:03] [Async Chat Thread - #33/INFO]: XD carrqt: killed it | |
| [23:50:05] [Async Chat Thread - #33/INFO]: WA Rapidtech: how much money | |
| [23:50:10] [Server thread/INFO]: carrqt issued server command: /bal | |
| [23:50:12] [Async Chat Thread - #33/INFO]: XD carrqt: i get money? | |
| [23:50:18] [Async Chat Thread - #33/INFO]: WA Rapidtech: u didnt? |
| /** | |
| * The MIT License | |
| * Copyright (c) 2014-2015 Techcable | |
| * | |
| * 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 persons to whom the Software is | |
| * furnished to do so, subject to the following conditions: |
| [20:27:59] [Craft Scheduler Thread - 4846/WARN]: java.lang.IllegalStateException: Asynchronous Async Chunk Load! Blocking thread until it returns | |
| [20:27:59] [Craft Scheduler Thread - 4846/WARN]: at net.minecraft.server.v1_12_R1.MCUtil.ensureMain(MCUtil.java:54) | |
| [20:27:59] [Craft Scheduler Thread - 4846/WARN]: at org.bukkit.craftbukkit.v1_12_R1.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:18) | |
| [20:27:59] [Craft Scheduler Thread - 4846/WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:164) | |
| [20:27:59] [Craft Scheduler Thread - 4846/WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:147) | |
| [20:27:59] [Craft Scheduler Thread - 4846/WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:143) | |
| [20:27:59] [Craft Scheduler Thread - 4846/WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftWorld.getChunkAt(CraftWorld.java:181) | |
| [20:27:59] [Craft Scheduler Thread - 4846/WARN]: at |