aboutsummaryrefslogtreecommitdiff
path: root/common/src/main/java/de
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/main/java/de')
-rw-r--r--common/src/main/java/de/hype/bbsentials/common/chat/Chat.java2
-rw-r--r--common/src/main/java/de/hype/bbsentials/common/client/Config.java4
-rw-r--r--common/src/main/java/de/hype/bbsentials/common/mclibraries/MCChat.java4
3 files changed, 9 insertions, 1 deletions
diff --git a/common/src/main/java/de/hype/bbsentials/common/chat/Chat.java b/common/src/main/java/de/hype/bbsentials/common/chat/Chat.java
index b11804a..cedb25e 100644
--- a/common/src/main/java/de/hype/bbsentials/common/chat/Chat.java
+++ b/common/src/main/java/de/hype/bbsentials/common/chat/Chat.java
@@ -145,7 +145,7 @@ public class Chat {
}
private static void sendPrivateMessageToSelfBase(String message) {
- EnvironmentCore.chat.sendClientSideMessage(Message.of(message));
+ EnvironmentCore.chat.sendClientSideMessage(Message.of(message), false);
}
public static void sendPrivateMessageToSelfText(Message message) {
diff --git a/common/src/main/java/de/hype/bbsentials/common/client/Config.java b/common/src/main/java/de/hype/bbsentials/common/client/Config.java
index 455df36..50f898d 100644
--- a/common/src/main/java/de/hype/bbsentials/common/client/Config.java
+++ b/common/src/main/java/de/hype/bbsentials/common/client/Config.java
@@ -48,6 +48,10 @@ public class Config implements Serializable {
public boolean autoSplashStatusUpdates;
public String nickname;
public String notifForMessagesType;
+ // trols
+ public boolean swapActionBarChat = false;
+ public boolean swapOnlyNormal = true;
+ public boolean swapOnlyBBsentials = false;
// Set default attribute values
private void setDefaults() {
diff --git a/common/src/main/java/de/hype/bbsentials/common/mclibraries/MCChat.java b/common/src/main/java/de/hype/bbsentials/common/mclibraries/MCChat.java
index eeb89fe..08cbff8 100644
--- a/common/src/main/java/de/hype/bbsentials/common/mclibraries/MCChat.java
+++ b/common/src/main/java/de/hype/bbsentials/common/mclibraries/MCChat.java
@@ -6,4 +6,8 @@ public interface MCChat {
void init();
void sendChatMessage(String message);
void sendClientSideMessage(Message message);
+
+ void sendClientSideMessage(Message message, boolean actionbar);
+
+ void showActionBar(Message message);
}