CrazyPromoter
Version 2.12
Description
Promote Players after a certain time if they are in a special group. Condition Tree for finding matching players and simple view.
Features
- Fully costumizeable condition tree. With predefined datastructures.
Availiable:- Condition_TRUE, Condition_FALSE, Condition_NOT, Condition_AND, Condition_OR,
ConditionPlayerPermission, ConditionPlayerPermissionGroup - Conditions served by other Plugins
- Condition_TRUE, Condition_FALSE, Condition_NOT, Condition_AND, Condition_OR,
- Checking for promotions on Command, Login, Intervals
Planned features
- More Conditions
Requirements
CrazyCore (Version 10.7.1 or later)
Optional Requirements
- CrazyOnline
- ConditionPlayerOnlineTime
- ConditionPlayerTimeSinceFirstJoin
- ConditionPlayerTimeSinceLastJoin
- ConditionPlayerTimeSinceLastLogout
- CrazyLogin
- ConditionPlayerLoginHasAccount
- ConditionPlayerLoginIsLoggedIn
Commands with their Permissions
Usage
Languages
- en_en (English)
- de_de (German - Deutsch)
- fi_fi (Finnish - Suomi, thanks to suomenlippis)
- fr_fr (French - Français, thanks to FireBurst699)
- nl_nl (Dutch - Nederlands, thanks to blipman17)
- pl_pl (Polish - polski, thanks to MegaManNT)
- ru_ru (Russian - русский, thanks to kilolife)
(Please post additional translations here, so i can share them to everybody!)
@TheOneMadHawk
It turns out the group name was case sensitve /facepalm. One question about the ConditionPlayerOnlineTime condition. Does it check for the current session online time or the total online time added from all previous essions?
@WEB11
This config looks right. I must admit I haven't tested it. Because i have no working config for that.
Maybe its case sensitive?
Try this debug build:
https://dl.dropbox.com/u/16999313/Bukkit/CrazyPromoter.jar
Start the server and force the server to check someones promotion.
Are there any errors? (Please post your config, if possible the whole one, if not just the server start and every messages near "CRAZYDEBUG")
@TheOneMadHawk
It sounds exactly like what I am trying to achieve. I want to promote people based on activity+join date combo to avoid people being idle online forever just to get promoted. Thanks for making such a great plugin!
I started playing with the conditions and got stuck on this part. I'm trying to promote players in the builder group after a certain amount of time. It works fine without the GroupManager condition so I think the problem is in that part of the code. Can you please tell me what I am doing wrong?
@WEB11
Does it work with essentials groupmanager?
Yes, i just forgot to list it here.
Are there any conditions to promote based on join date and demote based on inactivity?
I'll add this conditions to CrazyOnline
EDIT: Done (CrazyOnline v4.3.2)
PS: If you need something like CrazyVariable to count some values I will publish it too including some conditions like ConditionValueAbove. (hard to explain)
But this would require schedulled promotionchecks and some more changes in my plugin.
Example:
When at least 29 minutes online and at least 29 minutes since last promotioncheck increase promotionpower by one every 30 minutes
When promotionpower>10 & Guest promote to User
When promotionpower>20 & User promote to Veteran
When inactive for 5 days set promotionpower=0 & demote to Guest
Does it work with essentials groupmanager? Are there any conditions to promote based on join date and demote based on inactivity?
@TheOneMadHawk
Thanks so much! Great plugin btw!!
@bigazzaman
yes, it is.
You just have to define multiple promotions.
Then setup the conditions (if mod and xtime online (and not admin))
make him admin
Usage
is it possible to have multiple promotion groups? so, default to member after 1hr | member to moderator after 24hr| moderator to admin after 50hrs if not, is it possible to add this is in???
@suomenlippis
Thanks for your translations
I hope you make new plugins too.
Yes i will, but I have to fix some issues first.
I'm (maybe) going to translate your all plugins. Here is translate to this plugin too :)
http://dev.bukkit.org/paste/5622/
fi_fi.lang
Thumbs up Crazy coder (y) :)
I hope you make new plugins too.
@JeeOhhDee
i figured out it was making what i though a duplicate promote thing where it had 2 promotion configs
Bug fixed (cloning promotions on reload)
@Marium0505
The group manager part of Essentials. http://dev.bukkit.org/server-mods/essentials/
I will add it, if I could
For future plugin support request, please add a sentence like this:
"Please add support for this plugin:"
Otherwise I may not know what you want me to do.
Try this dev build:
[Link removed - Use release instead v2.9.1]
The group manager part of Essentials. http://dev.bukkit.org/server-mods/essentials/
@TheOneMadHawk
ok that helps. and i figured out it was making what i though a duplicate promote thing where it had 2 promotion configs at the same time but i guess it was fixing something that i messed up. it works now. Thanks. Now to get your announcer set up.. Thanks again.
@JeeOhhDee
and i have to stop the server and edit it if i want to reload the configs of the server.
No you don't have to stop it.
Just use "/crazypromoter reload"
After that you can reload the server if you want.
@TheOneMadHawk
Tested and it worked on login for my cofig file i had. time to change it to what i want now. One thing that i noticed is that on server reload and stopping the config changes for some reason making me edit it everytime i need to start the server. and i have to stop the server and edit it if i want to reload the configs of the server.
@JeeOhhDee @Edisun
Thanks for your help, I hope I can fix this bugs soon.
EDIT: uploaded a fix, this should solve your issues.
@TheOneMadHawk
Hey now.... I replied to you.. lol :P I have been getting use to the working a full time job for the first time in my life and its tough trying ot do stuff when I get home. But i finally tested it. And it gave me an error. I PMd you ever and my config.
@TheOneMadHawk
I appreciate it man, sent you a PM. Thanks again for your help!
Also, I tested with joining the server, no go =(. Thanks again!
@Edisun
I put it this way to test it, also I wanted to modify the command to work with PEX rather than Bukkit permissions.
I never tested PEX Group support. ( I added it and the feature requester said nothing, so I believed it worked)
If you have a PEX config to test this feature, please upload/post/pm it. Because I don't want to learn PEX config handling first. When I have tested everything properly. I will send you a guide.
Have you tested it with joining the server?
The plugin checks promotions on join too. (Just to be sure its not a timer failure)