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 personal muting
vminecraft version of help that summarizes the mod vminecraft version of help that summarizes the mod
Time manipulation 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 Slap
Toggle for the GG exploit fix Toggle for the GG exploit fix

View File

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