-
Notifications
You must be signed in to change notification settings - Fork 399
Add /grim history <player> #2023
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 2.0
Are you sure you want to change the base?
Conversation
Co-authored-by: ManInMyVan <[email protected]>
Co-authored-by: ManInMyVan <[email protected]>
# Conflicts: # src/main/java/ac/grim/grimac/manager/init/start/CommandRegister.java # src/main/resources/config/zh.yml # src/main/resources/messages/de.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should have an option on whether it's enabled or not, and have it disabled by default.
You need to add it in punishments.yml before it is logged |
I think he meant to also prevent from connecting to mysql when they do not want this enabled |
It is sqlite by default, which uses a negligible amount of memory. But I guess I could make it configurable if he thinks it's a good idea |
still someone could not want any database enabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should keep placeholders (ie tps, ping)
src/main/java/ac/grim/grimac/manager/violationdatabase/MySQLViolationDatabase.java
Outdated
Show resolved
Hide resolved
src/main/java/ac/grim/grimac/manager/violationdatabase/MySQLViolationDatabase.java
Outdated
Show resolved
Hide resolved
src/main/java/ac/grim/grimac/manager/violationdatabase/MySQLViolationDatabase.java
Outdated
Show resolved
Hide resolved
src/main/java/ac/grim/grimac/manager/violationdatabase/Violation.java
Outdated
Show resolved
Hide resolved
src/main/java/ac/grim/grimac/manager/violationdatabase/ViolationDatabase.java
Outdated
Show resolved
Hide resolved
src/main/java/ac/grim/grimac/manager/violationdatabase/ViolationDatabaseManager.java
Outdated
Show resolved
Hide resolved
Co-authored-by: ManInMyVan <[email protected]>
Will this be merged before or after axionizes platform independence changes? |
Likely after since merging it now would be pointless (instant rewrite of command requried) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rebase/merge
import java.util.UUID; | ||
|
||
@Data | ||
public class Violation { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be a record
I'll wait until platform independence is completed |
it's already been merged into 2.0 |
See #1782