mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-13 04:36:44 +00:00
23 lines
489 B
Java
23 lines
489 B
Java
![]() |
package com.earth2me.essentials.commands;
|
||
|
import com.earth2me.essentials.User;
|
||
|
import org.bukkit.Server;
|
||
|
import org.bukkit.command.CommandSender;
|
||
|
|
||
|
|
||
|
public class Commandsocialspy extends EssentialsCommand
|
||
|
{
|
||
|
public Commandsocialspy()
|
||
|
{
|
||
|
super("socialspy");
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void run(Server server, User user, String commandLabel, String[] args) throws Exception
|
||
|
{
|
||
|
|
||
|
charge(user);
|
||
|
user.sendMessage("§7SocialSpy " + (user.toggleSocialSpy() ? "enabled." : "disabled."));
|
||
|
|
||
|
}
|
||
|
}
|