Commit Graph

104 Commits

Author SHA1 Message Date
Telesphoreo 64c691bb58 More modernization for the database 2026-05-19 02:30:16 -04:00
Nathan Curran c4bd65e7e0 Utilise the new Prism API (#101)
* Start changes to use the new Prism API

Currently, the Prism API doesn't support rollback so pushing the changes until such time the API allows you to rollback and/or restore modifications

* Modified the API to use the new modification services

* Only rollback activities that has occurred in previous 24 hours upon ban

* code formatting [skip-ci]
2026-05-17 16:03:45 -04:00
ncurran02 1a1719290f Uplift Paper version to 26.1.2
Upgraded Gradle to 9.5.1

Updated deprecated functions

General code clean up
2026-05-13 18:09:51 +10:00
Telesphoreo 03dc254cc8 Reorganize commands.yml, fix all deprecated code 2025-12-25 19:26:39 -05:00
Telesphoreo aadac1746e Better permission validation 2024-10-15 18:57:17 -05:00
james e066d9b3a1 Implemented the ability to toggle pvp (#97)
* Implemented the ability to toggle pvp

* Changed listener to  PrePlayerAttackEntityEvent

* ... Updated the formatting so I don't get screamed at !

* _
2024-06-04 10:30:34 -05:00
james 9e974ae737 Add a /tempmute command (#96)
* Update WhoHasCMD.java

Added functionality that clears all players with a specified item

* Added functionality that clears all players with a specified item

* Altered tab completion to include "clear" argument

* Update WhoHasCMD.java

* Implemented a mob limiter that can be configured via a command

* Fixed some imports

* Refined tab complete

* Implemented reviewed changes

* Added a /tempmute command

* Removed unnecessary imports & simplified the reason assignment

* Fixed the usage for the moblimit command

---------

Co-authored-by: Telesphoreo <me@telesphoreo.me>
2024-06-04 09:23:51 -05:00
james 23611e218b Implemented a moblimiter (#95)
* Update WhoHasCMD.java

Added functionality that clears all players with a specified item

* Added functionality that clears all players with a specified item

* Altered tab completion to include "clear" argument

* Update WhoHasCMD.java

* Implemented a mob limiter that can be configured via a command

* Fixed some imports

* Refined tab complete

* Implemented reviewed changes

---------

Co-authored-by: Telesphoreo <me@telesphoreo.me>
2024-05-31 15:41:14 -05:00
Telesphoreo 5f12a1532f Add vanish filtering to list 2024-05-31 15:38:56 -05:00
Telesphoreo fff35ad34c fix -rb showing in ban message 2024-05-26 13:35:35 -05:00
Video 2ed88da151 Merge branch 'master' into messagesincursion 2024-05-09 17:06:13 -06:00
Deauthorized c5b356e45a fix merge conflict for hopefully the last time 2024-05-06 15:51:04 -04:00
Taah 58fe304118 oops oops oops 2024-05-06 12:40:29 -07:00
Deauthorized 50d969975c fix merge conflict 2024-05-06 15:37:56 -04:00
Deauthorized 52cc738d4d fix merge conflict 2024-05-06 15:34:18 -04:00
Taah fd19d8417c add banlist to plex instead of having it in tfm extras 2024-05-06 12:31:07 -07:00
Taah efcb9b45df oh update usage too 2024-05-06 12:29:30 -07:00
Taah a5d77036a9 closes #91
add rollback only if -rb is specified
2024-05-06 12:26:21 -07:00
Deauthorized f1680174ae Update DebugCMD.java 2024-05-04 02:45:39 -04:00
Taah 129ef7b6bf Remind me to read the documentation next time... coreprotect is supposed to be called asynchronously lol 2024-05-03 14:41:12 -07:00
Deauthorized 0c7b280aef Update TempbanCMD.java 2024-05-02 17:28:34 -04:00
Deauthorized 647f17b5bd Update SmiteCMD.java 2024-05-02 17:27:47 -04:00
Deauthorized 773f320cb6 Update NotesCMD.java 2024-05-02 17:27:17 -04:00
Deauthorized 8f55be369f Update ListCMD.java 2024-05-02 17:26:20 -04:00
Deauthorized 5a7a2c1835 Update KickCMD.java 2024-05-02 17:25:49 -04:00
Deauthorized bc163aa51a Update EntityWipeCMD.java 2024-05-02 17:25:26 -04:00
Deauthorized 5040c76dc6 Update BcastLoginMessageCMD.java 2024-05-02 17:24:49 -04:00
Deauthorized 7d94717de5 Update BanCMD.java 2024-05-02 17:23:37 -04:00
Telesphoreo 068dd28fd4 Temporary fix for displaying login messages on join 2024-04-28 12:52:21 -05:00
Deauthorized 357683a0f6 Add a toggle option for toggling chat (#89)
* Add moderated mode toggle option

* Add new messages to messages.yml for modmode toggle

* Add block_on_modmode list for commands to block, should be separate from block_on_mute so pms can still work

* Implement the restricted chat toggle

* Add the restricted chat toggle to the toggle gui

* Add the restricted chat toggle to the consoles version of the command as well

* Update toggles.yml / requested changes

* Update messages.yml / requested changes

* Update commands.yml / requested changes

* Update ToggleMenu.java / requested changes

* Update TogglesListener.java / requested changes

* Update ToggleCMD.java / requested changes

* Update messages.yml / requested changes

* Update ToggleMenu.java / requested changes

* Update ToggleCMD.java / requested changes
2024-04-28 12:04:18 -05:00
Telesphoreo 315e16488b adds support for vanish plugins 2024-04-27 22:24:03 -05:00
Taah 85605774cf fix mute & freeze not staying after relog
add configurable timers for mute and freeze
2024-03-23 08:14:36 -07:00
Video 54015f668a Fixes NPE if Prism or CoreProtect are not installed (#87) 2024-03-02 15:38:49 -06:00
james 532e82472b Added functionality that clears all players with a specified item (#82)
* Update WhoHasCMD.java

Added functionality that clears all players with a specified item

* Added functionality that clears all players with a specified item

* Altered tab completion to include "clear" argument

* Update WhoHasCMD.java

---------

Co-authored-by: Telesphoreo <me@telesphoreo.me>
2024-02-04 13:35:11 -06:00
Telesphoreo 6ce4843829 Minor fix 2024-01-27 15:56:40 -06:00
Telesphoreo 7298c8669a Attempt to fix bans not working 2024-01-27 15:48:21 -06:00
Video fbd36161d4 Better legacy component support, removes SignListener (#81)
* Better legacy component support, removes SignListener

* Removes unused imports
2024-01-26 17:12:17 -06:00
Telesphoreo e22f079062 Tab completion improvements to ban command 2024-01-23 19:58:15 -06:00
Telesphoreo 8f713fd30c uncomment prism support 2024-01-23 19:52:03 -06:00
Telesphoreo 72467de5ce Tab completer improvements (#80)
* Attempt to improve the tab completion for Plex

* i give up for the night

* steven is a god

* Fix permission node
2024-01-20 11:32:24 -06:00
Telesphoreo c9d954d1c0 reformat 2024-01-19 22:30:26 -06:00
Alco_Rs11 b168029df1 Fixed /mp and it now has the ability to purge one or all mobs + tab completion. (#79)
* Added a tab completion to /mp because our genius Plex devs forgot to. Its shitty but works lmao

* Rewrote /mp to actually work with or without args so now specific or all mobs can be purged, instead of just all mobs being purged. Why the REAL plex developers didn't include this (yet they did for /rd) defies any sort of logic.

* Tweaked the command a bit. It works as it should now.

* Tweaked the command a bit. It works as it should now.
2024-01-19 22:29:00 -06:00
Taah f34df4f296 Add IP Banning by getting every IP punishment through SQL and checking if it's the same IP, if it's a ban / tempban, and if it's active
Make the ban command add the most recent IP used by a PlexPlayer if the player being banned is not online, else use online player's IP
2024-01-16 22:23:31 -08:00
Taah 7bca348587 Show the same treatment for tempbans 2024-01-15 15:45:00 -08:00
Taah b35bf63ba4 Add coreprotect support, start on prism but commented out until they figure out a maven repository for their API 2024-01-15 15:39:57 -08:00
Telesphoreo 6d80d5f4e3 Revamp the build system 2023-12-01 21:46:20 -06:00
Focusvity bee4268d51 Revert radius to distanceSquared 2023-11-27 20:38:39 +11:00
Telesphoreo 9650685796 you saw NOTHING 2023-11-25 23:47:01 -06:00
Telesphoreo 1cf262ff91 Add radius to entitywipe command (#74)
* currently bugged

* Fixed radius not working

---------

Co-authored-by: Focusvity <nathan.curran10012@gmail.com>
2023-11-25 23:43:27 -06:00
Video 360775bac3 Fixes /punishments [player] not actually working 2023-11-07 04:39:54 -07:00