Claim Commands
Claim Commands provides more control over Grief Prevention claims by allowing players to set flags on them.
I was originally making this plugin for my server in my spare time and found a request on the Bukkit forums with some more ideas here so thought I would add those in as well.
* URGENT UPDATE NEEDED *
I just found out that /CC PVP also disabled Player damage from monsters. People are making mob grinders and traps with no danger to themselves. Could you please change it to /cc pvp only stops PLAYER vs PLAYER damage?
Thanks, i like the plugin but i have to disable it until its fixed.
@ManBeastPigDev
It's sqlite by default.
Do i actually need to setup an sql Db to run this? I like the sound of it but i am maxed out on plugins already.
can i change the sql database from mysql to sqllite and skip making another sql database? I want this plugin but i dont want to make sql databases (proper ones i mean) sql lite would be perfect.
ClaimControl v1.04b
A new version has been uploaded.
Subdivisions are broken in Grief Prevention 7.7 because they don't get a claim id. This release of ClaimControl will make subdivisions use the parent claim id to prevent errors. Once a new version of Grief Prevention is released with the fix I sent them then I will release another version of ClaimControl that will use subdivisions separately again, or you can downgrade back to 1.03b.
@LeeTheENTP
Ok this is a problem with Grief Prevention 7.7. Subdivisions aren't getting a claim id.
I fixed it in Grief Prevention and will send it to them.
@LeeTheENTP
I will fix that.
The plugin works for regular claims, however it has trouble getting claim IDs for subdivisions and spazzes out in the console.
@ryvix
I just upgraded to the latest (7.7 I believe) when I updated to CB R0.2.
I'll check out the new verison as well :).
@LeeTheENTP
I uploaded a new version which might fix the issue with any luck:
v1.03b
@LeeTheENTP
Hmm, which version of Grief Prevention are you using?
@ryvix
Here you go:
http://pastebin.com/embed_js.php?i=NwDcudyQ
@LeeTheENTP
SQLite should be automatically setup. MySQL requires a MySQL server though and if you haven't a clue how to do that it might be best that you don't try it. Are you getting any errors? If so can you pastebin them?
@ryvix
How do you set up the mySQL/SQLite database? I'm new to SQL in general and I think my failure to set it up properly is preventing the plugin from functioning.
@smallpen
I suppose that could be possible. I didn't test with WorldGuard. Though I did test with Towny. It's odd though that it would detect that line in the code having a null value considering I put a null check right there. So it makes no sense.
@ryvix
My Server only have one world , and install many plugins. I try to rebuild new server that only have Grief Prevention , ClaimControl and SQLibrary , everything work fine.
So I guess that maybe some plugin cause this issue.
Is possible WorldGuard plugin ?
@smallpen
Thanks for the info. I still can't reproduce it though. If you are able to tell me every single step from the basic setup I explained then I can reproduce it and fix the problem.
Do you happen to have any worlds where Grief Prevention isn't enabled? I wonder if it's even possible to have a claim in a world where Grief Prevention is disabled.
I added some checks to make sure Grief Prevention is enabled in the world which maybe could help. And I am adding a way to track that the entities are removed before trying to remove them again.
@ryvix
I use V7.7 Grief Prevention , and use default settings.
When I type "/cc monsters" to deny monster spawn, sometimes will happen this exception . I guess maybe another plugin effect ClaimControl plugin.
@smallpen
Hmm, that's odd considering there is a null check right there. What version of Grief Prevention are you using? Have you changed any settings? What commands did you run? I don't know how to reproduce this. I download CB, place the latest Grief Prevention, SQLibrary and ClaimControl into the plugins folder and run it and everything is perfectly fine with no errors. How can I reproduce this from there? If you could create a ticket it may help a little. Thanks!
I use CB 1.5.1-R0.2 . When I start server , this exception happen again and again.
There is a new version available that adds some missing sub-permissions for claimcontrol.player and adds a config option for default_flags so you can control the defaults. I believe they should be now defaulted as if before the plugin existed so players dont get mad and leave the server because they dont read.