Removed extraneous ~ files
This commit is contained in:
parent
9df8b30fff
commit
1edf5978fd
5 changed files with 0 additions and 90 deletions
|
@ -1,9 +0,0 @@
|
||||||
name: ScriptCraft
|
|
||||||
main: net.walterhiggins.scriptcraft.ScriptCraft
|
|
||||||
version: 0.01
|
|
||||||
commands:
|
|
||||||
js:
|
|
||||||
description: Evaluate javascript.
|
|
||||||
usage: /<command> Javascript code
|
|
||||||
permission: ScriptCraft.js
|
|
||||||
permission-message: You don't have <permission>
|
|
|
@ -1,20 +0,0 @@
|
||||||
package net.walterhiggins.scriptcraft;
|
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
|
||||||
import org.bukkit.command.*;
|
|
||||||
public class ScriptCraft extends JavaPlugin
|
|
||||||
{
|
|
||||||
@Override
|
|
||||||
public void onEnable(){
|
|
||||||
getLogger().info("ScriptCraft enabled.");
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args)
|
|
||||||
{
|
|
||||||
if(cmd.getName().equalsIgnoreCase("js"))
|
|
||||||
{
|
|
||||||
this.getLogger().info(cmd.toString());
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,22 +0,0 @@
|
||||||
package net.walterhiggins.scriptcraft;
|
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
|
||||||
import org.bukkit.command.*;
|
|
||||||
public class ScriptCraft extends JavaPlugin
|
|
||||||
{
|
|
||||||
@Override
|
|
||||||
public void onEnable(){
|
|
||||||
getLogger().info("ScriptCraft.onEnable has been invoked!");
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args)
|
|
||||||
{
|
|
||||||
if(cmd.getName().equalsIgnoreCase("js")){
|
|
||||||
// If the player typed /basic then do the following...
|
|
||||||
// doSomething
|
|
||||||
this.getLogger().info("hellobukkit command");
|
|
||||||
return true;
|
|
||||||
} //If this has happened the function will return true.
|
|
||||||
// If this hasn't happened the a value of false will be returned.
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,19 +0,0 @@
|
||||||
package net.walterhiggins.scriptcraft;
|
|
||||||
import org.bukkit.command.*;
|
|
||||||
|
|
||||||
public class ScriptCraftBukkit implements IScriptCraft
|
|
||||||
{
|
|
||||||
public CommandSender invoker = null;
|
|
||||||
|
|
||||||
public void setInvoker(Object invoker)
|
|
||||||
{
|
|
||||||
this.invoker = (CommandSender)invoker;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int[] getPlayerPos()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
package net.walterhiggins.scriptcraft;
|
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
|
||||||
import org.bukkit.command.*;
|
|
||||||
public class ScriptCraftPlugin extends JavaPlugin
|
|
||||||
{
|
|
||||||
@Override
|
|
||||||
public void onEnable(){
|
|
||||||
getLogger().info("ScriptCraft enabled.");
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args)
|
|
||||||
{
|
|
||||||
if(cmd.getName().equalsIgnoreCase("js"))
|
|
||||||
{
|
|
||||||
this.getLogger().info(cmd.toString());
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
Reference in a new issue