Add new interface, and a new paginated command, both shells

This commit is contained in:
Eric Stokes 2011-10-22 11:01:05 -06:00
parent 1712b175d8
commit 6b95be4ca5
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,29 @@
/******************************************************************************
* Multiverse 2 Copyright (c) the Multiverse Team 2011. *
* Multiverse 2 is licensed under the BSD License. *
* For more information please check the README.md file included *
* with this project. *
******************************************************************************/
package com.onarandombox.MultiverseCore.commands;
import com.onarandombox.MultiverseCore.MultiverseCore;
import org.bukkit.command.CommandSender;
/**
* Multiverse 2
*
* @author fernferret
*/
public abstract class PaginatedCommand extends MultiverseCommand {
private int linesToShow = 9;
public PaginatedCommand(MultiverseCore plugin) {
super(plugin);
}
protected void displayPage(CommandSender s, int pageNum, String filter) {
}
}

View File

@ -0,0 +1,18 @@
/******************************************************************************
* Multiverse 2 Copyright (c) the Multiverse Team 2011. *
* Multiverse 2 is licensed under the BSD License. *
* For more information please check the README.md file included *
* with this project. *
******************************************************************************/
package com.onarandombox.MultiverseCore.configuration;
public interface MVConfigProperty {
/**
* Gets the name of this property.
*
* @return The name of this property.
*/
public String getName();
}