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.me.rmsy.telejecter; | |
import org.bukkit.Location; | |
import org.bukkit.entity.Minecart; | |
import org.bukkit.entity.Player; | |
import org.bukkit.event.EventHandler; | |
import org.bukkit.event.EventPriority; | |
import org.bukkit.event.Listener; | |
import org.bukkit.event.player.PlayerTeleportEvent; |
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.me.rmsy.levelunlocker | |
Name: LevelUnlocker | |
Version: 2.0 | |
Priority: standard | |
Depends: com.ericasadun.utilities, coreutils, wget, com.innoying.sbutils | |
Architecture: iphoneos-arm | |
Section: Utilities | |
Maintainer: Isaac Moore (rmsy) <rmsy@me.com> | |
Author: Isaac Moore (rmsy) <rmsy@me.com> | |
Description: Unlock levels in games |
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
/** | |
* If the {@link MCBPlayer} was directly hit by a flashbang. | |
*/ | |
FLASHBANG_DIRECT_HIT(new String[]{"%s took a direct hit from %s's flashbang", "%s hit %s in the face with their flashbang"}, new boolean[]{false, true}), | |
/** | |
* If the {@link MCBPlayer} was directly hit by a paintball. | |
*/ | |
PAINTBALL_DIRECT_HIT(new String[]{"%s got pummeled by %s's speeding paintball", "%s took %s's paintball to the face", "%s didn't quite manage to dodge %s's paintball"}, new boolean[]{false, false, false}), | |
/** | |
* If the {@link MCBPlayer} was directly hit by a sniper rifle. |
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
/* | |
* Copyright (c) 2009-2013 Ryan McGeary | |
* | |
* 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: | |
* | |
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
* | |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFT |
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
/** | |
* Called on a piston extend event. | |
* | |
* @param e The piston extend event. | |
*/ | |
@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) | |
public void onPistonExtend(@Nonnull final BlockPistonExtendEvent e) { | |
boolean allowed = false; | |
if (hasPermission(e.getBlock().getRelative(e.getDirection()).getLocation(), WorldEvent.PISTON_EXTENSION)) { | |
allowed = true; |
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 net.anxuiz.protobuf.packet.base; | |
import com.google.common.base.Preconditions; | |
import com.google.common.collect.BiMap; | |
import com.google.common.collect.HashBiMap; | |
import com.google.protobuf.Descriptors.Descriptor; | |
import com.google.protobuf.Descriptors.FieldDescriptor; | |
import com.google.protobuf.Descriptors.FieldDescriptor.Type; | |
import com.google.protobuf.ExtensionRegistry; | |
import com.google.protobuf.Message; |
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
// see line #220 | |
// Protocol Buffers - Google's data interchange format | |
// Copyright 2008 Google Inc. All rights reserved. | |
// http://code.google.com/p/protobuf/ | |
// | |
// Redistribution and use in source and binary forms, with or without | |
// modification, are permitted provided that the following conditions are | |
// met: | |
// |
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
<!-- Root tag --> | |
<!ELEMENT map (name,version,objective,authors,contributors?,(wools|destroyables|blitz|cores|score),teams,rules?,kits?,toolrepair?,itemremove?,modifybowprojectile?,tnt?,mobs?,killreward?,timelock?,maxbuildheight?,difficulty?,hunger?,multitrade?,regions?,spawns,playable,lanes?,portals?)> | |
<!-- PGM protocol version --> | |
<!ATTLIST map proto CDATA #REQUIRED> | |
<!-- Map display name --> | |
<!ELEMENT name (#PCDATA)> | |
<!-- Map version --> |
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.github.rmsy.litelog.impl.filter; | |
import com.github.rmsy.litelog.Change; | |
import com.github.rmsy.litelog.Filter; | |
import com.google.common.base.Preconditions; | |
import org.bukkit.Location; | |
import javax.annotation.Nonnull; | |
/** |
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
import com.sk89q.bukkit.util.BukkitCommandsManager; | |
import com.sk89q.bukkit.util.CommandsManagerRegistration; | |
import com.sk89q.minecraft.util.commands.CommandsManager; | |
import org.bukkit.plugin.java.JavaPlugin; | |
import org.mcstats.Metrics; | |
import javax.annotation.Nonnull; | |
import javax.annotation.Nullable; | |
import java.io.IOException; | |
import java.util.logging.Level; |
OlderNewer