mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-13 04:36:44 +00:00
![ementalo](/assets/img/avatar_default.png)
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1424 e251c2fe-e539-e718-e476-b85c1f46cddb
23 lines
506 B
Java
23 lines
506 B
Java
package com.earth2me.essentials.commands;
|
|
import com.earth2me.essentials.User;
|
|
import com.earth2me.essentials.Util;
|
|
import org.bukkit.Server;
|
|
|
|
|
|
|
|
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() ? Util.i18n("enabled") : Util.i18n("disabled")));
|
|
|
|
}
|
|
}
|