PotionProtection
Potion Protection by aciid.
Potion Protection gives players an easy way to create worldguard regions
simply by throwing a potion.

Plugin Update Notifications
Please subscribe to File Updates to be emailed ASAP (before bukkit approval)
Required Dependencies
Features:
PotionProtection allows you to assign cuboid shaped WorldGuard regions (configurable height) to any potion so that when that potion is thrown by a player, a WorldGuard region is automatically created at the impact location. You can define the size of the region, the potion to use, and with permissions you can limit the maximum amount of potion regions players can create in each world, and with what potions, you can add automatic worldguard flags, spawn a fence or border around the region, and more!
- Multiworld
- Custom maximum amount of region permissions
- Configurable potion and region size
- Directly uses WorldGuard's and WorldEdit's API
- Automatic WorldGuard flags for newly created regions
- Configurable region fence/borders
- Option to charge players for creating fence/borders
- Teleport to regions and/or use teleport flag with permission
- + more
When configured properly this plugin will not interfere with gameplay because there are a handful of unused potions which PotionProtection can be set to use (these potions can not be crafted by players and have no effect ingame).
How to use Potion Protection:
Commands & Permissions
Configuration
config.yml
fence.yml
worlds.yml
flags.yml
Stop players building without a region
To stop players from building in a world unless they are inside a region you must
use a __global__ region. This is a region that spans accross an entire world.
To set the global build flag, login to the world and type the following in-game:
/region flag __global__ build deny
Note the double under_scores.
This will add the __global__ region to your WorldGuard/worlds/world/regions.yml
Please report any bugs!
Please report any bugs/issues, explaining what you were trying to do, what happened, and include all error messages!
-
View User Profile
-
Send Message
Posted Jan 4, 2013Yeah I have done all that but it still says it.
-
View User Profile
-
Send Message
Posted Jan 4, 2013@seiterseiter
Make sure the permission with the correct amount is listed in the config and that the player has that permission.
-
View User Profile
-
Send Message
Posted Jan 4, 2013Im getting a problem where no one can protect when they throw the potion it says you have reached the region limit.
-
View User Profile
-
Send Message
Posted Jan 2, 2013@TheSpaceBetween
Thanks :) no worries it'll be kept up to date since I use it on our server.
-
View User Profile
-
Send Message
Posted Jan 2, 2013Great plugin, just what I was looking for. Keep updating, fixing bugs, and improving and I'll bet you have lots more downloads.
-
View User Profile
-
Send Message
Posted Dec 28, 2012@leimekiller68
Hi could you please edit your posts and upload the error to http://pastebin.com ;)
Also please include what you did, any commands used, what should have happened, plugin and server versions, etc.
-
View User Profile
-
Send Message
Posted Dec 28, 2012@leimekiller68 Oops, I noticed that it didnt include the whole error, so this is the whole: I get this error when i'm throwing a potion.
[SEVERE] Could not pass event ProjectileHitEvent to PotionProtection v0.4b org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_4_6.EntityProjectile.j_(EntityProjectile.java:162) at net.minecraft.server.v1_4_6.World.entityJoinedWorld(World.java:1334) at net.minecraft.server.v1_4_6.WorldServer.entityJoinedWorld(WorldServer.java:546) at net.minecraft.server.v1_4_6.World.playerJoinedWorld(World.java:1315) at net.minecraft.server.v1_4_6.World.tickEntities(World.java:1193) at net.minecraft.server.v1_4_6.WorldServer.tickEntities(WorldServer.java:443) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NullPointerException at com.ballzofsteel.PotionProtection.PPFenceBorder.isNumeric(PPFenceBorder.java:298) at com.ballzofsteel.PotionProtection.PPFenceBorder.getHeight(PPFenceBorder.java:133) at com.ballzofsteel.PotionProtection.PPListeners.onProjectileHit(PPListeners.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 14 more
-
View User Profile
-
Send Message
Posted Dec 28, 2012I got this error:
org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 28.12 09:52:14 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601) 28.12 09:52:14 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 28.12 09:52:14 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 28.12 09:52:14 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 28.12 09:52:14 [Server] INFO at com.ballzofsteel.PotionProtection.PPListeners.onProjectileHit(PPListeners.java:62) 28.12 09:52:14 [Server] INFO at com.ballzofsteel.PotionProtection.PPFenceBorder.getHeight(PPFenceBorder.java:133) 28.12 09:52:14 [Server] INFO at com.ballzofsteel.PotionProtection.PPFenceBorder.isNumeric(PPFenceBorder.java:298) 28.12 09:52:14 [Server] INFO Caused by: java.lang.NullPointerException 28.12 09:52:14 [Server] INFO at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) 28.12 09:52:14 [Server] INFO at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) 28.12 09:52:14 [Server] INFO at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) 28.12 09:52:14 [Server] INFO at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) 28.12 09:52:14 [Server] INFO at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:580) 28.12 09:52:14 [Server] INFO at net.minecraft.server.v1_4_6.WorldServer.tickEntities(WorldServer.java:443) 28.12 09:52:14 [Server] INFO at net.minecraft.server.v1_4_6.World.tickEntities(World.java:1193) 28.12 09:52:14 [Server] INFO at net.minecraft.server.v1_4_6.World.playerJoinedWorld(World.java:1315) 28.12 09:52:14 [Server] INFO at net.minecraft.server.v1_4_6.WorldServer.entityJoinedWorld(WorldServer.java:546) 28.12 09:52:14 [Server] INFO at net.minecraft.server.v1_4_6.World.entityJoinedWorld(World.java:1334) 28.12 09:52:14 [Server] INFO at net.minecraft.server.v1_4_6.EntityProjectile.j_(EntityProjectile.java:162) 28.12 09:52:14 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 28.12 09:52:14 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 28.12 09:52:14 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 28.12 09:52:14 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 28.12 09:52:14 [Server] INFO org.bukkit.event.EventException
-
View User Profile
-
Send Message
Posted Dec 24, 2012New 0.4b bugfixes download here: http://dev.bukkit.org/server-mods/potionprotectionbyaciid/files/10
Most commands should now be working, I hope I've removed most debug messages. Please let me know if anything is left behind or you're having issues with any part of the plugin.
-
View User Profile
-
Send Message
Posted Dec 22, 2012@amkiller
you can't craft any of the potions on the list you have to spawn them in game.
EG. /give player 373:potionID
or use /pp pot command
-
View User Profile
-
Send Message
Posted Dec 22, 2012how can we make clear splash potions??? i wanna use your plugin but i cannot get the splash potions...
-
View User Profile
-
Send Message
Posted Dec 21, 2012Uploaded update for 1.4.6 compatibility and some derp fixes
http://dev.bukkit.org/server-mods/potionprotectionbyaciid/files/9
-
View User Profile
-
Send Message
Posted Dec 20, 2012@Borlea
Yes I did ;)
-
View User Profile
-
Send Message
Posted Dec 19, 2012Great Name. & I see you posted on alot of potionprotect plugin requests or to update the original that you created one.
-
View User Profile
-
Send Message
Posted Dec 12, 2012@Adrenalineq
Actually that plugin was created a while before mine, I tried it for a few days but ended up coding my own version because it was really buggy and didn't use worldguard's api or many features. Months later I recoded my version because it was hardcoded for our server making it much more configurable and only using wg/we api for features.
-
View User Profile
-
Send Message
Posted Dec 12, 2012@StuckingFoned
mhm someone create a copy your plugin D:http://dev.bukkit.org/server-mods/potionprotection/
-
View User Profile
-
Send Message
Posted Dec 9, 2012@Adrenalineq
Updated: http://dev.bukkit.org/server-mods/potionprotectionbyaciid/files/5
Requires regenerating configs (delete config & restart server)
Also some features using worldedit (possibly also worldguard) are broken since the new Bukkit API changes. Please use CB build 2499 or earlier!
-
View User Profile
-
Send Message
Posted Dec 9, 2012@Adrenalineq
Sorry but in my opinion that is beyond the scope of this plugin, I don't see much use in the feature personally.
-
View User Profile
-
Send Message
Posted Dec 9, 2012@StuckingFoned
Maybe add feature to automatic check size for region? for peoples which have regions with fence frame?.
-
View User Profile
-
Send Message
Posted Dec 9, 2012@Adrenalineq
'impact' is what I was already using.
Next version I will redo the commands so hopefully there will be much more detailed output when a command fails.
@Adrenalineq
Thanks confirmed & will be fixed next update.