mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-11 13:33:54 +00:00
OPs can now have persistent tags (#108)
* new high end piece of software
- refactor all the shit to isEnabled
- idk debug
- gotta keep the messages consistent
- worldedit 🅱️ roke
- lockup description
- add /nh as an alias for namehistory
- yo /setl actually checks for w/e now cool
- gtfo and unban now are less bugs
- /whitelist is no longer written in tfm43 code and in beta
- l a m b a d a in help
- enable the bridges
- i worked on a converter for the login messages but then seth already made it work so fuck me i wasted an hour of my life
* whitelist
* i enabled them for testing
* OPs can now have persistent tags!
* Summary (required)
This commit is contained in:
@ -56,12 +56,7 @@ public class Module_help extends HTTPDModule
|
||||
pluginName = ((PluginIdentifiableCommand) command).getPlugin().getName();
|
||||
}
|
||||
|
||||
List<Command> pluginCommands = commandsByPlugin.get(pluginName);
|
||||
if (pluginCommands == null)
|
||||
{
|
||||
pluginCommands = Lists.newArrayList();
|
||||
commandsByPlugin.put(pluginName, pluginCommands);
|
||||
}
|
||||
List<Command> pluginCommands = commandsByPlugin.computeIfAbsent(pluginName, k -> Lists.newArrayList());
|
||||
|
||||
pluginCommands.add(command);
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ public class Module_logfile extends HTTPDModule
|
||||
|
||||
public String title()
|
||||
{
|
||||
return "TotalFreedomMod :: Logfiles";
|
||||
return "TotalFreedomMod :: Log Files";
|
||||
}
|
||||
|
||||
public String body() throws ResponseOverrideException
|
||||
|
@ -1,11 +1,12 @@
|
||||
package me.totalfreedom.totalfreedommod.httpd.module;
|
||||
|
||||
import java.io.File;
|
||||
import me.totalfreedom.totalfreedommod.TotalFreedomMod;
|
||||
import me.totalfreedom.totalfreedommod.admin.Admin;
|
||||
import me.totalfreedom.totalfreedommod.punishments.PunishmentList;
|
||||
import me.totalfreedom.totalfreedommod.httpd.HTTPDaemon;
|
||||
import me.totalfreedom.totalfreedommod.httpd.NanoHTTPD;
|
||||
import me.totalfreedom.totalfreedommod.punishments.PunishmentList;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
public class Module_punishments extends HTTPDModule
|
||||
{
|
||||
|
Reference in New Issue
Block a user