DrugMod
DrugMod is compatible 1.2.5
Current version: v4
This plugin allows players on your server to use a configurable item as types of drug. The duration is also customizable. All effects are completely randomized. If you have a role-playing server this would work great as this would allow you to have people role-play dealing or doing drugs (given sugar similarities to drugs).
To Do:
- Add an addiction function that changes the effects of the drug. (Planned to be added eventually)
- Add configurable effects and allow food items to be used (will be in v4)
Usage: Right click while holding sugar (not sugar cane, the product of sugar cane)
Commands: /dm - gives information about the current state of the plugin.
Permissions None.
Change Log
- 18/03/12 - v3.1 Fixed an issue that caused errors to pop up on console.
- 16/03/12 - v3 Added configurable drugs and drug duration Added an additional drug Fixed the cure for blindness Added command (/dm) which gives info about the current state of the plugin.
- 09/03/12 - v1: Released
- 11/03/12 - v2: Added cures for the effects and effects only happen when you right click with sugar.
Link to the post on the bukkit forums: http://forums.bukkit.org/threads/fun-drugmod-v4-potion-effects-unknown-1-2-5-r3-0.64271/
-
View User Profile
-
Send Message
Posted Mar 21, 2012@subflame11
I can work on that. Custom drug effects are possible and same with food. Food will take a bit of work but I'll try
-
View User Profile
-
Send Message
Posted Mar 21, 2012Would love if you added choosable effects to the custom drug types. and maybe add something to let current food have a chosen effect?
-
View User Profile
-
Send Message
Posted Mar 20, 2012@ludo0777
I did add other ones for the clay ball which is the second drug type. Both drug types are customizable as well as the duration of the effects. Confusion was added to the clay balls :)
-
View User Profile
-
Send Message
Posted Mar 19, 2012Why you no add other potion effects? Everyone loves upside down and confusion :P
-
View User Profile
-
Send Message
Posted Mar 18, 2012@Giudf45
It does appear to work fine, no gameplay problems, the effects work, and everything. I have a pastebin of the logs that I will PM you.
-
View User Profile
-
Send Message
Posted Mar 18, 2012@ezbik
I tested it in both creative and survival and they both seem to work. This doesn't seem like the first time this has happened because a plugin I'm developing is giving me errors when loading up and the code seems fine. I'm not sure if it's the API that's buggy or what. Well the first part it seems that it does not want to give the event to DrugMod. Then I noticed it the error it gives the line 89. I'm looking in my code and it's the if statement. I checked on my test server and it behaves like it should and no errors. I can't say it's your server because mine doesn't have any other users just me and my plugins. But the fact that it gives you different errors everytime is odd. It's as though the server is picking different things that seem wrong.
But you said that it works even with the errors it's giving you?
EDIT: I'll have some of my fellow plugin developers look over this with me. Hopefully I can find a solution and patch it. Sorry for the trouble :)
-
View User Profile
-
Send Message
Posted Mar 17, 2012@ezbik
Tried it with the beta R0.2, with DrugModv3 but same error:
I was in creative mode at the time, could that of caused it? It still doesn't appear to cause any trouble game play wise, and seems to work, just spams up the console logs.
Plugins: AdminCMD, Otherdrops (nothing configured for sugar, its default), Allow-lockpicking (not set to sugar), ElectricFence, Teslacoils, xTeam, and a few others, but they shouldn't be affecting it. No other plugins use sugar, was part of the reason I got this one, and it was requested by a few people :)
EDIT: I noticed that actually, its giving different errors, but they look similar. I could PM you the full server logs if needed.
-
View User Profile
-
Send Message
Posted Mar 17, 2012@Giudf45
It was running the dev R0.3 version, but I went back to beta R0.2. No other plugins on there that I know of use the sugar, but let me try it again on R0.2 and let ya know!
-
View User Profile
-
Send Message
Posted Mar 16, 2012@ezbik
What version is your server running? I tested it on my test server and it seemed okay. This may seem stupid but, are there any other plugins that you are using that use sugar?
Edit: I just released v3 if you want to give that a shot.
-
View User Profile
-
Send Message
Posted Mar 16, 2012Getting this error, but no one has used sugar yet:
-
View User Profile
-
Send Message
Posted Mar 12, 2012awesome :)
-
View User Profile
-
Send Message
Posted Mar 12, 2012@DarkWiiPlayer
Looking at the video I found of MCSpirit, you could say it's like that. Only instead of a command to get the effect, you use an item. Plus mine has 6 effects at the moment which are set to occur at random when the "drug" is taken.
-
View User Profile
-
Send Message
Posted Mar 12, 2012Is this like MCSpirit? Because that plugin was awesome!