Commit Graph

31 Commits (1f2eb8b76ebb8be6947ad2d3c23170bd6473bef4)

Author SHA1 Message Date
Etzelia 1f2eb8b76e
Add Drone
Signed-off-by: Etzelia <etzelia@hotmail.com>
2021-07-16 22:15:04 -05:00
Etzelia 0310f0f827
Check for configurable grief types
Signed-off-by: Etzelia <etzelia@hotmail.com>
2021-07-16 22:11:54 -05:00
Joey Hines bc339caad6
Added location information to webhooks
+ Added `World` and `Location` fields
+ Player Alert URLs can have fields for locations
2020-12-06 17:43:42 -06:00
Joey Hines 78791c6ee2 Added `minealert.ignore` permission (#13)
Added `minealert.ignore` perm

+ `minealert.ignore.ore` ignores ore alerts generated by the user
+ `minealert.ignore.grief` ignores grief alerts generated by the user
+ `minealert.ignore` ignores all alerts generated by the user

Co-authored-by: Joey Hines <joey@ahines.net>
Reviewed-on: https://git.etztech.xyz/Minecraft/MineAlert/pulls/13
Reviewed-by: Etzelia <etzelia@noreply.example.org>
Co-Authored-By: ZeroHD <joey@ahines.net>
Co-Committed-By: ZeroHD <joey@ahines.net>
2020-12-07 00:08:53 +01:00
Joey Hines d9e916e7b2 Added orealert_mute and griefalert_mute (#11)
Tweaks based on feedback

+ Combined mute commands into one command "alertmute"
+ By default, both mutes are set.
+ Grief and Ore strikes are now tracked even if a player has alerts muted

Added orealert_mute and griefalert_mute

+ Allows alerts generated by a user to be muted for a duration
+ Added PluginAPI as a dependency
+ Bumped version
+ Solves #8

Co-authored-by: Joey Hines <joey@ahines.net>
Reviewed-on: https://git.etztech.xyz/Minecraft/MineAlert/pulls/11
Reviewed-by: Etzelia <etzelia@hotmail.com>
2020-09-14 06:08:15 +02:00
Joey Hines f27eb90f82 Added Y-Level filters to alerts (#9)
Merge branch 'master' into alert_range

fixed_the_snake_case

Switch to camelCase

+ Too much not java programing

Added Y-Level filters to alerts

+ Useful to filter out fortuning or TNT used in Netherite Mining
+ Might be a good idea to expand this setting to be per world

Co-authored-by: Etzelia <etzelia@hotmail.com>
Co-authored-by: Joey Hines <joey@ahines.net>
Reviewed-on: https://git.etztech.xyz/Minecraft/MineAlert/pulls/9
Reviewed-by: Etzelia <etzelia@hotmail.com>
2020-09-08 18:46:31 +02:00
Joey Hines d03f54594a Add blocks within a tnt or bed's blast to the cache (#10)
Add blocks within a tnt or bed's blast to the cache

+ If TNT or bed is used for mining, those blocks should be placed in the cache
+ Beds are only tracked in the nether

Co-authored-by: Joey Hines <joey@ahines.net>
Reviewed-on: https://git.etztech.xyz/Minecraft/MineAlert/pulls/10
Reviewed-by: Etzelia <etzelia@hotmail.com>
2020-09-07 00:19:45 +02:00
Etzelia 537e2fc237 Fix Lang format (#6)
Fix Lang format

Signed-off-by: Etzelia <etzelia@hotmail.com>

Reviewed-on: https://git.etztech.xyz/Minecraft/MineAlert/pulls/6
Reviewed-by: ZeroHD <joey@ahines.net>
2020-08-11 01:03:05 +02:00
Etzelia 23356da050 Fix escape formatting (#5)
Fix escape formatting and refactor BlockEvent

Signed-off-by: Etzelia <etzelia@hotmail.com>

Reviewed-on: https://git.etztech.xyz/Minecraft/MineAlert/pulls/5
Reviewed-by: ZeroHD <joey@ahines.net>
2020-08-04 22:29:45 +02:00
Etzelia cff2af302f Add GA description to README (#4)
Add GA description to README

Reviewed-on: https://git.etztech.xyz/Minecraft/MineAlert/pulls/4
Reviewed-by: ZeroHD <joey@ahines.net>
2020-08-03 20:25:31 +02:00
Etzelia c159eea8fd Add grief alert (#2)
Merge branch 'master' into grief

Merge branch 'master' of git.etztech.xyz:Minecraft/MineAlert into grief

Signed-off-by: Etzelia <etzelia@hotmail.com>

Add OPEN_URL to spigot message

Signed-off-by: Etzelia <etzelia@hotmail.com>

Add grief alert

Signed-off-by: Etzelia <etzelia@hotmail.com>

Reviewed-on: https://git.etztech.xyz/Minecraft/MineAlert/pulls/2
Reviewed-by: ZeroHD <joey@ahines.net>
2020-08-02 23:12:07 +02:00
Joey Hines 117a9c5607 Fixed Vein Tracking (#3)
Use UUID as key for map instead of player

+ Fixes issue where if a player re-logs, they get a new strike list.

Fixed ore vein tracking

+ All datasets are now thread safe
+ Blocks are checked if they are tracked before being put in the queue
+ Only tracked blocks are placed in the cache as well

Co-authored-by: Joey Hines <joey@ahines.net>
Reviewed-on: https://git.etztech.xyz/Minecraft/MineAlert/pulls/3
2020-08-02 22:52:25 +02:00
Etzelia f667672823 Fix alert logic and add status (#1)
Typo

Signed-off-by: Etzelia <etzelia@hotmail.com>

Wording

Signed-off-by: Etzelia <etzelia@hotmail.com>

Add BlockPlaceListener and utility methods

Signed-off-by: Etzelia <etzelia@hotmail.com>

Fix some notification logic.

Signed-off-by: Etzelia <etzelia@hotmail.com>

Reviewed-on: https://git.etztech.xyz/Minecraft/MineAlert/pulls/1
2020-08-02 17:40:05 +02:00
Etzelia d7e9ce7925
Move sendWebhook to Javacord
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-30 21:34:02 -05:00
Etzelia 35eae83dcc
Quick return for location loop
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-30 21:21:01 -05:00
Etzelia d070f47d2d
Add location cache
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-30 20:52:00 -05:00
Etzelia fa9eb9a1d2
Add username URL
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-30 17:28:26 -05:00
Etzelia 3da1306106
Escape player names
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-30 16:53:24 -05:00
Etzelia be57583491
Use Javacord
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-30 16:52:47 -05:00
Etzelia 316efb0ba7
Check only for current event material
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-29 21:11:02 -05:00
Etzelia 4725a9e15a
Add license to README
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-29 14:54:57 -05:00
Etzelia 57cd360753
Add shorthand for getting Color int
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-29 14:48:05 -05:00
Etzelia 3494a28ac5
Polish and bugfixes
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-29 14:34:28 -05:00
Etzelia 6f29b43193
Rename to MineAlert and add config helpers
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-29 12:31:54 -05:00
Etzelia 5f19f7d026
Re-use code
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-29 11:41:44 -05:00
Etzelia aa6c0be984
Minor doc changes
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-29 11:39:34 -05:00
Etzelia 08d244b002
Add default color and add conversion for hex
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-29 11:32:47 -05:00
Etzelia 2e3d7acde1
Testing an notifications
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-28 23:30:41 -05:00
Etzelia 5d2e147a89
Calculate strikes
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-27 21:07:38 -05:00
Etzelia 9131e2f345
More work
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-27 21:06:33 -05:00
Etzelia f222ff3665
Initial Commit
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-07-20 22:17:08 -05:00