Commit Graph

37 Commits

Author SHA1 Message Date
c6d3a771c3 Fixes some bugs in the edit command
Adds missing super call to EditTabCompleter
Adds missing super call to EditCommand
Fixes the index of an argument during tab completion
Fixes a bug that caused conditions to be lost when a paid sign is changed
2022-03-14 20:20:04 +01:00
3e31c8c648 Implements the untested edit command 2022-03-14 19:00:51 +01:00
9c6921b4cd Performs some necessary work required for the edit command
Adds an implementation for the edit tab completer
Adds an enum representing a paid sign property
Adds an enum representing a paid sign condition property
Adds aliases to all commands
2022-03-14 16:20:42 +01:00
a7d1da7f8a Fixes a bug in refunding 2022-03-03 11:33:50 +01:00
c2ffe5e903 Adds increased detection and optional refunding of signs broken by non-players 2022-03-02 14:05:20 +01:00
3d83458b9c Makes refundPercentage use short instead of int 2022-03-02 13:02:34 +01:00
9bb234169d Adds various improvements, fixes and a new feature
Adds and option to match any paid sign condition instead of all conditions
Adds checks for whether line indices are outside the allowed range
Disallows any invalid regular expressions in sign conditions
2022-03-02 00:37:00 +01:00
664115b2b4 Translates the remaining strings and fixes a few minor bugs 2022-03-01 18:45:53 +01:00
4602ca71db Translates the list command's messages 2022-03-01 16:56:12 +01:00
30bca7b8f1 Translates the add condition command's messages 2022-03-01 16:56:02 +01:00
81e62eb664 Translates the add command's messages 2022-03-01 16:55:50 +01:00
5cbde82fff Adds translations for a bunch of messages 2022-03-01 16:55:30 +01:00
eb0e06f193 Adds code to be able to translate plugin messages 2022-03-01 16:03:08 +01:00
483ffaec2b Makes sure signs are no longer tracked if they no longer exist 2022-02-28 15:35:58 +01:00
15426a46f3 Registers the block break listener and adds some small improvements 2022-02-28 15:06:58 +01:00
a1b1a5d112 Adds sign tracking and refunds #3 #8 2022-02-28 14:41:14 +01:00
990339499a Fixes list paid signs tab completion 2022-02-27 14:51:37 +01:00
3b7268d2ff Fixes various tab completion problems 2022-02-27 14:28:46 +01:00
91d477b45a Fixes various bugs in commands 2022-02-27 12:47:05 +01:00
0f958f0908 Makes sure tab completed paid sign names are quoted 2022-02-26 23:15:48 +01:00
36678fd2d0 Fixes the index of the cost argument in the add command 2022-02-26 22:50:03 +01:00
4e44909f80 Fixes some errors caused when calling a command without an argument 2022-02-25 22:30:48 +01:00
db869c0c5b Adds a tab completer for the list command 2022-02-25 22:16:11 +01:00
8a030276c5 Removes some redundancy between tab completers 2022-02-25 20:38:10 +01:00
7e01d77723 Finishes the implementation of the list command 2022-02-25 19:41:43 +01:00
86cb1c0fed Removes some redundancy between commands 2022-02-25 18:18:52 +01:00
5bc62d5bc0 Adds some TODOs 2022-02-19 18:29:38 +01:00
2f559ce2af Implements the remove condition command and its tab completer 2022-02-19 18:22:39 +01:00
90b5ff7304 Implements the add condition command and its tab completion 2022-02-19 17:51:27 +01:00
d76d5cdf93 Fixes tab completion for the add and remove commands #7 2022-02-19 00:00:50 +01:00
6f35da03e7 Makes some changes in preparation for some commands that need to be added
Prepares the new command layout, changes the .add permission to .manage and adds 4 empty command classes
2022-02-18 23:16:47 +01:00
eaa4f929ca Fixes the check for testing if a paid sign already exists 2022-02-18 21:04:23 +01:00
419a79bc9f Updates the plugin description and the add tab completer 2022-02-18 19:59:50 +01:00
16faa1ddb2 Rewrites a bunch of code to improve the structure as specified in #5, #4, #2, #1 2022-02-18 19:39:20 +01:00
4189053ed8 Fixes the usage of /removepaidsign 2022-02-18 01:37:35 +01:00
d331612d51 Changes priority to Monitor, and skips checking for matches if the player is exempt from payment 2022-02-18 00:56:55 +01:00
ed5690d197 Initial commit 2022-02-18 00:28:44 +01:00