From e8a1c330deb65d9e99c233e8da0b5484922f2476 Mon Sep 17 00:00:00 2001 From: destro174 <40720638+destro174@users.noreply.github.com> Date: Thu, 5 Aug 2021 09:48:33 +0200 Subject: [PATCH] Fix placeholder in default config --- pom.xml | 12 ++++++------ .../java/com/alttd/afkdectector/config/Messages.java | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 1ce3d1c..52b325d 100755 --- a/pom.xml +++ b/pom.xml @@ -32,13 +32,13 @@ Alttd-Nexus - http://leo:8081/snapshots/ - - - dv8tion - m2-dv8tion - https://m2.dv8tion.net/releases + http://leo:8081/ + + + + + diff --git a/src/main/java/com/alttd/afkdectector/config/Messages.java b/src/main/java/com/alttd/afkdectector/config/Messages.java index 44e7371..2f645be 100644 --- a/src/main/java/com/alttd/afkdectector/config/Messages.java +++ b/src/main/java/com/alttd/afkdectector/config/Messages.java @@ -2,13 +2,13 @@ package com.alttd.afkdectector.config; public enum Messages { TITLE("title-name", "[AFKDetector] "), - COOLDOWN("cooldown-message", "You need to wait %timeleft% seconds before using this command."), + COOLDOWN("cooldown-message", "You need to wait seconds before using this command."), INVALID_PLAYER("invalid-args", "Invalid args!usage: -p:playername"), INVALID_REASON("invalid-reason" , "Invalid args! usage: -r:reason"), NOT_ONLINE("player-notonline", "Invalid args! player not online"), PLAYER_ONLY("player-only", "Teri have you ever seen an afk console?"), NO_PERMS("no-permissions", "You don''t have permission for that!"), - AFK_LIST("afk-list", "There are %afkplayers% afk."), + AFK_LIST("afk-list", "There are afk."), AFK_LIST_ENTRY("afk-list-entry", " has been afk for seconds. >[Teleport] >[Afkcheck]"), AFK_PREFIX("afk-prefix", "[AFK]"), COUNTDOWNMESSAGE("countdown-message", "You need to move around to avoid being kicked"),