Fixed Auto flags and added polygonal regions in claim command. Also removed sources from jar
Details:
- Added version substitute from build.gradle to plugin.yml
- Remove sources (java) from jar
cleantask now also cleanstargetdir- Use fake actor to add auto flags to region in claim command (Issue: #22)
- Added the ability to claim polygonal regions who have permission "worldguard.region.unlimited" (as WorldGuard does)
- Sources must stay in jar. That's the most correct way of upholding the GPL license terms.
- The reason why real actor was implemented is to make actor-aware flags work. So using fully fake actor is not an option, a an actor wrapper must be made, that passes everything to real actor with the exception of permission checks.
- Use
filesMatching('plugin.yml') { expand 'version': project.version }to substitute version
The reason why real actor was implemented is to make actor-aware flags work. So using fully fake actor is not an option, a an actor wrapper must be made, that passes everything to real actor with the exception of permission checks.
"actor-aware flags" - I am not sure I understand this right. =\ Can you give me please the example of such "actor-aware" flag?
Hmm...
As I understood, WorldGuard uses actor only to check permission and send him the message about the added flag. All I wanted to do was remove the permission check and suppress sending a message to the player about the added flag. Suppressing the message - because the original command was /rg claim ... and not /rg flag ....