Commit Graph

248 Commits

Author SHA1 Message Date
Major b6c21029d4 Add tests for fishing plugin 2018-08-26 00:44:48 +01:00
Major- 4af28a1717 Add tests for spawn plugin 2018-08-25 18:16:53 +01:00
Major- f4aa3aae4e Add tests for api plugin 2018-08-25 12:03:54 +01:00
Major- fd52ee6026 Add @DefinitionSource annotations
Allows parameterized tests to use Item, Npc, and Object definitions
as @ArgumentSources.

This commit also adds support for using @ItemDefinitions etc on
properties as well as functions.
2018-08-25 12:03:53 +01:00
Major- dc0690f82d Make plugins target java 8 2018-08-25 12:03:53 +01:00
Gary Tierney 754343afec Move shop plugins to unique packages 2018-08-23 23:08:30 +01:00
Major- cfddd05499 Repackage api plugin 2018-08-23 20:12:26 +01:00
Major- c6cf5a4081 Merge pull request #407 from arham4/kotlin-experiments 2018-08-23 00:07:24 +01:00
Gary Tierney ba5ff2b765 Fix inclusion of ktlint for check tasks 2018-08-22 23:16:53 +01:00
Gary Tierney d97b6274c6 Include default configuratio in app distribution 2018-08-22 22:13:16 +01:00
Gary Tierney 51cfe1cd36 Add WalkingQueue tests 2018-08-22 22:00:39 +01:00
Arham4 0b0f75d622 Added all shops in Lumbridge, Falador, Edgeville, and Al-Kharid 2018-08-22 14:31:43 +01:00
Major- 2080e1e700 Add tests for player actions 2018-08-21 16:10:52 +01:00
Major- d4de32c82c Rename npc_spawn function to spawnNpc 2018-08-21 16:10:30 +01:00
Major- ae73453e1a Remove (empty) util plugin
The contents of this plugin have mostly been moved into the api plugin,
or removed entirely.
2018-08-21 16:09:30 +01:00
Major 86fba62ab9 Support npc and object definitions in plugin tests 2018-08-21 16:09:16 +01:00
Major 71158b3b5e Add unit tests for areas plugin 2018-08-21 16:09:09 +01:00
Gary Tierney 5d84cdf40f Fix recording of code coverage 2018-08-20 01:29:52 +01:00
Gary Tierney 5307a62f8d Put plugins with the same name in unique packages 2018-08-20 00:13:25 +01:00
Gary Tierney ebeaa7cd92 Use Gradles built-in JUnit 5 support 2018-08-19 23:43:42 +01:00
Gary Tierney 248a7d97d9 Update plugin test framework to junit5
Updates the testing infrastructure to use the latest relesae of junit and
leverages the new extension mechanism to create an easy to use testing
framework.  Also adds additional test coverage for several plugins.
2018-08-19 22:28:41 +01:00
Gary Tierney e255bd195e Replace fast-classpath-scanner with classgraph 2018-08-19 20:32:42 +01:00
Gary Tierney 82b79ba60c Remove Kotlin scripting Gradle plugin 2018-08-19 19:59:05 +01:00
Gary Tierney bd6db246dc Remove Detekt configuration 2018-08-19 19:52:51 +01:00
Gary Tierney 09346134fa Make buildscripts backwards compatible with Gradle 4.0 2018-08-19 19:50:27 +01:00
Gary Tierney c687f549da Add core plugins to the servers runtime classpath 2018-08-19 19:37:36 +01:00
Gary Tierney 0651d535fa Update to Kotlin 1.60 and Gradle 4.9
Removes the dependency on legacy script compilation and now relies on script
discovery.  In addition, the Gradle build scripts were refactored and updated
to be compatible with Gradle 5.0 and make use of the new java-library
configurations.
2018-08-19 19:26:51 +01:00
Steve Soltys 7fee8277ab Fix A* pathfinding when height is greater than zero 2018-07-30 21:09:03 -04:00
Steve Soltys 84f05ef51a Add support for checking the bounds of entities 2018-07-22 15:14:03 -04:00
Steve Soltys c44a942976 Optimize collision matrix building 2018-07-18 18:56:20 -04:00
Steve Soltys b74be81f05 Fix numerical attribute encoding 2018-07-14 12:16:49 -04:00
Major 8fe09880b7 Remove util:lookup plugin
Behaviour moved into the api plugin.
2018-04-08 16:19:48 +01:00
Major d2a197f680 Fix typo in shops dsl 2018-04-08 15:46:06 +01:00
Major 275da1331b Remove command utilities plugin 2018-04-08 05:15:48 +01:00
Major f7bf5fde34 Fix nitpicks in prayer plugin 2018-04-08 04:12:04 +01:00
Major 68b78915b6 Merge pull request #396 from chivvon/herblore 2018-04-08 02:32:53 +01:00
Chivvon a52837975e Port Herblore plugin to Kotlin 2018-04-08 01:58:34 +01:00
Caleb Foust 34f06b20c4 Add teleportation to places using ::tele [name] 2018-04-04 06:58:34 +01:00
Major 81e019ca93 Fix nitpicks in emote plugin 2018-04-01 22:49:26 +01:00
Major 8394a035c7 Optimise Mob.walkTo for paths that require no verification 2018-04-01 20:42:13 +01:00
Major 7ca09f462b Rename npc spawning scripts 2018-04-01 20:38:41 +01:00
Gary Tierney 2b7a62d997 Use a map for bone and prayer lookups 2018-03-31 22:24:10 +01:00
Gary Tierney 7c59c2c3a5 Clean up remaining issues on prayer plugin 2018-03-31 22:12:34 +01:00
Gary Tierney 59a651a1eb Fix code-style in prayer plugin
Adds named arguments to enum declarations along with lookup functions, fixes
continuation indent, and replaces Map<Player, ArrayList<Prayer>> with a
SetMultimap<Player, Prayer>.
2018-03-31 21:58:53 +01:00
Gary Tierney 28c85d1ecc Remove now invalid packageName from prayer plugin 2018-03-31 21:57:28 +01:00
Trevor Flynn 1c0b1d827f Fix to allow multiple prayers.
Fixed not caching enum values.
2018-03-31 21:49:59 +01:00
Trevor Flynn 94783da9e5 Ported prayer plugin to kotlin 2018-03-31 21:49:59 +01:00
Major 9c4eff712e Move Position destructuring functions to their own object 2018-03-28 21:36:34 +01:00
Major 0316753f46 Improve ::position command message 2018-03-28 17:48:07 +01:00
Major 4b68b8e47e Separate prospecting actions 2018-03-28 17:39:51 +01:00