Skip to content

Commit

Permalink
1.8 // Additions & Improvements & Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ExceptedPrism3 committed Jun 28, 2022
1 parent 31e8711 commit 10b8080
Show file tree
Hide file tree
Showing 76 changed files with 985 additions and 266 deletions.
28 changes: 19 additions & 9 deletions ChangeLog → CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -149,23 +149,33 @@ Changes
Additions
[+] Spy Feature toggle command in-game
[+] Player Inventory Backup on Player Death
[+] LiteBans & AdvancedBans Support (spigot only)
[+] Chest open Checker
[+] LiteBans & AdvancedBans Support ( spigot only )
[+] Chest Interaction Checker
[+] TNT Explosion Checker
[+] Auto-Config Updater
[+] Config Auto-Updater
[+] Discord Auto-Updater
[+] PlaceHolderAPI Plugin Support
[+] StripLog for 1.13+ server versions
[+] StripLog for 1.13+ Servers
[+] Added 1.19 Support
[+] Dump command (spigot only)
[+] Dump command ( spigot only )
[+] Discord Command
[+] Command Blocks Checker
[+] Chinese Traditional & Dutch Languages (Thanks to our Translation Team)
[+] Geyser & FloodGate Partial-Support ( spigot only )

Fixes
[!] Separated Command Blocks from Console Commands as they count the same
[!] OP now get logged by default
[!] Discord Status starting even if disabled in discord config
[!] RAM not being logged on BungeeCord & Velocity
[!] Some languages not being logged into databases
[!] An issue that prevented to shutdown the databases correctly on Server Stop
[!] Some languages were not being logged into databases
[!] An issue that prevented the shutdown of the databases correctly on Server Stop
[!] Error Spam on a rare occasion when a set of String contains the symbol '$'
[!] Some typos in translated files

Changes
[*] Databases Structure
[*] Databases Structure ( No user interaction is required, the plugin will take care of it )
[*] OP now gets logged by default
[*] Vault Checker has been increased to 6000 in the config by default
[*] Vault Checker will no longer Log in if no one is online
[*] Commands handling improvements
[*] Huge improvement to the external database logging
15 changes: 15 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
### 💬 Looking for support?

Details about support for the project can be found [here, on the Wiki Homepage](https://prism3.gitbook.io/logger/).

### 🐛 Reporting bugs?

Before reporting a bug or issue, please make sure that the issue is actually being caused by or related to Logger.

Bugs or issues should be reported using the [GitHub Issues tab](https://github.com/ExceptedPrism3/Logger/issues) or via [Discord Support Server](https://discord.gg/MfR5mcpVfX).

### 📝 Want to contribute code?
#### Pull Requests
If you make any changes or improvements to the plugin which you think would be beneficial to others, please consider making a pull request to merge your changes back into the upstream project. (especially if your changes are bug fixes!)

If you're considering submitting a substantial pull request, please open an issue, so we can discuss the change before starting work on the contribution. Most pull requests are happily accepted, but larger changes may have an impact on the maintainability of the project, and require more consideration.
4 changes: 2 additions & 2 deletions Logger-BungeeCord/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>Logger-Bungeecord</artifactId>
<version>1.7.5</version>
<version>1.8</version>
<packaging>jar</packaging>

<name>Logger-BungeeCord</name>
Expand All @@ -19,7 +19,7 @@
<parent>
<artifactId>Logger</artifactId>
<groupId>me.prism3</groupId>
<version>1.7.5</version>
<version>1.8</version>
</parent>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import me.prism3.loggerbungeecord.serverside.Start;
import me.prism3.loggerbungeecord.serverside.Stop;
import me.prism3.loggerbungeecord.utils.*;
import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.plugin.Plugin;

import java.util.concurrent.TimeUnit;
Expand Down Expand Up @@ -90,6 +91,8 @@ public void onEnable() {
// Update Checker
if (isUpdateChecker) new UpdateChecker().checkUpdates();

this.getLogger().info(ChatColor.GOLD + "Thanks to everyone's contributions that helped made this project possible!");

this.getLogger().info("has been Enabled!");

new Start().run();
Expand Down
2 changes: 1 addition & 1 deletion Logger-BungeeCord/src/main/resources/bungee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Logger-BungeeCord
version: '${project.version}'
main: me.prism3.loggerbungeecord.Main
description: Log all Activities from Players and Server Side!
author: Prism3 & theloother
author: Prism3 & theloother & Sidna
softdepends: [LiteBans]
commands:
reload:
Expand Down
5 changes: 2 additions & 3 deletions Logger-BungeeCord/src/main/resources/config - Bungee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
# Spigot: Prism3
# Discord: Prism3#9371 | ID: 403667971089760257
# Discord Server: https://discord.gg/MfR5mcpVfX

# Do not Touch this
Config: 1.7.5
#
# Config.1.8


# Server Name
Expand Down
24 changes: 12 additions & 12 deletions Logger-BungeeCord/src/main/resources/discord - Bungee.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#Discord Bridge Configuration for Logger Plugin [ Proxy Version ]
#Need Support? Join the Discord Server: https://discord.gg/MfR5mcpVfX
#Config 1.7.5
#Leaving Channel-ID empty will disable the Channel
# Discord Bridge Configuration for Logger Plugin [ Proxy Version ]
# Need Support? Join the Discord Server: https://discord.gg/MfR5mcpVfX
# Config 1.8
# Leaving Channel-ID empty will disable the Channel
Discord:
Enable: false
Bot-Token: BOT_KEY
Expand All @@ -15,7 +15,7 @@ Discord:
Channel-ID: 'LINK_HERE'
Player-Leave:
Channel-ID: 'LINK_HERE'
#Server Side
# Server Side
Server-Side:
Restart:
Channel-ID: 'LINK_HERE'
Expand All @@ -25,16 +25,16 @@ Discord:
Channel-ID: 'LINK_HERE'
RAM:
Channel-ID: 'LINK_HERE'
#Extra Side
# Extra Side
Extra:
LiteBans:
Channel-ID: 'LINK_HERE'
#Bot Activity Status
#Randomize the shown status
#First Part must not be different from
#Playing, Watching, Listening, Streaming, Competing
#Otherwise it will not work
#Time in Seconds
# Bot Activity Status
# Randomize the shown status
# First Part must not be different from
# Playing, Watching, Listening, Streaming, Competing
# Otherwise it will not work
# Time in Seconds
ActivityCycling:
Enabled: true
Random: false
Expand Down
22 changes: 11 additions & 11 deletions Logger-BungeeCord/src/main/resources/messages - Bungee.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#Messages for Logger Plugin [ Proxy Version ]
#Need Support? Join the Discord Server: https://discord.gg/MfR5mcpVfX
#Config 1.7.5
#Plugin Messages
# Messages for Logger Plugin [ Proxy Version ]
# Need Support? Join the Discord Server: https://discord.gg/MfR5mcpVfX
# Config 1.8
# Plugin Messages
General:
No-Permission: "&cYou do not have permission to run this command."
Reload: "&aConfigs Reloaded."
Invalid-Syntax: "&cInvalid Syntax."
#Files Instance
# Files Instance
Files:
Player-Chat-Staff: "[%time%] [%server%] The Staff <%player%> has said => %msg%"
Player-Chat: "[%time%] [%server%] The Player <%player%> has said => %msg%"
Expand All @@ -18,17 +18,17 @@ Files:
Player-Leave: "[%time%] [%server%] The Player <%player%> has left the server"
Server-Reload-Player-Staff: "[%time%] [%server%] The Staff <%player%> has reloaded the server"
Server-Reload-Player: "[%time%] [%server%] The Player <%player%> has reloaded the server"
#Server Side Part
# Server Side Part
Server-Side:
Reload-Console: "[%time%] The server has been reloaded"
Start: "[%time%] The server has started"
Stop: "[%time%] The server has stopped"
RAM: "[%time%] The Server has exceeded the set amount of percentage of RAM Usage! Total Memory: %max% | Used Memory: %used% | Free Memory: %free%"
#Extra Side Part
# Extra Side Part
Extra:
LiteBans: "[%time%] The command '%command%' has been executed on %on% by %executor% for '%duration%' for the reason %reason% | %silent%"
#Discord Instance
#Emojis can be found here https://emojipedia.org/ or elsewhere. Emojis may not work on >1.12 Servers.
# Discord Instance
# Emojis can be found here https://emojipedia.org/ or elsewhere. Emojis may not work on >1.12 Servers.
Discord:
Player-Chat-Staff: "**[%time%]** **[%server%]** **%msg%**"
Player-Chat: "**[%time%]** **[%server%]** **%msg%**"
Expand All @@ -40,12 +40,12 @@ Discord:
Player-Leave: "**[%time%]** **[%server%]** Left the server"
Server-Reload-Player-Staff: "**[%time%]** **[%server%]** Has reloaded the server"
Server-Reload-Player: "**[%time%]** **[%server%]** Has reloaded the server"
#Server Side Part
# Server Side Part
Server-Side:
Restart-Console: "**[%time%]** The server has been reloaded"
Start: "**[%time%]**"
Stop: "**[%time%]**"
RAM: "**[%time%]** The Server has exceeded the set amount of percentage of RAM Usage! Total Memory: **%max%** `|` Used Memory: **%used%** `|` Free Memory: **%free%**"
#Extra Side Part
# Extra Side Part
Extra:
LiteBans: "**[%time%]** The command **%command%** has been executed on **%on%** by **%executor%** for **%duration%** for the reason **%reason%** | **%silent%**"
8 changes: 4 additions & 4 deletions Logger-Shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>Logger</artifactId>
<groupId>me.prism3</groupId>
<version>1.7.5</version>
<version>1.8</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -58,17 +58,17 @@
<dependency>
<groupId>me.prism3</groupId>
<artifactId>Logger-Spigot</artifactId>
<version>1.7.5</version>
<version>1.8</version>
</dependency>
<dependency>
<groupId>me.prism3</groupId>
<artifactId>Logger-Bungeecord</artifactId>
<version>1.7.5</version>
<version>1.8</version>
</dependency>
<dependency>
<groupId>me.prism3</groupId>
<artifactId>Logger-Velocity</artifactId>
<version>1.7.5</version>
<version>1.8</version>
</dependency>
</dependencies>
</project>
16 changes: 14 additions & 2 deletions Logger-Spigot/dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<parent>
<artifactId>Logger</artifactId>
<groupId>me.prism3</groupId>
<version>1.7.5</version>
<version>1.8</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>Logger-Spigot</artifactId>
<name>Logger-Spigot</name>
<version>1.7.5</version>
<version>1.8</version>
<description>Log all Activities from Players or Server Side!</description>
<build>
<resources>
Expand Down Expand Up @@ -133,6 +133,18 @@
<version>0.3.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.geysermc</groupId>
<artifactId>connector</artifactId>
<version>1.2.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.geysermc.floodgate</groupId>
<artifactId>api</artifactId>
<version>2.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
<properties>
<java.version>1.8</java.version>
Expand Down
22 changes: 17 additions & 5 deletions Logger-Spigot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>Logger-Spigot</artifactId>
<version>1.7.5</version>
<version>1.8</version>
<packaging>jar</packaging>

<name>Logger-Spigot</name>
Expand All @@ -19,7 +19,7 @@
<parent>
<artifactId>Logger</artifactId>
<groupId>me.prism3</groupId>
<version>1.7.5</version>
<version>1.8</version>
</parent>

<build>
Expand Down Expand Up @@ -179,6 +179,18 @@
<artifactId>AdvancedBan-Bukkit</artifactId>
<version>v2.3.0</version>
</dependency>
<dependency>
<groupId>org.geysermc</groupId>
<artifactId>connector</artifactId>
<version>1.2.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.geysermc.floodgate</groupId>
<artifactId>api</artifactId>
<version>2.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- DataBases -->
<dependency>
<groupId>mysql</groupId>
Expand All @@ -188,18 +200,18 @@
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>3.0.4</version>
<version>3.0.5</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.3.4</version>
<version>42.3.6</version>
</dependency>
<!-- DotEnv -->
<dependency>
<groupId>io.github.cdimascio</groupId>
<artifactId>dotenv-java</artifactId>
<version>2.2.3</version>
<version>2.2.4</version>
</dependency>
</dependencies>
</project>
Loading

0 comments on commit 10b8080

Please sign in to comment.