Commit Graph

604 Commits

Author SHA1 Message Date
Taah
6f506ac5cb Rework punishment system by deleting the Ban and BanManager and moving everything into Punishment Manager. TODO cache punishments maybe? who knows! add an active field to punishments and fix the ban service to actually unban players 2022-02-21 16:20:22 -08:00
d4578f2255 Fix tab handling and add more commands 2022-02-17 20:00:47 -06:00
f2db87624f Move gamemode stuff to listener
- Fix messages in messages.yml not being used
- Fixed checkRank not working
- Added permissions support for tab handing
2022-02-13 23:55:50 -06:00
Taahh
bd8c772228
Add documentation to custom Plex events + config 2022-02-07 09:07:48 -08:00
917775e7e7 Format code 2022-02-06 23:59:26 -06:00
cb3a6cc391 Last minute bug fix 2022-02-06 23:58:55 -06:00
2631867e27 Fix a whole bunch of bugs
- Rewrite how bans are handled
- Add /unfreeze command
- Rename LoginListener to BanListener
- Persistent commandspy
2022-02-06 23:53:57 -06:00
Taah
fddf57d7f5 Convert to Ashcon API for NameHistory 2022-02-06 21:06:55 -08:00
spacerocket62
282da7fdbb delete commandargumentexception and return usage instead 2022-02-06 19:53:35 -08:00
e328cf29e5 Add an unfreeze command 2022-02-06 21:45:40 -06:00
spacerocket62
c2206d0079 - Fix NH bug & Gson not liking LocalDateTime 2022-02-06 19:43:37 -08:00
spacerocket62
e70a01868d Fix plex creating a new punished player everytime 2022-02-05 15:18:17 -08:00
spacerocket62
211308e813 Add documentation to dev.plex.admin, dev.plex.banning, dev.plex.cache, and dev.plex.command (annotations and PlexCommand.java only)
Convert Date in punishments to LocalDateTime
2022-02-05 15:14:23 -08:00
spacerocket62
5e64e5e1b5 Remove debug message 2022-02-05 13:51:40 -08:00
spacerocket62
4171a504ce Fix commands rank permission system by adding check for ANY command source 2022-02-05 13:51:15 -08:00
d8a8f33425 this codebase is a mess 2022-02-05 14:43:49 -06:00
eebb34cd1c Add CommandSpy 2022-02-04 15:25:40 -06:00
dbf95441dc 🅱️an glowup 2022-02-04 14:13:56 -06:00
140f298018 Fix Redis hanging 2022-02-04 13:30:05 -06:00
c93bd4fd2c Fix Redis not working with local IPs 2022-02-04 12:51:16 -06:00
93a8a10212 That's right, Redis is working!
- Fix end date for bans not being correct
- Add a lot of debug information
- Add ban reasons
2022-02-04 02:18:07 -06:00
753dba8986 Add Player field to all commands, add readable string to ranks 2022-02-03 22:49:05 -06:00
081a702c70 Actually add Player as a field to the commands 2022-02-03 22:01:30 -06:00
fe53f5c49f Add bStats 2022-02-01 00:31:06 -06:00
4a05d90c17 Code cleanup 2022-01-30 15:03:47 -06:00
d4761d4386 Many, many bug fixes
- Fix permission checks
- Fix unban command
- getOfflinePlexPlayer no longer uses cache
- Register worlds before trying to load gamerules
- Customizable ban messages
2022-01-30 14:56:08 -06:00
bb978f2ab4 Fix SQLite not working 2022-01-30 13:26:55 -06:00
bc41415034 Fix unban 2022-01-29 19:53:22 -06:00
fd780463f8 oop 2022-01-29 19:32:16 -06:00
a95ea3557e I can't believe we didn't have an unban command 2022-01-29 19:31:10 -06:00
0a1df0fddb add more commands 2022-01-29 19:08:07 -06:00
8293b1a879 bruh 2022-01-29 18:43:44 -06:00
86f3fd8d29 Begin work on implementing ranks 2022-01-29 16:35:48 -06:00
9043005d62 Dont call the plugin every time tl() is used 2022-01-27 15:38:44 -06:00
c2d0746d49 this can be set as a library 2022-01-27 15:24:32 -06:00
087f6dc35a Optimize imports 2022-01-27 15:23:01 -06:00
e0b98794c5 Fix exception messages displaying twice 2022-01-27 15:22:28 -06:00
spacerocket62
15f0f5fe2d Move the chat renderer to a final class variable instead of initializing it every chat event 2022-01-27 01:03:48 -08:00
spacerocket62
8202021f07 Migrate (what I could find) legacy component system uses to kyori component system
Create List command
Remove fionn command
Remove test command
Add Mojang Utils
Auto add Plex Players back to cache on start if any are online
2022-01-27 01:00:50 -08:00
spacerocket62
29b547fc8b Merge remote-tracking branch 'origin/master' 2022-01-26 23:56:38 -08:00
5c15d25ef7 Added a debug option 2022-01-27 01:00:03 -06:00
spacerocket62
b94f0323ca Merge remote-tracking branch 'origin/master' 2022-01-26 22:36:40 -08:00
f2bbf6f6dc Gamerule stuff 2022-01-27 00:36:00 -06:00
spacerocket62
13eb6e2ef9 Merge branch 'master' of https://github.com/PlexDevelopment/Plex-Dev
# Conflicts:
#	src/main/java/dev/plex/command/PlexCommand.java
2022-01-26 21:29:53 -08:00
spacerocket62
587ea8f352 Begin fixing command system 2022-01-26 21:28:30 -08:00
a13ddabfdd Add exceptions 2022-01-26 23:19:05 -06:00
fce4c66efb Update Gradle wrapper 2022-01-26 23:14:43 -06:00
edef4d8558
Delete pom.xml 2022-01-04 17:00:28 -06:00
82d8a3151d The plugin now loads in game 2022-01-03 21:53:22 -06:00
f1c60d0abd Remove ignored files 2022-01-03 21:28:40 -06:00