Commit Graph

30 Commits (0079649d3ef4a100698de514712a29c657c9c512)

Author SHA1 Message Date
blablubbabc a83a8b1e8b Moved scm information into parent pom. 2018-06-02 18:15:02 +02:00
blablubbabc b5b6077d7a Further restructuring of the maven project layout:
* The old 'API' module is now called 'main' and is responsible for fully
building everything related to the core plugin contents.
* The old 'Shopkeepers' module is now called 'dist' and only responsible
for creating the assembly containing all the different module outputs
(main and various version-specific contents).
* The plugin version is now automatically propagated from the parent
project to the child modules by letting maven inherit the parent
version. To not have to update the parent versions with every new
release, the parent is specified with an open ranged version (should
therefore always pick the latest version it finds).
* To not pollute the local maven repository with the build artifacts of
the various child modules of various different versions, all modules
except 'dist' skip the install goal. (TODO maybe also install sk-main,
in case something wants to depend on that alone?).
* All common plugins configuration is now located in the parent and any
plugins that are configured by maven by default are omitted in the child
modules.
2018-06-02 17:48:10 +02:00
blablubbabc 3bbbd98148 Minor refactoring of all maven poms:
* Fixed: The LICENSE file gets properly included in the plugin jar now.
* Using ${project.parent.relativePath} variable everywhere, removing
unneeded/inherited entries and properties, moved a bunch of general
information into properties in the parent pom (version, urls, etc.),
updated scm information to point to the new repository.
* The plugin.yml now uses the dbo url defined in the maven pom.
2018-06-01 20:37:21 +02:00
blablubbabc ed1cafa512 Added bStats metrics.
* Added custom charts for supported third-party plugins, used (vault)
economy, usage of various features and total shopkeeper count.
* Added a few plugins as soft dependencies: Vault, WorldGuard, Towny,
Gringotts.
* Added an additional config setting 'enable-metrics', with which bStats
metrics can be disabled for Shopkeepers only.

Maven cleanup:
* All scopes are now explicitly specified.
* Removed duplicate group-ids form child-modules.
* Moved junit dependency into parent.
2018-05-20 22:38:01 +02:00
blablubbabc 621342931f Pointing to new repository, issue tracker and wiki. 2017-10-20 11:52:11 +02:00
blablubbabc 73142bf9dd Removed outdated bukkit repo.
Explicitly specify java 1.8 as target.
2017-09-21 17:14:44 +02:00
blablubbabc 9931434bb4 Updated to 1.12 (pre2).
From a quick test, illusioner and parrot seem to work fine.
Updating player inventory after cancelling interaction. This helps in
cases whe the interaction would modify the inventory(ex. animal
feeding).
2017-05-17 16:34:23 +02:00
blablubbabc 2e44726a47 Updated cube-nation repository information + added deploy repositories. 2017-03-19 23:32:07 +01:00
blablubbabc d6a1d3930f Initial update for MC 1.11.
Not yet updated to bukkit API changes (especially entity variants
related stuff).
2016-11-17 21:38:20 +01:00
blablubbabc 1b3fe5e1f0 Updated for MC 1.10.
Due to some villager profession changes in bukkit, data about villager
professions gets converted to a new storage format (stored by name
instead of id) (not backwards compatible!).
Using bukkit's new API for setting entities silent on MC 1.10.
Minor changes to the compatibility mode, which didn't work for the past
few minecraft updates. Might still not work, as it wasn't fully tested.

Removed support for MC 1.7.10.
Removed 'use-strict-item-comparison' setting (minecraft is performing a
strict item comparison already itself since MC 1.8).
Removed uuid conversion related code: PlayerShops are expected to have a
valid owner uuid by now.
Slightly refactored handling of issues during shop creation and loading,
so that shopkeepers with invalid data (ex. missing owner uuids) can now
communicate to the loading procedure that the loading failed.
2016-06-10 17:13:59 +02:00
blablubbabc 4bfca05d85 Updated for MC 1.9.4 2016-05-10 17:06:57 +02:00
blablubbabc 885099a3f0 Updated for MC 1.9.
Dropped support for nearly all versions of bukkit 1.7. Only bukkit
v1.7.10 is still supported.
2016-03-01 16:19:43 +01:00
blablubbabc 4b4994d766 Dropped module for CB 1.6 R3. 2015-10-25 21:11:11 +01:00
blablubbabc 2583e1044b Updated WorldGuard dependency version to 6.1.
This fixes an issue if running on MC 1.8 with WorldGuard 6.1.
2015-10-25 21:03:50 +01:00
blablubbabc b6181e6b7b Improved WorldGuard hook:
Players are now also allowed to place a shopkeeper if the region they
are in has WorldGuard's ALLOW_SHOP flag set (regardless if they can
build in that region).

Updated WorldGuard dependency to 5.9, added dependency to WorldEdit 5.6
(otherwise it wouldn't let me compile..) and added sk89q's official
maven repository.
2015-10-24 03:07:51 +02:00
blablubbabc 83e4075824 Fixed: Updated to latest version of citizens. 2015-06-08 02:03:26 +02:00
blablubbabc 05f025c28a Update for MC 1.8.4 2015-05-17 12:45:35 +02:00
blablubbabc 66609ff4e2 Updated to craftbukkit 1.8.3 R0.1 2015-03-07 20:09:06 +01:00
blablubbabc 51b50d4435 Added spigot repository, for 1.8. 2015-01-22 14:41:58 +01:00
blablubbabc 8c2416f070 Attempt of making shopkeepers backwards compatible again by compiling
the core with bukkit 1.6.2 R1.0 again and moving all bukkit version
specific stuff into the NMSCallProvider (maybe rename it to something
like 'VersionProvider' or similar, as it is not only used for NMS
related stuff anymore..?).
2015-01-05 07:19:21 +01:00
blablubbabc e206b9a966 Updated version to v1.29.
Added support for Craftbukkit (Spigot) v1.8R1
2014-11-28 21:29:01 +01:00
blablubbabc 8861289688 Added first try of 1.7.10 support. (Untested) 2014-07-10 01:47:43 +02:00
blablubbabc 62d8eaffbb Attempting to add support for most living entities. Untested yet and
could probably be improved: instead of having to go through all the
available mob types with the creation item, it might be better to just
create a living entity shop of some type the player is allowed to use,
and then given him the option to change the type via the editor menu.

Also a few small things in direction of adding the citizen support (like
some setting) are already included in this commit.

The different entity type settings were removed and replaced with a list
of 'disabled entity types', also the selected messages were replaced
with a generic one.
2014-06-14 01:07:07 +02:00
blablubbabc 1763396664 Removed the new introduced apache collections dependecy again and
replaced the LinkedMap with a linear search (which shouldn't have any
impact for our very few entry we need iterate through).
2014-05-17 23:53:04 +02:00
blablubbabc baac106b13 Started restructuring: Tried to separate things into additional classes,
especially move things out of the main plugin class and make some things
slightly more abstract:
* all living shopkeeper types share one listener now
* made the shopkeeper types more abstract
* made the shop object types more abstract
* tried to make the user interface stuff (trading, hiring, editor
windows) more abstract (though, I am not quite sure yet if that was an
improvement..)
* many more tiny changes everywhere..

Work in progress.
2014-05-17 19:45:56 +02:00
blablubbabc ea90d2b6fe Updated to use player uuids. UUID for shops get stored as soon as the
player logs in. The playername gets used for display purposes and as
identifier for the owner as long as we don't have an owner uuid yet.

Caveat which is probably left: the 'remove shopkeeper after certain time
of inactivity of player' gets an OfflinePlayer to determine when the
player was last online. This however can now (since 1.7.8) freeze the
server when it has to lookup the name or uuid via the mojang services.
However, this is currently considered a minor 'issue' as those lookups
can only happen once per plugin load (and reload), and the server might
cache the result from those lookups.
2014-04-14 04:41:01 +02:00
blablubbabc 2949396dfa Updated to 1.7.8 (if I dind't miss anything). 2014-04-13 15:10:15 +02:00
Xephi dd498fadb8 Update to CB 1.7.5 2014-03-24 21:49:03 +01:00
DerFlash c22afed509 Move base dependencies up, so the project will build in eclipse.
This also improves handling the base dependency, because we only need to change it in one place.

Yes, we want to add those basic .classpath & .project files here - still ignoring it on the other end - to provide maven build + eclipse IDE compiling right out of the box.
2013-12-04 12:48:11 +01:00
DerFlash 155885a0fb - convert to maven project
- switch to mbax’ NMS call abstraction implementation
2013-12-03 14:32:47 +01:00