Commit Graph

90 Commits

Author SHA1 Message Date
Eric 4ecbbb417b Added support for GriefPrevention
Only players who are allowed to build can create a shop
2017-04-26 17:03:39 +02:00
Eric bc222b6b37 Added support for IslandWorld
Only players who can build on the island (owner and members) are
allowed to create a shop, but anyone can use it (if not limited by
other plugins like WorldGuard)
2017-04-17 18:30:59 +02:00
Eric 7c1cb7f665 Added support for ASkyBlock
Only members and the owner of an island are allowed to create a shop,
but everyone is allowed to use it (if not restricted by other plugins
like WorldGuard)

Closes #50
2017-04-17 17:07:47 +02:00
Eric d7985c615d Added support for uSkyBlock
Only the leader pr members of an island can create or expand a shop,
but everyone can use them.
2017-04-10 17:25:48 +02:00
Eric 4a7202df6f Added support for PlotSquared
Three new custom flags will be available for every plot to set:
- create-shop
- use-shop
- use-admin-shop

These flags can be set to the following values
to allow the flag to that group. If you set the group to
members, trusted members and owners are also allowed the flag:
- owners
- trusted
- members
- everyone
- none

The default value for the flags will be 'none', so be sure to
change it in order to create or use shops!

The flag 'create-shop' can be bypassed by granting the permission
'shopchest.create.protected' (which is not recommended), and the
other flags can be bypassed by granting the permission
'shopchest.external.bypass'.

This closes #87
2017-03-28 14:37:12 +02:00
Eric d9a76ba09c Added sk89q-repo for WorldGuard
I don't know why I didn't add it before...
Fixes #88
2017-03-26 15:57:41 +02:00
Eric 39822fe8df Added AuthMe support
Closes #64
2017-03-17 14:59:34 +01:00
Eric 598f9434e6 Switch from MCStats to bStats
New stats link: https://bstats.org/plugin/bukkit/ShopChest
2017-03-15 18:40:45 +01:00
Eric a755c065d2 Fixed git commit hash in version
Changed plugin to "scriptus" by md_5
2017-01-13 22:56:17 +01:00
Eric 879ac652c4 Only build javadoc with "release" profile 2017-01-08 18:09:54 +01:00
Eric b007ffb133 Add git commit hash to version
Use profile "release" to create a version without the commit hash
2017-01-08 17:54:17 +01:00
Eric f1712a6bce Added 1.11.2 translation values and the missing one for "Nether Wart" 2017-01-02 19:20:41 +01:00
Eric a61975b08f Changed version to 1.11.1 2016-11-23 17:24:48 +01:00
Eric eda52af179 Fix support for WorldGuard v6.1.3 and later 2016-11-23 17:08:20 +01:00
Eric 1251d187ed Changed version to 1.11.0 2016-11-22 14:35:51 +01:00
Eric 04a6d836b9 Added towny support
- Players can only create shops in shop plots, not in wilderness or normal
  plots
- Added permission "shopchest.extend.protected"
- Changed permission "shopchest.extendOther" to "shopchest.extend.other"
- When creating a shop on a double chest, both chests must not be
  protected/in a protected region
- To extend a shop into a protected region (e.g. WorldGuard/Towny), you
  need permission (shopchest.extend.protected)
- Added no-permission message for "shopchest.extend.protected"
2016-11-20 14:18:36 +01:00
Eric b7aa71599e Add support for 1.11 2016-11-17 20:30:26 +01:00
Eric ff406abf2d Added WorldGuard support
Might contain issues, as it's not tested extensively
2016-11-13 13:43:03 +01:00
Eric b2c9f81c91 Changed version to 1.10.4 2016-09-06 11:53:20 +02:00
Eric d56421682b Changed version to 1.10.3 2016-08-19 15:34:50 +02:00
Eric ba4334407e Added -Xdoclint:none parameter to javadoc on java 8 and later
Closes #23
2016-08-19 12:35:17 +02:00
Eric 5225a18475 Changed version to 1.10.2 2016-08-18 15:36:12 +02:00
Eric 15099eca36 Changed version to 1.10.1 2016-08-17 13:16:56 +02:00
Eric af3b6612b1 Fixed version and JsonBuilder 2016-08-16 19:59:45 +02:00
Eric 582fa5dadc Changed version to 1.10 2016-08-16 17:53:33 +02:00
Eric a95106a335 Client-side shop items
All shop items are now spawned with packets and reflection client-side, so probably duplicated items are history (finally). This also allowed me to remove the ClearLag and LWC dependency, as ClearLag can't remove client-side items and LWC's Magnet Sucker can't suck them inside a chest. I also changed a bit in the classes of the nms package, so all required classes have to be found before attempting to do anything.

Fixes #11 and fixes #4
2016-08-08 22:04:29 +02:00
Eric 57af99da1b Now using reflection instead of different modules
This commit also fixes spawn eggs on 1.8.x
2016-08-05 15:26:47 +02:00
Eric 76ea273ad6 Changed way of checking if chests are protected
If another plugin cancelled the PlayerInteractEvent before ShopChest, the player is not permitted to create a shop on the clicked chest. The dependency of 'Lockette' is no longer needed. It might occur that a plugin, which is not used for protections, cancels the PlayerInteractEvent so a shop cannot be created.

This closes #14
2016-08-04 21:17:23 +02:00
Eric 6c38c74e54 Removed bukkit dependency
The same classes are also found in the spigot-api
2016-08-04 21:17:22 +02:00
Eric ee90215dd6 Changed version to 1.9.1 2016-08-03 16:32:33 +02:00
Eric fc9500bce3 Updated vault repository 2016-08-03 16:32:32 +02:00
Eric c2ea1fb076 Changed versions to 1.9.0.1 2016-07-14 16:35:00 +02:00
Eric e2828aaae8 Remove version from final jar name 2016-07-13 16:40:19 +02:00
Eric 34468ef623 Changed version to 1.9.0
There will be some more changes, so the update is coming soon...
Also, the properties in the plugin.yml are now extracted from the pom.xml
2016-07-06 21:59:42 +02:00
Eric 99ab436346 Changed commit message of maven artifact updater 2016-07-06 21:13:08 +02:00
Eric b817bf61ea Automatically build and deploy javadoc jars 2016-07-06 21:06:57 +02:00
Eric 3a50a20bf4 Automatically update maven repository 2016-07-05 15:08:44 +02:00
Eric e98dc6d8a7 Added javadoc aggregate plugin 2016-07-04 22:11:05 +02:00
Eric 031f0f99bc Updated VaultAPI to 1.6 2016-07-03 21:14:41 +02:00
Eric 54a1b637c6 Converted ShopChest to Maven Project 2016-07-03 20:59:29 +02:00