Commit Graph

83 Commits

Author SHA1 Message Date
8e3a71a489 Fixes Vault repo URL http instead of https 2022-11-13 22:48:18 +00:00
1154d7ddaf Fixes README table formatting 2022-11-13 22:42:52 +00:00
dd47ce06eb Makes sure forced refunds always refund the full amount 2022-11-13 22:39:11 +00:00
e7c40fb4b0 Makes a method to check if a block is a sign
This will hopefully prevent any more mistakes related to checking if something is a sign or not.
2022-11-12 12:48:21 +01:00
cf66113ac1 Fixes some problems in the plugin destroyed sign check 2022-11-12 01:27:46 +01:00
4fee628469 Adds a delayed sign removed check #13
This commit adds a delayed check for whether the block at the sign change event's location is still a sign. If it isn't, it's assumed that a plugin blocked the sign creation by destroying the sign. In this case, the player is immediately refunded, even if refunds are disabled.
2022-11-08 12:53:26 +01:00
5c095e79f6 Updates code to account for KnarLib changes 2022-11-07 22:26:22 +01:00
a9c97f71f9 Changes things for the non-static Translator 2022-11-07 15:21:02 +01:00
bb63fb59d1 Uses KnarLib where possible 2022-11-07 11:29:33 +01:00
6a7d106d31 Bumps version to 1.0.1 2022-11-05 04:55:31 +01:00
79f3f8e3d2 Saves tracked signs after loading
Previously, if a tracked sign was removed during loading, while it wasn't added to tracked signs, tracked signs wasn't saved, so on the next startup it would be loaded again.
2022-11-05 04:12:51 +01:00
d50d9b42c4 Delays refunding on startup to prevent a crash 2022-11-05 03:26:25 +01:00
b0c3fea730 Improves some README information 2022-10-20 11:50:54 +02:00
04cfd1b89e Fixes two small misses in plugin.yml and the README 2022-10-19 18:22:07 +02:00
8f866d44b6 Bumps version to 1.0.0 2022-10-19 17:58:35 +02:00
7dcb215bf3 Builds against 1.19.2 2022-10-09 12:56:23 +02:00
668eec66e2 Adds minor improvements to README text 2022-10-09 12:51:41 +02:00
fb9f127307 Fixes tab completion for paid sign names 2022-08-06 17:21:19 +02:00
3eee197fb1 Lists paid signs 7 at a time, instead of all at once 2022-08-05 14:58:54 +02:00
337c4573e0 Adds in-game command info, and fixes some permission bugs 2022-08-05 14:28:03 +02:00
e5dfc1ccf6 Builds against Spigot 1.19.1 2022-08-05 13:47:04 +02:00
645d8f30eb Updates POM URL to the PaidSigns repository 2022-08-05 13:21:15 +02:00
40da191b45 Updates API to 1.19, and version to 0.7.0-ALPHA 2022-07-28 17:08:21 +02:00
38717a6b91 Improves behavior when signs share conditions
Makes sure that the paid sign matching the most conditions is always chosen as the matching paid sign
Makes sure to always choose the most expensive paid sign if two or more paid signs with the same amount of conditions are matching.
Changes some classes to records to reduce some boilerplate code
2022-07-20 18:09:09 +02:00
32ec713994 Fixes another formatting issue 2022-07-15 20:30:50 +02:00
26e4202541 Fixes/improves some formatting 2022-07-15 12:08:08 +02:00
8b53182006 Adds a small FAQ to the README 2022-07-14 23:33:53 +02:00
427169c51a Lists registered paid signs in the sorted order 2022-07-14 23:33:36 +02:00
5ce0e5e6a7 Merge branch 'master' of https://git.knarcraft.net/EpicKnarvik97/PaidSigns
 Conflicts:
	pom.xml
2022-07-13 15:54:42 +02:00
35e0666a1d Performs some minor changes
Changes some warning messages to info
Displays sign creation cost when unable to create a paid sign
Changes spigot dependency to 1.19
Refunds the player during reload/startup when a tracked sign's physical sign has been destroyed
2022-07-13 15:53:28 +02:00
ba81611e80 Uses proper multi-line formatting for translation strings 2022-06-19 18:16:59 +02:00
6ec701026f Adds LICENCE and HEADER files 2022-04-29 06:10:09 +02:00
7344af616b Adds links in the README for easier navigation 2022-04-28 13:39:18 +02:00
0ce37de509 Changes the Spigot .jar to 1.18.2 2022-04-28 13:27:07 +02:00
3353916647 Updates the README to improve readability 2022-04-28 13:26:19 +02:00
b1aefdd9d9 Updates README and version to 0.6.0 2022-03-15 14:31:25 +01:00
c44ff5c890 Fixes a bug preventing default option states for paid sign conditions 2022-03-15 14:20:14 +01:00
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
3b5218cb98 Adds a notice about payment exempt OP players to the README 2022-03-03 11:52:25 +01:00
a1c9624fe1 Updates version to 0.5.0-ALPHA 2022-03-03 11:34:09 +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
abb080b065 Updates plugin version to 0.4.0-ALPHA 2022-03-02 00:41:06 +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