TaxFreeRegion
TaxFreeRegion
Description
Note: At the moment I do not have that much time to maintain TaxFreeRegion (and I stopped using Bukkit). I will try to provide compatibility updates - but I can't promise you that updates will be available the day after a new release of Bukkit.
TaxFreeRegion enables you to define regions where a user who enters that region gets different permissions. You can black- and whiltelist specific commands (not only basic commands - the black-/whiltelist checks the whole command with all parameters). Additionally you can control what the plugin does when a player enters or leaves a region (execute commands, change the inventory, ...). The plugin also offers certain protection options which ensure that a player cannot abuse extended rights which he got inside the region.
Uses for this plugin:
- Creative-area on survival server
- PvP Area
- Adventure area
- Create an area with different permissions
- Create a regeneration area
- Create a shopping area
- ...
Video
(this video is from the old version 0.2)
Features
- Define multiple independent regions with multi-world support;
- Manipulate inventory, health, hunger and XP when a player enters/leaves a region (save and clear, do nothing, restore the saved, ...)
- Inventory reward system: Enter a region -> inventory is saved and cleared. Leave the region -> You get your old inventory back AND you have access to all items you collected inside the region.
- Give regions a name and welcome users that enter those regions.
- Define regions with WorldEdit or use existing WorldGuard regions.
- Server restart proof, you won't loose your inventory if you disconnect or the server restarts;
- Define permissions that will be applied to a player when he enters the region.
- Blacklist and whitelist commands.
- Configure protections for every region to prevent players from transporting items across the border.
- Run commands (instant or delayed) when a player enters/leaves a region.
Dependencies
- WorldEdit 5.5.7
- WorldGuard 5.8 (optional)
Installation
- Download the JAR file and put it in the plugins folder
- Make sure you have WorldEdit and that it is enabled
- Restart the server.
Credits
- adreide (idea, version 0.1 and 0.2, see: TaxFreeRegion 0.2 - Bukkit Forums)
- tickleman (version 0.3, see:TaxFreeRegion 0.3 - Bukkit Forums)
- lishid (used some code from his plugin "OpenInv" to create the "inventory reward" feature, OpenInv on BukkitDev )
Source
https://github.com/fruel/TaxFreeRegion
@lfrist05:
TaxFreeRegion 1.1.1 BETA
Tested with CB 1.1-R3 and CB 1.1-R4 - same error
I'd like to say thank you for creating such a beautiful plugin. I had yet to find a plugin that could manage player inventories while working with regions. Again, thank you!
@Anonymous777
TaxFreeRegion 1.1.1?
CB 1.1-R4/R5/R6 or 1.2-R0 ?
hm i become a error on start:
2012-03-01 15:55:37 [SEVERE] Could not load 'plugins\TaxFreeRegion.jar' in folder 'plugins': java.lang.NoSuchMethodError: com.creadri.util.Messages: method <init>()V not found at com.creadri.taxfreeregion.TaxFreeRegion.<clinit>(TaxFreeRegion.java:58) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:286) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:201) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:164) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:140) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
@lfrst05
Thanks alot works great!
@lme999
I fyou want to change the gamemode use this:
I can't figure out how to make it so when players enter an area they go into creative? Do I use worldedit/guard flags?
@elving21
I created a Ticked based on your report. Ticket: Enchantments are not restored
Please use the comments on the Ticket page for discussion about this bug. Could you please send me a list of your plugins and the full error message?
@lfrst05
I mean walk into a region, in server log it spaming this
@elving21
"When player join to some region" - do you mean "walk into a region" or "join the server and spawn in a region"?
I tried different things but I can't reproduce your bug. I copied your configuration (changed only the coordinates and the world) then i walked into the reiong - inventory gets cleared. When I leave the inventory gets restored - with all enchantments. I tested it with Armor, Pickaxe and Sword.
Do you have any other plugins installed that could cause this error?
@lfrst05
Version - 1.1 Beta Regions.yml
When player join to some region plugin strip his items but when plugin give it back enchants missing My CB version is R-4 1.1
@elving21
I cannot reproduce your bug. Enchantments should be supported. Please send me your regions.yml + TaxFreeRegion version + CB version + a more detailed description.
hmm why enchant deleting when you get you items back??
@gv1222
the "ETA" question...
Planned: when Bukkit for Minecraft 1.2 is out (at least the Beta) [see in the "Future Plans" section in the page above]
Probably earlier, probably later.
@lfrst05
Ok thanks, I guess I will have to wait before I can use this plugin. Do you have any idea when 1.2 will be released?
@gv1222
Yes, Anonymous777 is right - this is normal.
Logging out is handled as "leaving the region" - this is because otherwise offline-authentication plugins (like xAuth) mess up the inventory.
So the basic problem is that leaving the region causes the inventory to be cleared and replaced with the old one (if inventory is set to "store+restore" in the config).
I have planned to extend the inventory management features in version 1.2. Part of this will be a mode which allows multiple independent inventories (default inventory, region1 inventory, region2 inventory,...).
@gv1222:
I think its normal because a login is a new entry in the region.
@lfrst05
I seem to be having some trouble with inventories, every time a player logs out inside a TaxFreeRegion there inventory gets wiped, When the player logs back in they get a "welcome to the factory" message with a cleared inventory, Leaving and joining still seem to work. Here is my config if needed (I'm using world guard regions for it): http://pastebin.com/JebPKqDk
thank you !!! :)
Version 1.1 is out. Waiting for approval. To direct-download the release go to the "releases" folder on the SVN repo (here)
You can see the changelog when the file has been approved on BukkitDev. Make sure to check out the tutorial on how to create regions (Create regions) because the format of the configuration file has changed a little bit.
Old configuration files will be converted automatically to the new format.