ProtectionStones-Shop
A quick little addon for ProtectionStones I coded for my friend's server, and now after a while I thought It could be useful for other people aswell, so here you go.
This plugin was coded to help server owners allow players protect their buildings faster and easier.
It allows for protection stones sign shops and lore checking (you can only protect areas with blocks bought from the protection stones shops, it can be toggled in the config).
I am aware of Libelula Protection Blocks, but I did not like how you could not use even numbers for protection areas, and I liked how ProtectionStones used WorldGuard areas.
This plugin is quite lightweight and should not be an issue, it does not have any commands just a config with three configurable values.
See this plugin in action, join mc12.fadehost.com:25779! The plugin is not in that server anymore, for help message me here on BukkitDev or add me on Skype (XXLuigiMario). To do: - Commands
Please report/suggest any bugs/features in the comment section below. Thanks!
Permission | Description | Default |
protectionstones.shop.use | Permission to buy from ProtectionStones shop signs. | true |
protectionstones.shop.create | Permission to create ProtectionStones shop signs. | op |
protectionstones.shop.destroy | Permission to destroy ProtectionStones shop signs. | op |
See this plugin in action, join mc12.fadehost.com:25779! The plugin is not in that server anymore, for help message me here on BukkitDev or add me on Skype (XXLuigiMario). To do: - Commands
Please report/suggest any bugs/features in the comment section below. Thanks!
AM trying to make shop sign but it keeps saying that material isw not in the config. This is all I get in the config file
Settings:
CheckLore: true
CheckArea: true
CheckMaterial: true
Reusable: true
There is no place for material in it.
Hello the functions reusable don't work how we can repare ?
@charlie2200
It seems like it broke with WorldGuard 6, thanks for letting me join your server to troubleshoot it.
For any other server owners which are be facing the same problem I want you to know I'll be updating the plugin as soon as I can.
was this ever fixed to work with worldgaurd 6?
@XXLuigiMario
I am running this plugin on my server and the reusable function doesn't seem to work. Did i do something wrong?
@sakura_blades
It doesn't override it, also, sorry for the late reply.
This doesn't over-ride the group limitations of Protection Stones settings does it?
Example: Player A buys a Protection Stone from a shop, but he isn't in a group with a permission group node from PStones, would he still be able to place it?
I need to be able to limit players on how many Stones they can place, and which Stones as well. I'm hoping that this doesn't over-ride any of those settings, simply because a player can buy them?
Or perhaps I am lucky enough that the shops also obey these permission nodes too? :P No permissions to place, no permissions to buy?
Sorry for the late reply you both, but I haven't been able to be very active recently.
@erdrickk
As long as ProtectionStones work, my plugin will work too (as it is, it should work fine in Spigot 1.8). But keep in mind ProtectionStones is not compatible with WorldGuard 6 yet. Right now I'm coding a Standalone plugin which will work like this one.
@umbreon17
That is really odd could you show me your plugin list and a stacktrace (in case there is one).
so this is good to use with Spigot 1.8?
Ok, um.. I have the plugin in but I cant make shops? I'm using CB 1.7.10 so I know the plugin does work. Just the creation of shops does not. I tried making the Sign look the same as the snapshot but i get this:
[ProtectShop] 11 x 11 x 11 $100 Stone (All as normal text on the sign) Snapshot provided to show what I'm saying.
@XXLuigiMario
It was a bug, and it got fixed, the plugin should work as normal. https://hub.spigotmc.org/jira/browse/SPIGOT-6
The plugin broke with Spigot 1.8, I'll post a fix if Spigot doesn't fix this bug soon. http://www.spigotmc.org/threads/signchangeevent-extra-data-from-getlines.36639/
@Pantherita
Awesome! :D If you have any other suggestions, feel free to tell me about them ;)
Wow, thanks for the update! :D now this plugin it's close to be prrfect P.S: I'll make a video in spanish about the use of this plugin, many people will find this useful :)
@vampireofh8
Alright! Fixed (and cleaned up the code) ;)
I'm going to upload an update for the plugin.
EDIT: Oh! And don't forget to remove the config or add the new option "Reusable" to the config or it will be disabled by default.
@Pantherita
Thanks for your support :D
@vampireofh8
I'll try to fix that, thanks for your suggestion! ;)
@XXLuigiMario
Thank you bro! Great addon btw :)
Just installed this plugin I was hoping for something like this thank you for releasing it! I do have one question though is it not possible to allow players to get the block back when they break it? I'd imagine that if you made it check the size of the region and the block type that was broken you could make it reappear in the players inventory as the same block they purchased again. with the lore and all. But as it the plugin works great thank you again.
@Pantherita
Sorry, I forgot to put a screenshot.
Updated the page.