WeedPlugin

About
The Weed plugin allows you to smoke weed in minecraft. It adds four new kinds of weed you can smoke. To smoke just throw the weed into fire :D But there's also another way to smoke: You just need flint and steel in your inventory. Then right click with the weed in your hand, done!
Sure, you can make your own weed if you want. All is configurable in the config. :)
Have fun!
Weed Reloaded
There's also a newer, better and much more realistic version of WeedPlugin. Check it out at http://dev.bukkit.org/bukkit-plugins/weed-reloaded-by-bubbleguj/.
How to craft
All kinds of weed are crafted like this. The LONG_GRASS is always included in the recipies! The other item is configurable and can be found in the config!
Four kinds of weed are default. Silverhaze, Lemonhaze, Afghan Hash and Northern Lights. In the config stands how to craft them! ;)

As you can see, the properties and strongness is showen. To smoke the weed, throw it into fire! There'll be some smoke and you'll get high :D
IMPORTANT: There's a 0.5% chance that you'll die after smoking weed!
(but this can be disabled in the config)
Commands and permissions
The permission for smoking weed is always: weed.WEEDNAME
The weedname can be found in the config. It's not the displayed item name!
There's one command /weedreload which just reloads the config. Permission: weed.reload
Configuration
Here's a review of the configuration file:
# _ _ _ ______ _ _ ______ _______ # | | | | | | | ___ \ | (_) / ___ \ ( __ ) # | | | | ___ ___ __| |____| |_/ / |_ _ __ _ _ _ __ \/ \ \ | ( ) | # | |/\| |/ _ \/ _ \/ _` |____| __/| | | | |/ _` | | '_ \ ___) / | | / | # \ /\ / __/ __/ (_| | | | | | |_| | (_| | | | | | (___ ( | (/ /) | # \/ \/ \___|\___|\__,_| \_| |_|\__,_|\__, |_|_| |_| ) \ | / | | # __/ | /\___/ / _ | (__) | # |___/ \______/ (_)(_______) # Weed plugin by bubbleguj # Copyright 2013 - WeedPlugin # Don't steal any of my code # And, have fun :D # Start of the Configuration... Options: # Should there be a 1% chance to die when smoking weed? DeathChance: true Weeds: # The inofficial name of the weed. Write all with small letters and with no spaces! # Also this name will be the permission node, like weed.northernlights silverhaze: # This is the name of the weed, which will be displayed, when holding it in your hand Name: Silverhaze # This is the ID of the item with which the weed should be craftable. ALWAYS: long_grass + your_item # To use subid's, type for example: 351,3 CraftItem: 351,15 # This will be displayed as description while holding the weed in your hand Description: Weightlessness, Nervousness # This strenght will be displayed under the description. Please use one of the following words: Weak, Medium, Strong Strenght: Medium # Here you can add Effects. Use this list to write the effects right: http://jd.bukkit.org/rb/apidocs/org/bukkit/potion/PotionEffectType.html # The first number is the strength of the effect. This can be found here: http://www.minecraftwiki.net/wiki/Potions # For example, the effect SLOW has the following strengths: SLOW (1:30 min) , SLOW I (4:00 min) and SLOW II (reverted, 1:30 min) # The second number is the time in seconds, after which the effect should start. With this option you can start an effect after an configurable time # So the effects can be started postponed! # The third number is the time in seconds, how long the effect should hold on. Effects: # To add more effects just follow this pattern: # For example: # - BLINDNESS, 2, 20, 30 # This would add the effect blindness for 30 sec. after 20 seconds with the strenght of 2 # Go on! ;) - JUMP, 2, 10, 20 - NIGHT_VISION, 0, 0, 30 - CONFUSION, 1, 5, 5 # Some other drugs :D lemonhaze: Name: Lemonhaze CraftItem: 351,10 Description: Fast, Bewildering Strenght: Strong Effects: - NIGHT_VISION, 0, 0, 10 - SPEED, 2, 0, 60 - CONFUSION, 2, 20, 10 - DAMAGE_RESISTANCE, 0, 10, 5 northernlights: Name: Northern Lights CraftItem: 351,11 Description: Uplifting, Appetizing Strenght: Medium Effects: - NIGHT_VISION, 0, 0, 10 - SPEED, 2, 0, 25 - HEAL, 1, 5, 7 - HUNGER, 2, 20, 10 - CONFUSION, 0, 25, 5 - POISON, 1, 25, 5 afghanhash: Name: Afghan Hash CraftItem: 351 Description: Relaxing, Analgetic Strenght: Strong Effects: - REGENERATION, 0, 30, 30 - SLOW, 1, 10, 30 - SLOW_DIGGING, 2, 0, 60 - WATER_BREATHING, 1, 10, 40 - WEAKNESS, 0, 20, 10 - INVISIBILITY, 0, 50, 10
-
View User Profile
-
Send Message
Posted Mar 21, 2013@AttaWishes
No in the moment you can only craft the weed. But maybe i'll add a special give command ;)
@Mhjort
I don't think this is a good idea, everyone should smoke how often and when he wants..
-
View User Profile
-
Send Message
Posted Mar 20, 2013Hi, i find up to now no way to "give" me the weed without crafting. did i make something wrong?
31:1:1 31:1 31 1 1 31:1 1 no ID work.
-
View User Profile
-
Send Message
Posted Mar 20, 2013no problem hahaha try: give playername 31 1 1
-
View User Profile
-
Send Message
Posted Mar 19, 2013@bubbleguj
Yeah I already tried it just gives me shrub everytime. I was thinking it maybe because I don't have essentials or commandbook, running vanilla pretty much. Anyways thanks for the help, I guess I'll see if toomanyitems will work spawning them in.
-
View User Profile
-
Send Message
Posted Mar 19, 2013lol why u cant? try 31:0, 31:1 and 31:3 otherways u have to cut the grass..
-
View User Profile
-
Send Message
Posted Mar 19, 2013Huge noob question, but why is it when I spawn myself long grass, i get shrub. I can't spawn 31:1.
-
View User Profile
-
Send Message
Posted Mar 19, 2013Thanks !
I'm going to put it in my server right now !
-
View User Profile
-
Send Message
Posted Mar 19, 2013It would be nice if there was a way to limit smoking weed. Etc a timer so people could only smoke it every 5 minutes.
-
View User Profile
-
Send Message
Posted Mar 18, 2013@RavenholmZombie
Sorry can't show up the error in the source, I'm currently working on a new version.. release: 19.03.2013, so, you may download it tomorrow ;)
Edit Updated 2 minutes ago :)
-
View User Profile
-
Send Message
Posted Mar 18, 2013The plugin keeps crashing for me (Bukkit 1.5.0)
2013-03-18 14:59:13 [SEVERE] Could not pass event EntityCombustEvent to Weed v1.0<br /> org.bukkit.event.EventException<br /> at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)<br /> at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)<br /> at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)<br /> at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)<br /> at net.minecraft.server.v1_5_R1.Entity.move(Entity.java:711)<br /> at net.minecraft.server.v1_5_R1.EntityItem.l_(EntityItem.java:69)<br /> at net.minecraft.server.v1_5_R1.World.entityJoinedWorld(World.java:1356)<br /> at net.minecraft.server.v1_5_R1.WorldServer.entityJoinedWorld(WorldServer.java:596)<br /> at net.minecraft.server.v1_5_R1.World.playerJoinedWorld(World.java:1337)<br /> at net.minecraft.server.v1_5_R1.World.tickEntities(World.java:1225)<br /> at net.minecraft.server.v1_5_R1.WorldServer.tickEntities(WorldServer.java:462)<br /> at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:562)<br /> at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:225)<br /> at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:476)<br /> at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:409)<br /> at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573)<br /> Caused by: java.lang.IllegalArgumentException: Cannot measure distance between games and world<br /> at org.bukkit.Location.distanceSquared(Location.java:381)<br /> at org.bukkit.Location.distance(Location.java:364)<br /> at me.bubbleguj.weed.WeedListener.onEntityBurn(WeedListener.java:142)<br /> at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br /> at java.lang.reflect.Method.invoke(Method.java:601)<br /> at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)<br /> ... 15 more<br />
-
View User Profile
-
Send Message
Posted Mar 18, 2013@dantepost
Thx haha :D
-
View User Profile
-
Send Message
Posted Mar 17, 2013thanks ! i love this plugin i'll give u as much credit as i can in my server :D
-
View User Profile
-
Send Message
Posted Mar 17, 2013@QBcrusher
With the new update, all will be configurable ;)
@dantepost
Hahaha, thx hahah :D New update will add a lot of new features! ;)
@Ikiou
for what? :D
Here's a litte preview of the new version and its config ;)
-
View User Profile
-
Send Message
Posted Mar 17, 2013@bubbleguj
Thankx
-
View User Profile
-
Send Message
Posted Mar 17, 2013Thanks bubble !
Ur my Hero !
and Qbcrusher ? what is wrong with you? this is one of the best plugins ever made ! and it's a great idea of the 1% die Option.. if u dont like this plugin make ur own weed plugin,
-
View User Profile
-
Send Message
Posted Mar 17, 2013No, take away 1% chance to die. Nobody has ever died smoking weed bro.
-
View User Profile
-
Send Message
Posted Mar 17, 2013yes. today or tomorrow i'll add the posibility to make own dr ugs! ;)
-
View User Profile
-
Send Message
Posted Mar 16, 2013I LOVE this Plugin ! only.. can you make a way to change the names of the drugs, and the sentence underneath the name? like a config file?
but again i love it !
-
View User Profile
-
Send Message
Posted Mar 15, 2013@LatzeH
Yes, il'll add it :)
-
View User Profile
-
Send Message
Posted Mar 15, 2013Awesome! Could you maybe give it a permission node? I really want this as a donation perk :D