Commit Graph

52 Commits

Author SHA1 Message Date
f9fd999a7f Updates PermissionSigns for 1.19 2022-07-10 14:08:14 +02:00
42f82e2357 Adds a small check to prevent dual clicks when holding an item 2022-07-10 14:02:15 +02:00
dbd4593931 Displays the SIGN_INFO text as a multi-line YAML value 2022-06-07 13:47:44 +02:00
62c7102f80 Makes sure to use UTF-8 for custom languages 2022-06-02 21:13:31 +02:00
281deabe3d Clarifies a table header title in the README 2022-04-28 13:23:07 +02:00
aaff5ea943 Merge branch 'master' of https://git.knarcraft.net/EpicKnarvik97/PermissionSigns
 Conflicts:
	pom.xml
2022-03-11 17:23:34 +01:00
db3c00d383 Updates some dependencies 2022-03-11 17:22:46 +01:00
add777a91b Clarifies license to prevent dispute 2022-03-11 17:21:37 +01:00
0451734731 Prevents instantiation of the Translator class 2022-03-02 13:14:06 +01:00
ff362f8d1d Updates annotations dependency 2022-02-18 17:55:30 +01:00
4d27cc36eb Sets the event priority for protection events to LOWEST 2022-02-18 17:53:42 +01:00
758262e9d7 Changes the order of default config stuff to make sure comments are included in the saved config file 2022-01-26 23:35:53 +01:00
9753e51cb5 Updates plugin version to 1.0.3 2022-01-25 13:41:20 +01:00
ea77c36564 Fixes some problems with color formatting and allows specifying the format of the permission list 2022-01-25 13:38:16 +01:00
967b533e55 Adds hex color code support and makes name, duration and cost formats customizable 2022-01-25 04:56:51 +01:00
14cff0e421 Updates version to 1.0.2 2022-01-23 12:03:04 +01:00
502f507d0c Allows both any and all for selecting all worlds for permission targets 2022-01-23 11:58:53 +01:00
495beb970c Allows both any and all for selecting all worlds for permission targets 2022-01-23 11:58:13 +01:00
20622d3160 Adds LICENSE file 2022-01-23 00:02:05 +01:00
a155f85fa3 Adds the proper update check URL and updates version to 1.0.1 2022-01-22 23:44:04 +01:00
0217b3b3ba Adjusts the README a bit 2022-01-22 23:40:47 +01:00
898c40c151 Removes snapshot from version 2022-01-22 23:03:21 +01:00
0fab9e26f4 Updates plugin information in the README 2022-01-22 20:59:07 +01:00
ee4f4355f5 Adds a new configuration option to remove permission signs without a physical sign on startup 2022-01-22 18:56:56 +01:00
b89b993220 Improves unit conversion by removing some redundancy and adding the seemingly missing minute unit 2022-01-22 18:02:03 +01:00
d1a7735b51 Makes sure manager classes cannot be instantiated or extended 2022-01-22 17:14:25 +01:00
6cee659bd0 Adds a configuration option to allow explosion/piston protection to be turned off 2022-01-22 17:10:11 +01:00
0283c917e7 Enables extended protection for explosion and piston events 2022-01-22 16:35:30 +01:00
69d182ec10 Cancels explosions near permission signs 2022-01-22 16:15:59 +01:00
0e8f2bd066 Makes sure to cancel placing events when a permission sign is interacted with 2022-01-22 15:38:59 +01:00
e6672fc2e2 Changes the strings file warning to a "finest" log message 2022-01-22 15:38:06 +01:00
e048eeefe4 Adds update warnings (URL needs to be updated once Spigot resource is created) 2022-01-22 15:26:06 +01:00
7913bc7fd0 Adds information about config options and language customization to the README 2022-01-22 15:03:57 +01:00
9188fd1b96 Fixes several bugs in sign protection 2022-01-22 14:37:52 +01:00
6705d2e4b1 Fixes a bug that protects blocks around permission signs 2022-01-22 07:53:05 +01:00
3bb5970a57 Adds optional extensive sign protection which accounts for signs on gravity-affected blocks 2022-01-21 21:49:11 +01:00
1c64e8813d Adds support for custom strings.yml files 2022-01-19 21:22:37 +01:00
23c023a027 Various improvements to the interface
More time units are supported, which makes long temporary durations more readable
Makes right-clicking a sign display a full description, and requires sneaking while clicking to perform the transaction
Makes signs only be destroyed when sneaking
Improves sign protection a bit, but improvements are required
Prevents a creative player breaking a sign from also interacting with it
2022-01-17 18:42:15 +01:00
bec45ae968 Updates the README with additional information 2022-01-17 13:55:01 +01:00
65a8ccdb88 Improves the tab completer to be consistent with PEX and LuckPerms 2022-01-15 19:02:26 +01:00
6f3829f44f Fixes an issue with UTF-8 symbols in translated strings 2022-01-15 19:01:20 +01:00
7be3717530 Adds Norwegian translation 2022-01-15 18:58:15 +01:00
67e967a264 Implements world-specific permissions
Accounts for world specifiers where necessary
Makes the reload command work?
Stores the world as part of temporary permissions
Fixes sign break protection
Allows sign interaction with both right- and left-click
Fixes temporary permissions sometimes colliding
Cleans the main class a bit
Adds a "star" permission
Adds missing check for the use permission
2022-01-15 14:49:46 +01:00
112fd0d53d Makes temporary permissions work
Saves and loads temporary permissions to/from disk as necessary
Gives players their temporary permissions when joining
Adds an un-used config file
Changes an english string in strings.yml
2022-01-14 20:33:08 +01:00
339aedf2e9 Makes temporary permissions expire as intended
Fixes the sign prefix used on the first line
Makes TemporaryPermission comparable
Replaces some usage of OfflinePlayer with Player
Only removes a permissions if owned by the player
Adds a new thread that looks for expired temporary permissions
2022-01-14 17:53:16 +01:00
252d3ed88a Adds tab completion for the creation command, and fixes several bugs 2022-01-14 15:19:27 +01:00
5c2831bbb7 Improves output formatting and adds some missing messages 2022-01-14 11:45:02 +01:00
52b033c005 Adds Vault integration
Adds the EconomyManager class for handling Vault payments
Adds the unfinished PermissionManager class for granting permissions through Vault
Adds the GPLv3 license
Fixes dependencies
Adds some code for withdrawing money and granting permissions when a sign is clicked
Changes cost to a double to be compliant with Vault
2022-01-14 10:30:44 +01:00
71e932bf40 Adds some more code for getting closer to a working plugin
Loads signs from disk when executing the reload command
Adds code for sign registration
Saves signs when adding/removing a sign
Makes sure to initialize the translator
Adds a check for whether a sign is registered
2022-01-13 17:14:29 +01:00
a77c297e58 Adds code for loading and saving sign data 2022-01-10 18:37:11 +01:00