mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-18 22:49:45 +00:00
24 lines
484 B
Java
24 lines
484 B
Java
![]() |
package com.earth2me.essentials.commands;
|
||
|
|
||
|
import org.bukkit.Server;
|
||
|
import com.earth2me.essentials.*;
|
||
|
|
||
|
|
||
|
public class Commandrules extends EssentialsCommand
|
||
|
{
|
||
|
public Commandrules()
|
||
|
{
|
||
|
super("rules");
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void run(Server server, Essentials parent, User user, String commandLabel, String[] args) throws Exception
|
||
|
{
|
||
|
user.charge(this);
|
||
|
for (String m : parent.getLines(user, "rules", "§cThere are no rules specified yet."))
|
||
|
{
|
||
|
user.sendMessage(m);
|
||
|
}
|
||
|
}
|
||
|
}
|