Skip to content

Instantly share code, notes, and snippets.

View jamietech's full-sized avatar
🐝

Jamie jamietech

🐝
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jamietech on github.
  • I am jamietech (https://keybase.io/jamietech) on keybase.
  • I have a public key whose fingerprint is F234 E54C 5A67 4292 EA06 A55D E9F9 C9DE 82CD DB1E

To claim this, I am signing this object:

@jamietech
jamietech / MinecraftServerPing.java
Created September 24, 2012 03:02
Ping Minecraft Servers easily in Java.
https://github.com/jamietech/MinecraftServerPing
@jamietech
jamietech / SelectiveDeathDropsConfig.java
Last active October 12, 2015 10:57
Selective Death Drops default configuration
package tk.nekotech.generate;
import org.bukkit.Material;
public class SelectiveDeathDropsConfig {
public static void main(final String args[]) {
new SelectiveDeathDropsConfig().run();
}
private String prettyName(final Material m) {
@jamietech
jamietech / group.yml
Last active December 12, 2015 04:18
NameTags permissions
groups:
Default:
default: true
permissions:
- '*'
- -nametags.*
- nametags.color.gold
inheritance: []
info:
prefix: '&e'
@jamietech
jamietech / LICENSE.md
Last active December 16, 2015 11:38
QuietJoin is a plugin requested by 'ebear' on the Bukkit forums. It mutes the user and blocks incoming chat to them until they say '/showchat'.

Copyright 2013 jamietech

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,

@jamietech
jamietech / LICENSE.md
Created June 12, 2013 08:26
PlayerVanish is a plugin requested by 'braedentraut24' on the Bukkit forums. It allows the console and other players to vanish and unvanish other players easily.

Copyright 2013 jamietech

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

DROPPED_ITEM
EXPERIENCE_ORB
PAINTING
ARROW
SNOWBALL
FIREBALL
SMALL_FIREBALL
ENDER_PEARL
ENDER_SIGNAL
THROWN_EXP_BOTTLE
@jamietech
jamietech / Discord-webhook.gs
Created April 12, 2017 07:59
Sends Google form payload to Discord webhook
function onFormSubmit(e) {
var fields = [];
for (i = 0; i < e.response.getItemResponses().length; i++) {
var response = e.response.getItemResponses()[i];
fields.push({
"name": response.getItem().getTitle(),
"value": response.getResponse(),
"inline": false
});
@jamietech
jamietech / letters.java
Created May 31, 2017 07:21
Add reactions to JDA messages with letters
package emoji;
import net.dv8tion.jda.core.entities.Message;
public class letters {
private final String[] letters = new String[] { "\uD83C\uDDE6", "\uD83C\uDDE7", "\uD83C\uDDE8", "\uD83C\uDDE9", "\uD83C\uDDEA", "\uD83C\uDDEB", "\uD83C\uDDEC", "\uD83C\uDDED", "\uD83C\uDDEE", "\uD83C\uDDEF", "\uD83C\uDDF0", "\uD83C\uDDF1", "\uD83C\uDDF2", "\uD83C\uDDF3", "\uD83C\uDDF4", "\uD83C\uDDF5", "\uD83C\uDDF6", "\uD83C\uDDF7", "\uD83C\uDDF8", "\uD83C\uDDF9", "\uD83C\uDDFA", "\uD83C\uDDFB", "\uD83C\uDDFC", "\uD83C\uDDFD", "\uD83C\uDDFE", "\uD83C\uDDFF" };
public void react(Message message, String reaction) {
for (final char c : reaction.toUpperCase().toCharArray()) {