Closed idoash4 closed 9 years ago
so how does this change work? do we exclude specific chests from coal costs?
On Sun, May 24, 2015 at 9:13 AM BlackXnt notifications@github.com wrote:
So this is my first big change I hope this is right. I didn't test it so
there are probably a few bugs.
You can view, comment on, or merge this pull request online at:
https://github.com/Civcraft/PrisonPearl/pull/47 Commit Summary
- Adding World Border Manager
- Commands
- Changing file name
File Changes
- M plugin.yml https://github.com/Civcraft/PrisonPearl/pull/47/files#diff-0 (4)
- M src/com/untamedears/PrisonPearl/PrisonPearlCommands.java https://github.com/Civcraft/PrisonPearl/pull/47/files#diff-1 (29)
- M src/com/untamedears/PrisonPearl/PrisonPearlPlugin.java https://github.com/Civcraft/PrisonPearl/pull/47/files#diff-2 (28)
- M src/com/untamedears/PrisonPearl/PrisonPearlStorage.java https://github.com/Civcraft/PrisonPearl/pull/47/files#diff-3 (2)
- A src/com/untamedears/PrisonPearl/managers/WorldBorderManager.java https://github.com/Civcraft/PrisonPearl/pull/47/files#diff-4 (152)
Patch Links:
- https://github.com/Civcraft/PrisonPearl/pull/47.patch
- https://github.com/Civcraft/PrisonPearl/pull/47.diff
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/PrisonPearl/pull/47.
You have a file with a list of all the locations(cords) that the plugin will not release the pearls in them if they are outside of world border. Pearls can still be freed if there isn't coal in the chest. I even added a command to easily add a new location to the file: /ppwb add/remove x y z
That sounds about right. I will let others review. Thanks!
On Sun, May 24, 2015, 10:19 AM BlackXnt notifications@github.com wrote:
You have a file with a list of all the locations(cords) that the plugin will not release the pearls in them if they are outside of world border. Pearls can still be freed if there isn't coal in the chest. I even added a command to easily add new location to the file: /ppwb add/remove x y z
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/PrisonPearl/pull/47#issuecomment-105026242.
bump for review.
On Sun, May 24, 2015 at 2:36 PM justin kilpatrick < kilpatrickjustin@gmail.com> wrote:
That sounds about right. I will let others review. Thanks!
On Sun, May 24, 2015, 10:19 AM BlackXnt notifications@github.com wrote:
You have a file with a list of all the locations(cords) that the plugin will not release the pearls in them if they are outside of world border. Pearls can still be freed if there isn't coal in the chest. I even added a command to easily add new location to the file: /ppwb add/remove x y z
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/PrisonPearl/pull/47#issuecomment-105026242.
Can one of the admins verify this patch? Type 'ok to test' to test.
Did a bit of a code review. I don't think this will compile as written, but in general the thrust of the code appears consistent with intent. Lots of cleanup, code style, and best practice changes; I tried to comment on each place I noted.
Thanks! I will go over everything and commit all the changes.
This should be good now. I managed to build the plugin on my pc and to run a few tests. Best way to add a new chest to the whitelist is to stand on it and type /ppwb add. Thank you @ProgrammerDan for helping me out on this.
merged, will this update the config?
The config Xnt included has the new options with defaults specified, if that's what you mean?
Yes thats fine. But why would there be any default excluded chests? I just wanted an example.
On Wed, May 27, 2015, 12:43 AM Daniel Boston notifications@github.com wrote:
The config Xnt included has the new options with defaults specified, if that's what you mean?
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/PrisonPearl/pull/47#issuecomment-105763822.
Not sure what are you both talking about. When you run the plugin it will automatically generate a new empty text file that will save all the cords for the whitelisted chests. If you are talking about a config option to enable the feature I didn't add a new one. The feature will work if freeOutsideWorldBorder set to true.
Yep, my bad Xnt; you have added new configuration options but they are specifically and only related to permission to use the new Commands. I'm not sure what TTK is talking about either.
well I was just looking for if the new file generated or not.
On Wed, May 27, 2015 at 6:03 PM Daniel Boston notifications@github.com wrote:
Yep, my bad Xnt; you have added new configuration options but they are specifically and only related to permission to use the new Commands. I'm not sure what TTK is talking about either.
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/PrisonPearl/pull/47#issuecomment-106104376.
So this is my first big change I hope this is right. I didn't test it so there are probably a few bugs.