Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Youtuber
- implements Listener, CommandExecutor
- {
- public Main plugin;
- public Youtuber(Main instance)
- {
- this.plugin = instance;
- }
- public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
- Player p = (Player)sender;
- if (cmd.getName().equalsIgnoreCase("youtuber")){
- p.sendMessage(plugin.getConfig().getString("Youtuber").replace("&", "ยง"));
- }
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement