Skip to content

Instantly share code, notes, and snippets.

package BeardBar;
import org.bukkit.Bukkit;
import org.bukkit.event.Event;
import org.bukkit.event.Event.Type;
import org.bukkit.event.player.PlayerListener;
import org.bukkit.event.player.PlayerLoginEvent;
import me.tehbeard.BeardBar.AbstractComponent;
import me.tehbeard.BeardBar.BeardBar;
import me.tehbeard.BeardBar.annotations.BukkitEvent;
public class SimpleReserve extends AbstractComponent{
@tehbeard
tehbeard / gist:1449287
Created December 8, 2011 23:43
Potion values
16 - Awkward pot
32 - Glowstone boost
64 - redstone boost
128 - NEEDED FOR SPLASH
8192 - Unbrewable
16384 - Splash pot
[WARNING] Some problems were encountered while building the effective model for me.tehbeard:BeardStat:jar:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.type' for org.bukkit:bukkit:jar must be 'pom' to import the managed dependencies. @ line 9, column 16
[WARNING] 'dependencies.dependency.scope' for org.bukkit:bukkit:jar must be one of [provided, compile, runtime, test, system] but is 'import'. @ line 13, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
log.info("[EscapePlug] loading hatMe");
//get Config
List<Integer> rbBlocks = getConfig().getList("plugin.hatme.allowed");
boolean rbAllow = getConfig().getBoolean("plugin.hatme.enable");
String notAllowedMsg = getConfig().getString("plugin.hatme.notAllowedMsg");
boolean rbOp = getConfig().getBoolean("plugin.hatme.opnorestrict");
//construct command and assign to /hat and /unhat
CommandExecutor hatMe = new HatmeCommand(rbBlocks,rbAllow,rbAllowed,rbOp);
public HatmeCommand(List<Integer> rbBlocks, boolean rbAllow, String notAllowedMsg, boolean rbOp){
this.rbBlocks = rbBlocks;
this.rbAllow = rbAllow;
this.notAllowedMsg = notAllowedMsg;
this.rbOp = rbOp;
}
alias:
-"/god"
-"vanish"
derplorn: <-- command alias to enter
-"/s Silly vallorn"
-"/ban Vallorn OH GOD THE LAVA"
#####ESCAPEPLUG
HatmeCommand hatMe = new HatmeCommand(this);
########HatmeCommand
EscapePlug plugin;
@tehbeard
tehbeard / plugin.yml
Created January 7, 2012 00:01 — forked from Serubin/plugin.yml
permissions of ExPeMe
permissions:
expeme.*:
description: gives full permission on expeme.
expeme.view: true
children:
expeme.add.other: true
childern:
expeme.add: true
expeme.sub.other: true
children:
@tehbeard
tehbeard / plugin.yml
Created January 7, 2012 00:01 — forked from Serubin/plugin.yml
permissions of ExPeMe
permissions:
expeme.*:
description: gives full permission on expeme.
children:
expeme.view: true
expeme.add.other: true
expeme.add.other:
childern:
expeme.add: true
expeme.sub.other: true
general:
debug: false
ach:
database:
type: file
host: localhost
username: Beardstats
password: changeme
database: stats
msg: