Added a few things we need to get done.

This commit is contained in:
cerevisiae 2010-11-30 14:46:25 -06:00
parent 63b320b9a3
commit 81b54bbb3b
2 changed files with 144 additions and 134 deletions

5
TODO
View File

@ -4,6 +4,11 @@ Antigriefs
personal muting
vminecraft version of help that summarizes the mod
Time manipulation
Aliasing Commands (Global Aliases and Personal Aliases)
Recode /msg and add a /reply (/r) feature
Quick recode of /me to use the new getName function
Overload /modify(?) --We talked about potentially doing this and I think I would like to now to add in further functionality
Slap
Toggle for the GG exploit fix

View File

@ -504,23 +504,24 @@ public class vminecraftCommands{
//Exploit fix for people giving themselves commands
if(args[1].equals("commands"))
return EXIT_FAIL;
else if (args[1].equals("tag"))
playerTag(player, args);
return EXIT_CONTINUE;
}
//=====================================================================
//Function: playerTag (/modify player tag *)
//Input: Player player: The player using the command
// String[] args: Player, Command, Arguments
//Function: Time Reverse
//Input: long time: The time to reverse to.
//Output: int: Exit Code
//Use: List all invulnerable players
//=====================================================================
public static int playerTag(Player player, String[] args)
public static int timeReverse(long tarTime)
{
long curTime = etc.getServer().getRelativeTime();
if(cur)
return EXIT_SUCCESS;
}
//Disable using /modify to add commands (need to make a boolean settings for this)
//ezlist
@ -814,12 +815,15 @@ class commandList {
return EXIT_FAIL;
}
//=====================================================================
//Class: command
//Use: The specific command
//Author: cerevisiae
//=====================================================================
private class command{
private class command
{
private String commandName;
private String function;
@ -878,7 +882,8 @@ class commandList {
//Use: A command referencing another command
//Author: cerevisiae
//=====================================================================
private class commandRef extends command{
private class commandRef extends command
{
private String reference;
private String[] args;