Compare commits

...

18 Commits
v2.15 ... v2.16

Author SHA1 Message Date
3b7a8d4d88 Incremented version number 2013-05-17 20:05:52 +02:00
d016e1ff08 Fixed stuff with Wilee's and Wild's changes 2013-05-17 20:03:16 +02:00
ab9650dc54 Merge pull request #13 from Wilee999/master
xxWileexx: Add /purgeall, minor changes.
2013-05-16 11:54:12 -07:00
d3139dd39f hopefully this works 2013-05-16 11:49:41 -07:00
ba834b6b92 g 2013-05-16 11:45:21 -07:00
ccd4237491 Merge pull request #15 from Wild1145/patch-3
Added /setl to set the amount of world edit blocks that can be used
2013-05-16 11:35:43 -07:00
ff51bb1980 Merge pull request #16 from Wild1145/patch-4
Added warning in MOTD if in adminmode=true
2013-05-16 11:31:52 -07:00
d2457adf68 Create Command_cmdlist.java 2013-05-16 12:31:22 -06:00
aea65815a8 removed /denick from /purgeall 2013-05-16 12:29:06 -06:00
6abd2491f1 Removed /denick from /spurgeall 2013-05-16 12:28:28 -06:00
31b5c99007 Added broadcast to /spurgeall 2013-05-16 12:19:47 -06:00
4aebf33006 Added a broadcast to /purgeall 2013-05-16 12:18:39 -06:00
e29a820398 Added /spurgeall 2013-05-16 00:57:26 -07:00
fabbc78d22 Replaced /clearall with /purgeall, this cleans more! 2013-05-15 23:59:08 -07:00
a8b4f1d950 Removed /cmdlist (useless) 2013-05-15 20:56:18 -07:00
b7c9f4e02d Added warning in MOTD if in adminmode=true
I think this would save people connecting and spamming logs if in adminmode!
2013-05-15 23:12:46 +02:00
ba9289e1a3 Added /setl to set the amount of world edit blocks that can be used 2013-05-15 23:05:20 +02:00
b1202c7871 hopefully this fixed /invis 2013-05-15 12:03:45 -06:00
8 changed files with 57 additions and 26 deletions

View File

@ -1,5 +1,5 @@
#Wed, 15 May 2013 15:22:48 +0200
program.VERSION=2.15
program.VERSION=2.16
program.BUILDNUM=190
program.BUILDDATE=05/15/2013 03\:22 PM

View File

@ -1,4 +1,4 @@
# TotalFreedomMod v2.15 Configuration
# TotalFreedomMod v2.16 Configuration
# by Madgeek1450 and DarthSalamon
# Block placement prevention:

View File

@ -5,8 +5,8 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = AdminLevel.SUPER, source = SourceType.BOTH)
@CommandParameters(description = "Removes all entities, nicks and disguises.", usage = "/<command>")
public class Command_clearall extends TFM_Command
@CommandParameters(description = "Superadmin command - Purge everything! (except for bans).", usage = "/<command>")
public class Command_purgeall extends TFM_Command
{
@Override
public boolean run(CommandSender sender, Player sender_p, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
@ -14,6 +14,13 @@ public class Command_clearall extends TFM_Command
server.dispatchCommand(sender, "rd");
server.dispatchCommand(sender, "potion clearall");
server.dispatchCommand(sender, "uall");
server.dispatchCommand(sender, "mute purge");
server.dispatchCommand(sender, "fr purge");
server.dispatchCommand(sender, "mp");
server.dispatchCommand(sender, "blockcmd");
server.dispatchCommand(sender, "halt purge");
//If I'm missing any, lemme know. Or just add it yourself.
return true;
}

View File

@ -0,0 +1,20 @@
package me.StevenLawson.TotalFreedomMod.Commands;
import me.StevenLawson.TotalFreedomMod.TFM_Util;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = AdminLevel.SUPER, source = SourceType.BOTH)
@CommandParameters(description = "Sets everyone World Edit Limit to 500.", usage = "/<command>")
public class Command_setl extends TFM_Command
{
@Override
public boolean run(CommandSender sender, Player sender_p, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
{
server.dispatchCommand(sender, "wildcard gcmd ? /limit 500");
TFM_Util.adminAction(sender.getName(), "Setting all online players block limit to 500.", true);
return true;
}
}

View File

@ -727,5 +727,9 @@ public class TFM_PlayerListener implements Listener
{
event.setMotd(ChatColor.RED + "You are banned!");
}
if (TotalFreedomMod.adminOnlyMode)
{
event.setMotd(ChatColor.RED + "Server in AdminMode!");
}
}
}

View File

@ -1,6 +1,6 @@
name: TotalFreedomMod
main: me.StevenLawson.TotalFreedomMod.TotalFreedomMod
version: 2.15
version: 2.16
description: Plugin for the Total Freedom server.
authors: [StevenLawson / Madgeek1450, JeromSar / DarthSalamon]