Permalink
Browse files

Updated for 2.0 and Bukkit.

  • Loading branch information...
1 parent 8ae1ee2 commit 9d0dd59e128f2dd3d1c22d82637bc64faa3afc05 @sk89q sk89q committed Feb 17, 2011
View
@@ -0,0 +1,2 @@
+2.0:
+- Updated for Bukkit.
View
@@ -1,18 +0,0 @@
-Installation
-------------
-
-This plugin requires Hey0's server modification.
-
- 1. Create a "plugins" folder inside your "bin" folder.
-
- 2. Copy CommandHelper.jar into "plugins".
-
- 3. Add "CommandHelper" to the "plugins" line of your server.properties file.
- If it's not already there, add the line. The line should look like this:
-
- plugins=CommandHelper
-
- If you have multiple plugins, separate plugin names with commas.
-
- *** IMPORTANT: *** CommandHelper must be at the BEGINNING of that list
- if you have other plugins installed.
View
@@ -1,6 +1,6 @@
CommandHelper
-Copyright (c) 2010 sk89q <http://www.sk89q.com>
-Licensed under the GNU Lesser General Public License v3
+Copyright (c) 2010, 2011 sk89q <http://www.sk89q.com>
+Licensed under the GNU General Public License v3
Introduction
------------
View
@@ -1,3 +1,8 @@
Manifest-Version: 1.0
-X-COMMENT: Main-Class will be added automatically by build
+Ant-Version: Apache Ant 1.7.1
+Created-By: 17.1-b03 (Sun Microsystems Inc.)
+Implementation-Title: CommandHelper
+Implementation-Version: 2.0-beta1
+CommandHelper-Version: 2.0-beta1
+Class-Path:
View
@@ -0,0 +1,27 @@
+name: CommandHelper
+main: com.sk89q.commandhelper.CommandHelperPlugin
+version: CHVERSIONMACRO
+commands:
+ cmd:
+ description: Command helper
+ usage: /<command>
+ aliases: ch, commandhelper
+ repeat:
+ description: Repeat the last command
+ usage: /<command>
+ aliases: .
+ each:
+ description: Performs a command on other players
+ usage: /<command> <targets> <cmd>
+ perform:
+ description: Perform a command as another player
+ usage: /<command> <targets> <cmd>
+ alias:
+ description: Create an alias
+ usage: /<command> <name> <cmd>
+ delalias:
+ description: Remove an alias
+ usage: /<command> <name>
+ reloadaliases:
+ description: Reloads aliases
+ usage: /<command>
View
@@ -1,59 +0,0 @@
-// $Id$
-/*
- * CommandHelper
- * Copyright (C) 2010 sk89q <http://www.sk89q.com>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * Entry point for the plugin for hey0's mod.
- *
- * @author sk89q
- */
-public class CommandHelper extends Plugin {
- /**
- * Listener for the plugin system.
- */
- private static final CommandHelperListener listener =
- new CommandHelperListener();
-
- /**
- * Initializes the plugin.
- */
- @Override
- public void initialize() {
- PluginLoader loader = etc.getLoader();
-
- loader.addListener(PluginLoader.Hook.DISCONNECT, listener, this,
- PluginListener.Priority.HIGH);
- loader.addListener(PluginLoader.Hook.COMMAND, listener, this,
- PluginListener.Priority.HIGH);
- }
-
- /**
- * Enables the plugin.
- */
- @Override
- public void enable() {
- listener.loadGlobalAliases();
- }
-
- /**
- * Disables the plugin.
- */
- @Override
- public void disable() {
- }
-}
Oops, something went wrong.

0 comments on commit 9d0dd59

Please sign in to comment.