mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-06-23 13:15:11 +02:00
51422108c6
Admin command cadmin to create and manage challenges in-game. Challenges are saved as yml files. Note that admins cannot edit yml files directly if server is running because they will be overwritten. User UI sort of works if challenge files are hand tailored. More to do!
66 lines
1.5 KiB
Java
66 lines
1.5 KiB
Java
/**
|
|
*
|
|
*/
|
|
package bskyblock.addon.challenges.commands.admin;
|
|
|
|
import java.util.List;
|
|
|
|
import us.tastybento.bskyblock.BSkyBlock;
|
|
import us.tastybento.bskyblock.api.commands.CompositeCommand;
|
|
import us.tastybento.bskyblock.api.commands.User;
|
|
|
|
/**
|
|
* @author tastybento
|
|
*
|
|
*/
|
|
public class SetType extends CompositeCommand {
|
|
|
|
/**
|
|
* @param plugin
|
|
* @param label
|
|
* @param string
|
|
*/
|
|
public SetType(BSkyBlock plugin, String label, String... string) {
|
|
super(plugin, label, string);
|
|
// TODO Auto-generated constructor stub
|
|
}
|
|
|
|
/**
|
|
* @param parent
|
|
* @param label
|
|
* @param aliases
|
|
*/
|
|
public SetType(CompositeCommand parent, String label, String... aliases) {
|
|
super(parent, label, aliases);
|
|
// TODO Auto-generated constructor stub
|
|
}
|
|
|
|
/**
|
|
* @param label
|
|
* @param aliases
|
|
*/
|
|
public SetType(String label, String... aliases) {
|
|
super(label, aliases);
|
|
// TODO Auto-generated constructor stub
|
|
}
|
|
|
|
/* (non-Javadoc)
|
|
* @see us.tastybento.bskyblock.api.commands.BSBCommand#setup()
|
|
*/
|
|
@Override
|
|
public void setup() {
|
|
// TODO Auto-generated method stub
|
|
|
|
}
|
|
|
|
/* (non-Javadoc)
|
|
* @see us.tastybento.bskyblock.api.commands.BSBCommand#execute(us.tastybento.bskyblock.api.commands.User, java.util.List)
|
|
*/
|
|
@Override
|
|
public boolean execute(User user, List<String> args) {
|
|
// TODO Auto-generated method stub
|
|
return false;
|
|
}
|
|
|
|
}
|