Updated all modules to work with ModuleLoader major version 5
Except BlockPlaceMods
This commit is contained in:
@@ -21,7 +21,7 @@ import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Abot implements Module, Listener {
|
||||
private File answerFile = new File(Main.plugin.getDataFolder(), "abot.json");
|
||||
JSONArray answers;
|
||||
|
||||
3
src/main/java/com/redstoner/modules/abot/module.info
Normal file
3
src/main/java/com/redstoner/modules/abot/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Abot
|
||||
category: Other
|
||||
description: An annoying little bot to automatically answer questions in chat
|
||||
@@ -33,7 +33,7 @@ import net.nemez.chatapi.ChatAPI;
|
||||
*/
|
||||
@Commands(CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Adminchat implements Module, Listener {
|
||||
private static final char defaultKey = ',';
|
||||
private static final File keysLocation = new File(Main.plugin.getDataFolder(), "adminchat_keys.json");
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
displayName: Adminchat
|
||||
category: Staff
|
||||
description: A secondary chat used for staff to communicate with each other
|
||||
@@ -15,7 +15,7 @@ import org.bukkit.event.HandlerList;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 0, revision = 6, compatible = 5)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class AFK implements Module {
|
||||
private AFKListener listener;
|
||||
|
||||
|
||||
3
src/main/java/com/redstoner/modules/afk/module.info
Normal file
3
src/main/java/com/redstoner/modules/afk/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: AFK
|
||||
category: Chat
|
||||
description: Allows a user to announce they're afk ,and will also notify players messaging them, that they're afk and might not see the message
|
||||
@@ -0,0 +1,3 @@
|
||||
displayName:
|
||||
category:
|
||||
description:
|
||||
@@ -33,7 +33,7 @@ import net.nemez.chatapi.click.Message;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 2, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Chat implements Module, Listener {
|
||||
private final Map<String, String> defaults = new HashMap<>();
|
||||
private Set<UUID> chatonly = new HashSet<>();
|
||||
|
||||
3
src/main/java/com/redstoner/modules/chat/module.info
Normal file
3
src/main/java/com/redstoner/modules/chat/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Chat
|
||||
category: Chat
|
||||
description: Stylizes chat and adds a bunch of chat commands, including &e/me&7 and &e/shrug
|
||||
@@ -32,7 +32,7 @@ import net.nemez.chatapi.ChatAPI;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 2, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Chatalias implements Module, Listener {
|
||||
private final String[] commands = new String[] { "e?r", "e?m .+?", "e?t", "e?w", "e?msg .+?", "e?message .+?", "e?whisper .+?", "e?me", "cgsay", "ac", "bc",
|
||||
"say", "sayn .+?", "chat", "shrug", "action", "speak", "chatn", "speakn" };
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
displayName: ChatAlias
|
||||
category: Chat
|
||||
description: Allows players to create aliases. For example wb -> Welcome Back
|
||||
@@ -37,7 +37,7 @@ import net.nemez.chatapi.ChatAPI;
|
||||
*/
|
||||
@Commands(CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Chatgroups implements Module, Listener {
|
||||
private static final char defaultKey = ':';
|
||||
private static final File groupsLocation = new File(Main.plugin.getDataFolder(), "chatgroups.json");
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
displayName: ChatGroups
|
||||
category: Chat
|
||||
description: Adds a secondary chat for people who speak a different language or working on projects together
|
||||
@@ -36,7 +36,7 @@ import com.redstoner.modules.Module;
|
||||
import net.nemez.chatapi.click.Message;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 2, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Check implements Module, Listener {
|
||||
MysqlTable table;
|
||||
String noTableReason;
|
||||
|
||||
3
src/main/java/com/redstoner/modules/check/module.info
Normal file
3
src/main/java/com/redstoner/modules/check/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Check
|
||||
category: Staff
|
||||
description: A tool to get basic data about players, such as forums account, playtimes and similar
|
||||
@@ -12,7 +12,7 @@ import com.redstoner.misc.CommandHolderType;
|
||||
import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 4, minor = 0, revision = 0, compatible = 4)
|
||||
public class Clear implements Module {
|
||||
@Command(hook = "clear")
|
||||
public boolean clearInventory(CommandSender sender) {
|
||||
|
||||
3
src/main/java/com/redstoner/modules/clear/module.info
Normal file
3
src/main/java/com/redstoner/modules/clear/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Clear
|
||||
category: Other
|
||||
description: Allows players to clear their inventories
|
||||
@@ -24,7 +24,7 @@ import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Cycle implements Module, Listener {
|
||||
private File cycleFile = new File(Main.plugin.getDataFolder(), "cycle.json");
|
||||
private JSONArray no_cyclers;
|
||||
|
||||
3
src/main/java/com/redstoner/modules/cycle/module.info
Normal file
3
src/main/java/com/redstoner/modules/cycle/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Cycle
|
||||
category: Other
|
||||
description: Basically more hotbars. When you scroll over, it will load the next line of your inventory as your hotbar
|
||||
@@ -39,7 +39,7 @@ import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class DamnSpam implements Module, Listener {
|
||||
File configFile = new File(Main.plugin.getDataFolder(), "DamnSpam.json");
|
||||
|
||||
|
||||
3
src/main/java/com/redstoner/modules/damnspam/module.info
Normal file
3
src/main/java/com/redstoner/modules/damnspam/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Damnspam
|
||||
category: Other
|
||||
description: Protects levers and buttons from being spammed by providing a configurable timeout for inputs
|
||||
@@ -35,7 +35,7 @@ import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.Stream)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 1, revision = 10, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public final class DataManager implements CoreModule, Listener {
|
||||
protected final File dataFolder = new File(Main.plugin.getDataFolder(), "data");
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
displayName: Datamanager
|
||||
category: Other
|
||||
description: Adds easy module and player based data management
|
||||
@@ -25,7 +25,7 @@ import com.redstoner.modules.Module;
|
||||
import net.nemez.chatapi.click.Message;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 0, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Discord implements Module {
|
||||
private MysqlTable table;
|
||||
|
||||
|
||||
3
src/main/java/com/redstoner/modules/discord/module.info
Normal file
3
src/main/java/com/redstoner/modules/discord/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Discord
|
||||
category: External
|
||||
description: Links your minecraft account to your discord account to sync your rank.
|
||||
@@ -29,7 +29,7 @@ import com.redstoner.modules.datamanager.DataManager;
|
||||
|
||||
@AutoRegisterListener
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 0, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Friends implements CoreModule {
|
||||
@EventHandler(priority = EventPriority.MONITOR)
|
||||
public void onPlayerJoin(PlayerJoinEvent e) {
|
||||
|
||||
3
src/main/java/com/redstoner/modules/friends/module.info
Normal file
3
src/main/java/com/redstoner/modules/friends/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Friends
|
||||
category: Other
|
||||
description: Notifies players when a friend comes online. Also used by other modules for various features
|
||||
@@ -25,7 +25,7 @@ import net.nemez.chatapi.click.Message;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 0, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Ignore implements Module {
|
||||
@Command(hook = "unignore", async = AsyncType.ALWAYS)
|
||||
public boolean unignore(CommandSender sender, String player) {
|
||||
|
||||
3
src/main/java/com/redstoner/modules/ignore/module.info
Normal file
3
src/main/java/com/redstoner/modules/ignore/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Ignore
|
||||
category: Chat
|
||||
description: Allows someone to ignore players' chat messages and integrates with other modules
|
||||
@@ -18,7 +18,7 @@ import com.redstoner.misc.CommandHolderType;
|
||||
import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class LagChunks implements Module
|
||||
{
|
||||
private List<LaggyChunk> laggyChunks = new ArrayList<LaggyChunk>();
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
displayName: LagChunks
|
||||
category: Staff
|
||||
description: Collects information about entities across the map and displays chunk info
|
||||
@@ -18,7 +18,7 @@ import com.redstoner.modules.datamanager.DataManager;
|
||||
import net.nemez.chatapi.click.Message;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 0, revision = 5, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class List implements Module
|
||||
{
|
||||
private HashMap<String, Integer> onConsole;
|
||||
|
||||
3
src/main/java/com/redstoner/modules/list/module.info
Normal file
3
src/main/java/com/redstoner/modules/list/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: List
|
||||
category: Other
|
||||
description: Lists the players online separated by rank and subrank.
|
||||
@@ -36,7 +36,7 @@ import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class LoginSecurity implements Module, Listener
|
||||
{
|
||||
protected static Map<UUID, Location> loggingIn;
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
displayName: LoginSecurity
|
||||
category: Other
|
||||
description: Secure your account with an additional password required when you join the server
|
||||
@@ -15,7 +15,7 @@ import com.redstoner.modules.ModuleLogger;
|
||||
import com.redstoner.modules.datamanager.DataManager;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 0, revision = 4, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Logs implements Module
|
||||
{
|
||||
public static final String defaultFormat = "§7 > %f: %r";
|
||||
|
||||
3
src/main/java/com/redstoner/modules/logs/module.info
Normal file
3
src/main/java/com/redstoner/modules/logs/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Logs
|
||||
category: Staff
|
||||
description: Allows staff to Search server logs in-game
|
||||
@@ -30,7 +30,7 @@ import net.nemez.chatapi.click.Message;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Mentio implements Module, Listener
|
||||
{
|
||||
private File mentioLocation = new File(Main.plugin.getDataFolder(), "mentio.json");
|
||||
|
||||
3
src/main/java/com/redstoner/modules/mentio/module.info
Normal file
3
src/main/java/com/redstoner/modules/mentio/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Mentio
|
||||
category: Chat
|
||||
description: Plays a sound and highlights keywords from a player defined list
|
||||
@@ -27,7 +27,7 @@ import com.redstoner.modules.socialspy.Socialspy;
|
||||
import net.nemez.chatapi.ChatAPI;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 0, revision = 4, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Message implements Module
|
||||
{
|
||||
HashMap<CommandSender, CommandSender> replyTargets = new HashMap<>();
|
||||
|
||||
3
src/main/java/com/redstoner/modules/message/module.info
Normal file
3
src/main/java/com/redstoner/modules/message/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Message
|
||||
category: Chat
|
||||
description: A better version of minecraft's &e/msg&7 command
|
||||
@@ -30,7 +30,7 @@ import java.util.UUID;
|
||||
|
||||
@Commands (CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version (major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version (major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Misc implements Module, Listener {
|
||||
private static final String[] SUDO_BLACKLIST = new String[] {
|
||||
"(.*:)?e?sudo",
|
||||
|
||||
3
src/main/java/com/redstoner/modules/misc/module.info
Normal file
3
src/main/java/com/redstoner/modules/misc/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Miscellaneous
|
||||
category: Other
|
||||
description: A collection of useful things
|
||||
@@ -16,7 +16,7 @@ import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Motd implements Module, Listener
|
||||
{
|
||||
private String default_motd, motd;
|
||||
|
||||
3
src/main/java/com/redstoner/modules/motd/module.info
Normal file
3
src/main/java/com/redstoner/modules/motd/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: MOTD
|
||||
category: Staff
|
||||
description: Changes the MOTD in-game
|
||||
@@ -21,7 +21,7 @@ import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 1, revision = 2, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Nametags implements Module, Listener
|
||||
{
|
||||
@EventHandler
|
||||
|
||||
3
src/main/java/com/redstoner/modules/nametags/module.info
Normal file
3
src/main/java/com/redstoner/modules/nametags/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Nametags
|
||||
category: Other
|
||||
description: Sorts tab by rank and colors players' nametags
|
||||
@@ -20,7 +20,7 @@ import com.redstoner.modules.Module;
|
||||
import net.md_5.bungee.api.ChatColor;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Naming implements Module
|
||||
{
|
||||
@Command(hook = "anvil")
|
||||
|
||||
3
src/main/java/com/redstoner/modules/naming/module.info
Normal file
3
src/main/java/com/redstoner/modules/naming/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Naming
|
||||
category: Other
|
||||
description: Lets you change an item name and lore
|
||||
@@ -20,7 +20,7 @@ import com.redstoner.modules.Module;
|
||||
import com.redstoner.modules.datamanager.DataManager;
|
||||
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 0, revision = 3, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
@SuppressWarnings("unchecked")
|
||||
public class OnlinePlayers implements Module, Listener
|
||||
{
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
displayName: OnlinePlayers
|
||||
category: External
|
||||
description: Provides a list of all players online with data in a .json file used for Redstoner's "Who's online feature"
|
||||
@@ -26,7 +26,7 @@ import net.nemez.chatapi.click.Message;
|
||||
*
|
||||
* @author Redempt */
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 2, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Reports implements Module
|
||||
{
|
||||
private int task = 0;
|
||||
|
||||
3
src/main/java/com/redstoner/modules/reports/module.info
Normal file
3
src/main/java/com/redstoner/modules/reports/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Reports
|
||||
category: Staff
|
||||
description: Adds a /report command for people to use when no staff is on
|
||||
@@ -25,7 +25,7 @@ import net.nemez.chatapi.click.ClickCallback;
|
||||
import net.nemez.chatapi.click.Message;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Saylol implements Module
|
||||
{
|
||||
private long lastLol = 0;
|
||||
|
||||
3
src/main/java/com/redstoner/modules/saylol/module.info
Normal file
3
src/main/java/com/redstoner/modules/saylol/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Saylol
|
||||
category: Chat
|
||||
description: Adds the famous saylol plugin as a module
|
||||
@@ -11,7 +11,7 @@ import com.redstoner.misc.Utils;
|
||||
import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 2, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Scriptutils implements Module
|
||||
{
|
||||
/** Prints Bukkit restart message
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
displayName: ScriptUtils
|
||||
category: External
|
||||
description: Provides commands to external scripts for sending predefined messages in chat
|
||||
@@ -36,7 +36,7 @@ import net.nemez.chatapi.click.Message;
|
||||
|
||||
@AutoRegisterListener
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 0, revision = 11, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Seen implements Module, Listener
|
||||
{
|
||||
HashMap<UUID, JSONArray> names = new HashMap<>();
|
||||
|
||||
3
src/main/java/com/redstoner/modules/seen/module.info
Normal file
3
src/main/java/com/redstoner/modules/seen/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Seen
|
||||
category: Other
|
||||
description: Allows players to see how long someone has been online/offline, previous names, when they first joined, and much time they've logged
|
||||
@@ -28,7 +28,7 @@ import com.redstoner.misc.CommandHolderType;
|
||||
import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 0, revision = 2, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class SignalStrength implements Module
|
||||
{
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
displayName: SignalStrength
|
||||
category: Other
|
||||
description: Sets the amount of items in a container to achieve the given signal strength
|
||||
@@ -14,7 +14,7 @@ import com.redstoner.misc.CommandHolderType;
|
||||
import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.None)
|
||||
@Version(major = 4, minor = 0, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
@AutoRegisterListener
|
||||
public class SkullClick implements Module, Listener
|
||||
{
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
displayName: SkullClick
|
||||
category: Other
|
||||
description: Click a skull and find out who it was, before they were beheaded. You cruel monster
|
||||
@@ -25,7 +25,7 @@ import com.redstoner.modules.datamanager.DataManager;
|
||||
import net.nemez.chatapi.click.Message;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 0, revision = 3, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Socialspy implements CoreModule
|
||||
{
|
||||
@Command(hook = "config_prefix_default")
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
displayName: Socialspy
|
||||
category: Staff
|
||||
description: Allows staff to see DMs, Chatgroups and other stuff that offers socialspy integration
|
||||
@@ -20,7 +20,7 @@ import com.redstoner.misc.Main;
|
||||
import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 0, revision = 1, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Tag implements Module
|
||||
{
|
||||
private File tagLocation = new File(Main.plugin.getDataFolder(), "tag.json");
|
||||
|
||||
3
src/main/java/com/redstoner/modules/tag/module.info
Normal file
3
src/main/java/com/redstoner/modules/tag/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Tag
|
||||
category: Staff
|
||||
description: Add comments to players for easier communication (e.g. "Has spammed before")
|
||||
@@ -16,7 +16,7 @@ import com.redstoner.modules.datamanager.DataManager;
|
||||
import net.nemez.chatapi.click.Message;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 0, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Teleport implements Module
|
||||
{
|
||||
public static final String PERMISSION_TELEPORT = "utils.admin.teleport";
|
||||
|
||||
3
src/main/java/com/redstoner/modules/teleport/module.info
Normal file
3
src/main/java/com/redstoner/modules/teleport/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Teleport
|
||||
category: Other
|
||||
description: Allows players to teleport to each other, with permission of course
|
||||
@@ -18,7 +18,7 @@ import com.redstoner.misc.CommandHolderType;
|
||||
import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class TileChunks implements Module
|
||||
{
|
||||
private List<LaggyTileChunk> laggyChunks = new ArrayList<>();
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
displayName: TileChunk
|
||||
category: Staff
|
||||
description: Collects information about tile entities across the map and displays chunk info
|
||||
@@ -26,7 +26,7 @@ import com.redstoner.modules.datamanager.DataManager;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@AutoRegisterListener
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Vanish implements Module, Listener
|
||||
{
|
||||
private ArrayList<UUID> vanished = new ArrayList<>();
|
||||
|
||||
3
src/main/java/com/redstoner/modules/vanish/module.info
Normal file
3
src/main/java/com/redstoner/modules/vanish/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Vanish
|
||||
category: Staff
|
||||
description: Allows staff to hide from the public entirely. &iPoof
|
||||
@@ -10,7 +10,7 @@ import com.redstoner.misc.Utils;
|
||||
import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class Warn implements Module
|
||||
{
|
||||
@Command(hook = "warn")
|
||||
|
||||
3
src/main/java/com/redstoner/modules/warn/module.info
Normal file
3
src/main/java/com/redstoner/modules/warn/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: Warn
|
||||
category: Chat
|
||||
description: Warns other players when someone is about to do something laggy
|
||||
@@ -24,7 +24,7 @@ import com.redstoner.misc.mysql.elements.MysqlTable;
|
||||
import com.redstoner.modules.Module;
|
||||
|
||||
@Commands(CommandHolderType.File)
|
||||
@Version(major = 4, minor = 1, revision = 0, compatible = 4)
|
||||
@Version(major = 5, minor = 0, revision = 0, compatible = 4)
|
||||
public class WebToken implements Module
|
||||
{
|
||||
private static final int TOKEN_LENGTH = 6;
|
||||
|
||||
3
src/main/java/com/redstoner/modules/webtoken/module.info
Normal file
3
src/main/java/com/redstoner/modules/webtoken/module.info
Normal file
@@ -0,0 +1,3 @@
|
||||
displayName: WebToken
|
||||
category: External
|
||||
description: Provides a way to generate the token for website signup
|
||||
Reference in New Issue
Block a user