Commit Graph
80 Commits
Author SHA1 Message Date
Sxtanna 98fbceeb1d added back packaging node 2020-07-29 18:20:39 -04:00
Sxtanna 592f093566 updated maven publication to remove transitive dependencies 2020-07-29 17:43:05 -04:00
Sxtanna 63134f4d74 changed project name to lowercase 2020-07-29 17:43:03 -04:00
Sxtanna 8b4a2517c0 updated char replacer to colorize returned replacements as well. 2020-07-29 17:19:30 -04:00
Sxtanna a78b5fe712 updated to use Player#spigot instead of CommandSender#spigot (I miss Kotlin) 2020-07-29 17:19:29 -04:00
Sxtanna 68402d244b bumped to 2.10.7 2020-07-28 17:36:39 -04:00
Sxtanna 81225dafbc updated parse command completer to suggest available placeholders 2020-07-28 16:09:30 -04:00
Sxtanna 74bd22eb0c updated char replacer to have spaces in placeholder parameters 2020-07-28 15:18:15 -04:00
Sxtanna a6ab3a2a03 updated to publish dev builds to the dev repo 2020-07-28 14:47:37 -04:00
Sxtanna 9ef5cedfd6 updated to use credentials from the environment 2020-07-28 14:06:51 -04:00
Sxtanna 8f9b999e5a updated to publish to clip nexus repo 2020-07-28 13:47:28 -04:00
Sxtanna f9156209e7 Merge remote-tracking branch 'origin/master' 2020-07-28 12:58:24 -04:00
Sxtanna 77d0654a29 updated build to use maven publish plugin 2020-07-28 12:58:06 -04:00
Sxtanna 300eb64d89 removed benchmarks for shitty replacer 2020-07-28 12:57:08 -04:00
Sxtanna b73a6916cb updated classes with contract annotations 2020-07-27 11:40:58 -04:00
Sxtanna 134086f6a9 updated fileutil to load *vomit* all classes, closes #381 2020-07-27 11:39:11 -04:00
Sxtanna f61b6acfa8 updated placeholderexpansion to define its own unregister method 2020-07-26 23:01:12 -04:00
Sxtanna 8360511c50 rewrote discovery and registration code to be composable and higher level 2020-07-26 21:02:55 -04:00
Sxtanna ee33de5ec8 removed final from deprecated methods, restored fallback for getRequiredPlugin 2020-07-26 21:01:12 -04:00
Sxtanna a160f3abc9 updated to further phase out PlaceholderHook, added contracts to expansion methods 2020-07-26 18:46:00 -04:00
Sxtanna b63f10f749 lets pretend no one saw this. 2020-07-26 18:36:50 -04:00
Sxtanna 86002f50e6 updated to phase out PlaceholderHook 2020-07-26 18:03:31 -04:00
Sxtanna c3e0c1fb64 updated gson 2.8.5 -> 2.8.6 2020-07-26 17:32:28 -04:00
Sxtanna b464590491 added dump command, closes #366 2020-07-26 16:26:42 -04:00
Sxtanna 65f04ba70e updated cloud expansion list to be sorted via a configuration option of values [name, author, latest]. closes #363 2020-07-26 13:39:33 -04:00
Sxtanna 07cd344123 updated local expansion to not catch potential linkage errors, and report them. closes #377 2020-07-25 23:57:19 -04:00
Sxtanna 30ead2ae4b fixed spacing 2020-07-25 23:54:09 -04:00
Sxtanna 9339192f88 updated ecloud list command to use new table utility, added message for when no expansions can be listed 2020-07-25 22:38:41 -04:00
Sxtanna 6eb1ecc212 Implemented general purpose table utility 2020-07-25 22:35:56 -04:00
Sxtanna 973484066a updated ecloud list command to not paginate by default in console, closes #375 2020-07-25 14:57:10 -04:00
Sxtanna f177da8ef7 updated parse tab completer to consider the "cmdparse" alias 2020-07-25 13:08:26 -04:00
Sxtanna d1b50c3db4 updated parse tab completer to call method inversely 2020-07-25 13:07:59 -04:00
Sxtanna fb7a3ec99d added tab completion to the update command 2020-07-25 12:55:44 -04:00
Sxtanna 6caed4c23c updated plugin.yml to include permission for update command 2020-07-25 12:55:44 -04:00
Sxtanna f7c2e72c1e added ecloud update command 2020-07-25 12:55:44 -04:00
Sxtanna 85b9fc36da updated local manager to allow for reregistering expansions 2020-07-25 12:55:44 -04:00
Sxtanna 5861f9fe6a updated register command to attempt registration on the main thread. (event bullshit I think) 2020-07-25 12:02:34 -04:00
Sxtanna b6ec478dd6 updated ecloud list command to print to console in a table format. 2020-07-25 10:24:19 -04:00
Sxtanna 89061e6437 fixed ordering of methods 2020-07-24 19:45:28 -04:00
Sxtanna 50cee40531 updated LocalExpansionManager to accept a command sender to notify of load completion details 2020-07-24 19:02:17 -04:00
Sxtanna 00ced0495d I don't know how this happened, please don't flame me. ty. 2020-07-24 18:51:19 -04:00
Sxtanna 4e37f9f52a Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/me/clip/placeholderapi/expansion/manager/CloudExpansionManager.java
2020-07-24 18:51:07 -04:00
SxtannaandGitHub e57a0600f1 Managers Update (#368)
* added google codestyle plugin

* updated managers to make more sense, removed old

* updated cloud expansion manager to cache with index name
2020-07-24 18:49:18 -04:00
Sxtanna f4466059ac Merge branch 'master' into managers 2020-07-24 15:54:00 -04:00
Sxtanna dd183b4031 Merge remote-tracking branch 'origin/master' 2020-07-24 14:47:46 -04:00
Sxtanna 5ef360e3fe updated build.gradle formatting, and added missing values 2020-07-24 14:47:30 -04:00
Sxtanna cbbb2f27e4 Merge branch 'master' into managers
# Conflicts:
#	build.gradle
#	src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudExpansionList.java
#	src/main/java/me/clip/placeholderapi/expansion/cloud/ExpansionCloudManager.java
2020-07-24 14:34:54 -04:00
Sxtanna f3ba9d588e updated managers to make more sense, removed old 2020-07-24 14:30:57 -04:00
Sxtanna 651de80a01 updated expansion list command to send messages using json 2020-07-24 11:04:12 -04:00
Sxtanna 4c586d1803 updated cloud manager to not be weird 2020-07-24 11:04:12 -04:00
Sxtanna 60a74258ec added google codestyle plugin 2020-07-24 08:26:20 -04:00
Sxtanna fccf0d5bb8 fixed ecloud casing 2020-07-24 05:21:43 -04:00
Sxtanna 6fade3fb93 removed obsolete EZPlaceholderHook 2020-07-24 01:39:17 -04:00
SxtannaandGitHub b7d1c6969e Commands rewrite (#357)
* began rewriting command system

* began rewriting command system

* updated formatting

* added new info command

* added new reload command

* updated new parse command to support all three parsing types

* added new commands to command router

* deleted old unused commands

* removed parserel

* added new expansion register and unregister commands

* deleted unused commands

* fixed annotation order

* added labels helper to command

* updated alias method to return an immutable view

* updated params param with unmodifiable annotation

* updated router to build an immutable map of the commands

* began rewriting command system

* updated formatting

* added new info command

* added new reload command

* updated new parse command to support all three parsing types

* added new commands to command router

* deleted old unused commands

* removed parserel

* added new expansion register and unregister commands

* deleted unused commands

* fixed annotation order

* added labels helper to command

* updated alias method to return an immutable view

* updated params param with unmodifiable annotation

* updated router to build an immutable map of the commands

* updated plugin class to use new command router

* updated switch to break on parse match

* updated register completions to suggest file names

* updated router to allow entering labels in any case

* updated parse command to send message to players as components

* added command dispatching parsing

* moved new commands into local package

* added helper functions for filtering and suggesting

* updated imports, updated tab completion to use helper functions

* added start of ecloud commands

* replace ecloud enable and disable commands with single toggle command evaluator

* deleted unused commands

* updated commands to use helper functions for suggesting

* updated downloading to use completablefuture, updated all methods to use streams exclusively

* updated to use the config instead of a null check

* deleted old commands system

* finished new command system

* updated to use new method from cloud manager

* fixed annotation ordering and added missing annotations

* updated ecloud subcommands to have a more specific permission

* updated plugin.yml with the new permissions, (and also fixed its formatting)

* fixed annotations intellij missed

* this should probably be there...
2020-07-24 01:29:11 -04:00
Sxtanna 21ca434e72 added unit test for hex code escaping 2020-07-23 12:02:04 -04:00
Sxtanna d63d7dc5f8 updated char replacer to support hex colors, and escaping &x 2020-07-22 23:59:39 -04:00
Sxtanna f47eef7442 updated plugin class to be less painful to look at, 2020-07-22 20:42:53 -04:00
Sxtanna 9631b087b3 updated server load listener to be final, and to automatically unregister itself when done 2020-07-22 20:41:27 -04:00
Sxtanna d7b947ddad finalized config, added nullability annotations 2020-07-22 20:40:47 -04:00
Sxtanna 656f9ad03c updated expansion manager to actually... manage expansions 2020-07-22 20:40:15 -04:00
Sxtanna 0a4150d63e updated fileutil to ignore NCDFEs, and to print exceptions 2020-07-21 16:04:24 -04:00
Sxtanna 377d091ae2 added back deprecated online player method 2020-07-21 12:25:38 -04:00
Sxtanna bdf8a1bcc1 reformatted event classes, added nullability annotations, made classes final. 2020-07-21 11:56:57 -04:00
Sxtanna ee78fc1775 updated char replacer to better handle malformed input 2020-07-21 01:48:59 -04:00
Sxtanna 9ddb21220f updated shadow, added test dependencies for jmh and junit 2020-07-20 20:13:32 -04:00
Sxtanna 47e336c1fe Merge branch 'master' into gradle
# Conflicts:
#	pom.xml
2020-07-20 20:07:38 -04:00
Sxtanna a2a736d909 undeprecated bracket placeholder methods, 2020-07-20 19:50:36 -04:00
SxtannaandGitHub 9217147827 Merge pull request #355 from Andre601/patch-3
Add missing @deprecated notes to methods
2020-07-20 19:26:56 -04:00
Sxtanna e7ce84e7fc cleaned up fileutil and expansion manager 2020-07-20 18:55:37 -04:00
Sxtanna 42992de312 updated with null contracts, immutability, and early returns. 2020-07-20 18:22:08 -04:00
Sxtanna 45b3ebfbc2 updated to use new char replacer, deprecated all older functions, defined null contracts, and immutability. 2020-07-20 18:16:46 -04:00
Sxtanna 3b3892e7d6 updated placeholder hook to define immutability and null contracts, deprecated online player function 2020-07-20 18:14:13 -04:00
Sxtanna 9060ea6bd3 updated to use new closure 2020-07-20 17:38:18 -04:00
SxtannaandGitHub 9d73893cc8 replacer api, unit tests, and benchmarks (#354)
* added abstracted replacer api, and both char and regex based implementations

* added test dependencies for jmh and junit

* added unit tests and benchmarks for the replacer implementations

* updated replacers to accept specific closure types, added test to verify malformed placeholder handling

* updated jmh to 1.23, updated junit to 5.6.2
2020-07-20 16:59:25 -04:00
Sxtanna d2223f83b8 removed server dependency, added provided dependency for log4j-core 2020-07-19 09:16:09 -04:00
Sxtanna b4d6b047af moved compiler source and target to properties 2020-07-19 09:12:58 -04:00
Sxtanna 80c6a6d377 This class was trash 2018-10-12 12:43:57 -04:00
RanaldandGitHub 27f8586d76 Merge pull request #2 from PlaceholderAPI/master
Update
2018-10-12 11:31:47 -04:00
RanaldandGitHub 0d30c8ac50 Merge pull request #1 from PlaceholderAPI/master
daddy
2018-08-26 15:08:23 -04:00
Sxtanna e336eccd9a Changed Msg#msg to use method references 2018-04-18 23:36:47 -04:00