From 78b73b3b63fff43810c5b1ed3e7efff5faa37180 Mon Sep 17 00:00:00 2001
From: speedxx <43330808+speedxx@users.noreply.github.com>
Date: Sat, 15 Aug 2020 12:35:48 -0400
Subject: [PATCH 1/4] stuff seth missed
admin -> staff
---
.idea/misc.xml | 5 +++
.../totalfreedommod/ChatManager.java | 6 ++--
.../totalfreedommod/LoginProcess.java | 18 +++++------
.../totalfreedom/totalfreedommod/Reddit.java | 2 +-
.../totalfreedommod/bridge/VanishBridge.java | 6 ++--
.../command/Command_banlist.java | 8 ++---
.../command/Command_blockedit.java | 4 +--
.../command/Command_blockpvp.java | 4 +--
.../totalfreedommod/command/Command_cake.java | 4 +--
.../command/Command_freeze.java | 6 ++--
.../command/Command_invsee.java | 8 ++---
.../totalfreedommod/command/Command_list.java | 3 +-
.../totalfreedommod/command/Command_mute.java | 4 +--
.../command/Command_mystaff.java | 9 +++---
.../command/Command_report.java | 4 +--
.../totalfreedommod/command/Command_ro.java | 10 +++---
.../command/Command_slconfig.java | 12 +++----
.../command/Command_staffchat.java | 7 ++---
.../command/Command_staffinfo.java | 3 +-
.../command/Command_staffworld.java | 11 +++----
.../command/Command_verify.java | 4 +--
.../command/Command_verifynostaff.java | 10 +++---
.../totalfreedommod/command/Command_warn.java | 4 +--
.../discord/DiscordToMinecraftListener.java | 9 +++---
.../totalfreedommod/freeze/FreezeData.java | 5 ++-
.../httpd/module/Module_list.java | 3 +-
.../httpd/module/Module_players.java | 28 ++++++++---------
.../totalfreedommod/player/FPlayer.java | 10 +++---
.../totalfreedommod/player/PlayerList.java | 11 ++++---
.../totalfreedommod/rank/Rank.java | 11 +++----
.../totalfreedommod/rank/RankManager.java | 31 ++++++++++---------
.../totalfreedommod/rank/Title.java | 7 ++---
.../totalfreedommod/staff/StaffList.java | 22 ++++++-------
.../totalfreedommod/staff/StaffMember.java | 6 ++--
.../totalfreedommod/util/FSync.java | 2 +-
src/main/resources/config.yml | 10 +++---
36 files changed, 148 insertions(+), 159 deletions(-)
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 602a0ddb..be85aa37 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,5 +1,10 @@
+
+
+
+
+
From 63570d61d6a3733c051ac11cf78111215cc84323 Mon Sep 17 00:00:00 2001
From: speedxx <43330808+speedxx@users.noreply.github.com>
Date: Sat, 15 Aug 2020 13:06:58 -0400
Subject: [PATCH 3/4] admins are seniors
---
.../totalfreedom/totalfreedommod/command/Command_banlist.java | 2 +-
.../totalfreedommod/discord/DiscordToMinecraftListener.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_banlist.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_banlist.java
index 6ef9e36e..de81d15e 100644
--- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_banlist.java
+++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_banlist.java
@@ -7,7 +7,7 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH)
-@CommandParameters(description = "Shows all banned player names. Staff may optionally use 'purge' to clear the list.", usage = "/ [purge]")
+@CommandParameters(description = "Shows all banned player names. Admins may optionally use 'purge' to clear the list.", usage = "/ [purge]")
public class Command_banlist extends FreedomCommand
{
diff --git a/src/main/java/me/totalfreedom/totalfreedommod/discord/DiscordToMinecraftListener.java b/src/main/java/me/totalfreedom/totalfreedommod/discord/DiscordToMinecraftListener.java
index 1801cc0c..c7cd7b39 100644
--- a/src/main/java/me/totalfreedom/totalfreedommod/discord/DiscordToMinecraftListener.java
+++ b/src/main/java/me/totalfreedom/totalfreedommod/discord/DiscordToMinecraftListener.java
@@ -75,7 +75,7 @@ public class DiscordToMinecraftListener extends ListenerAdapter
{
return Rank.MOD.getColoredTag();
}
- // Trail Mods
+ // Trial Mods
else if (member.getRoles().contains(server.getRoleById(ConfigEntry.DISCORD_TRIAL_MOD_ROLE_ID.getString())))
{
return Rank.TRIAL_MOD.getColoredTag();
From b0daf2066af5198d5b1f3c6956e6df10b5c43b28 Mon Sep 17 00:00:00 2001
From: speed <43330808+speedxx@users.noreply.github.com>
Date: Sat, 15 Aug 2020 20:17:54 -0400
Subject: [PATCH 4/4] supervanish is gone
---
.../totalfreedommod/bridge/VanishBridge.java | 64 -------------------
1 file changed, 64 deletions(-)
delete mode 100644 src/main/java/me/totalfreedom/totalfreedommod/bridge/VanishBridge.java
diff --git a/src/main/java/me/totalfreedom/totalfreedommod/bridge/VanishBridge.java b/src/main/java/me/totalfreedom/totalfreedommod/bridge/VanishBridge.java
deleted file mode 100644
index c11249a3..00000000
--- a/src/main/java/me/totalfreedom/totalfreedommod/bridge/VanishBridge.java
+++ /dev/null
@@ -1,64 +0,0 @@
-package me.totalfreedom.totalfreedommod.bridge;
-
-import de.myzelyam.api.vanish.PlayerHideEvent;
-import de.myzelyam.api.vanish.PlayerShowEvent;
-import me.totalfreedom.totalfreedommod.FreedomService;
-import me.totalfreedom.totalfreedommod.player.PlayerData;
-import me.totalfreedom.totalfreedommod.rank.Displayable;
-import me.totalfreedom.totalfreedommod.util.FUtil;
-import org.bukkit.ChatColor;
-import org.bukkit.entity.Player;
-import org.bukkit.event.EventHandler;
-
-public class VanishBridge extends FreedomService
-{
- @Override
- public void onStart()
- {
- }
-
- @Override
- public void onStop()
- {
- }
-
- @EventHandler
- public void onPlayerUnvanish(PlayerShowEvent event)
- {
- Player player = event.getPlayer();
- Displayable display = plugin.rm.getDisplay(player);
- String tag = display.getColoredTag();
-
- if (event.isSilent())
- {
- plugin.sl.messageAllStaff(ChatColor.GOLD + player.getName() + " silently unvanished.");
- }
- else
- {
- plugin.sl.messageAllStaff(ChatColor.GOLD + player.getName() + " unvanished and is now visible to all players.");
- FUtil.bcastMsg(plugin.rm.craftLoginMessage(event.getPlayer(), null));
- plugin.dc.messageChatChannel("**" + player.getName() + " joined the server" + "**");
- }
-
- PlayerData playerData = plugin.pl.getData(player);
- if (playerData.getTag() != null)
- {
- tag = FUtil.colorize(playerData.getTag());
- }
- playerData.setTag(tag);
- }
-
- @EventHandler
- public void onPlayerVanish(PlayerHideEvent event)
- {
- Player player = event.getPlayer();
- if (event.isSilent())
- {
- plugin.sl.messageAllStaff(ChatColor.GOLD + player.getName() + " vanished and is now only visible to staff.");
- }
- else
- {
- plugin.dc.messageChatChannel("**" + player.getName() + " left the server" + "**");
- }
- }
-}
\ No newline at end of file