/[projects]/miscJava/bukkit-minecraft-plugins/CreativeWorld/src/dk/thoerup/bukkit/creativeworld/GamemodeCommand.java
ViewVC logotype

Contents of /miscJava/bukkit-minecraft-plugins/CreativeWorld/src/dk/thoerup/bukkit/creativeworld/GamemodeCommand.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1657 - (show annotations) (download)
Sat Dec 10 19:33:19 2011 UTC (12 years, 5 months ago) by torben
File size: 553 byte(s)
Import creative world


1 package dk.thoerup.bukkit.creativeworld;
2
3 import org.bukkit.ChatColor;
4 import org.bukkit.Location;
5 import org.bukkit.World;
6 import org.bukkit.command.Command;
7 import org.bukkit.command.CommandExecutor;
8 import org.bukkit.command.CommandSender;
9 import org.bukkit.entity.Player;
10
11 public class GamemodeCommand implements CommandExecutor {
12
13 @Override
14 public boolean onCommand(final CommandSender sender, Command command, String label, String[] args) {
15
16 sender.sendMessage(ChatColor.RED + "Change of gamemode has been disabled");
17
18 return true;
19 }
20 }

  ViewVC Help
Powered by ViewVC 1.1.20