CrazyWeather
Version 5.2
Description
Change or freeze weather on your server.
Features
- Integrated Logging support.
- Multiworld Support
- Per world Permissions
- Weather quick change commands
- Thundertool (permission based, can be disabled, default is stick)
Requirements
- CrazyCore (Version 10.7.1 or later)
Commands with their Permissions
Languages
- en_en (English)
- de_de (German - Deutsch)
- es_es (Spanish - Español, thanks to Sirikon)
- fi_fi (Finnish - Suomi, thanks to suomenlippis)
- nl_nl (Dutch - Nederlands, thanks to jekeke123)
- no_no (Norwegian - Norsk, thanks to SyTeck)
- pl_pl (Polish - polski, thanks to MegaManNT)
- ru_ru (Russian - русский, thanks to kilolife, SannyOK)
(Please post additional translations here, so i can share them to everybody!)
@Maluzis
In version of this plugin v.3 it works fine for me. Only in the new version v.3.1.1. stoped working.
I now that's why I reverted some changes, but this updated should fix a bug when using with CrazyLogin (Players who aren't logged in can use thundertool). It fixed this bug but prevent far thunderstrikes.
I'm currently working on v4 to solve this issue.
(This will require CrazyLogin+further CrazyWeather updates, because its a very dirty workaround for a (in my opinion) bug with PlayerInteractEvent)
@TheOneMadHawk
In version of this plugin v.3 it works fine for me. Only in the new version v.3.1.1. stoped working.
@Maluzis
Hey. There is another bug. Thundertool not work over long distances.It works only on selected blocks.
Thank for this bug report.
I will redirect it to bukkit because clicking right in the air is automatically cancelled, somewhy.
EDIT:
I talked with them, its supposed to be like that. I don't understand why.
They adviced me to look on another plugin like this.
Searching for solutions....
EDIT2: Found none (I will revert last changes for RIGHT_CLICK_AIR)
Bukkit triggeres a cancelled event
Hey. There is another bug. Thundertool not work over long distances.It works only on selected blocks.
@ThisUsernameIsMine
Per World permissions will be added soon
EDIT: added in v3
Nice plugin u've made buddy :-)
Can you add a permission node that only allows someone to change the weather of the world they're currently in. Now it is possible ton change the weather of all worlds.
Danke freund! ;-)
- ThisUsernameIsMine
@REALDrummer
I tested with that permission node and it worked for me. If you send me your complete
permission and crazyweather config.yml i'll may figure out the mistake.
You can upload it here, if you want, just send me the links: http://dev.bukkit.org/paste/
I apologize. I should have previewed my comment. Here are the error message and the PermissionsBukkit permissions file section with line breaks indicated by a "|":
Error executing command: | thundertool 332 | INSUFFICIENT CLIENT PERMISSIONS!
admin: | permissions: | crazyweather.thunder.toolchange: true | permissions.*: true
@TheOneMadHawk
Hello, TheOneMadHawk. It's me again. Thank you very much for the help. I didn't expect such a short response time. I apologize that mine took so long, but I wanted to be sure that I couldn't fix it before bothering you again. I have ensured that PermissionsBukkit, SuperPermsBridge, CrazyWeather, and CrazyCore are all up to date, but I'm afraid I still can't change the thundertool or make lightning with said tool. It continues to give me the three-line error message when I attempt to change the thundertool to a golden apple (the item I.D. of which is 332):
Error executing command: thundertool 332 INSUFFICIENT CLIENT PERMISSIONS!
This is a copy of the part of the permissions file for PermissionsBukkit that deals with my admin permissions. This is the one and only plugin that I cannot fully utilize.
admin: permissions: crazyweather.thunder.toolchange: true permissions.*: true
I added the specific CrazyWeather thundertool.change node as a redundant check in case permissions.* was insufficient, but CrazyWeather continues to completely ignore PermissionBukkit on my server. I'm afraid I'm at a loss. Your ".hasPermission(String)" method seems no different from any of the others that I have seen in other plugins on my server. I simply don't understand why the plugin refuses to acknowledge PermissionsBukkit on my server like the other plugins can. I'm sorry. I wish I could be of more help, but I'm afraid all I can do is ask for it. Thank you again for your time.
@REALDrummer
Just tried on my own server:
/thundertool 2 (for example) work fine for me, but i should fix the message shown.
/thunder and the tool thunder itself works fine for me, too.
here is my config.yml
lightning: will be renamed to lighningdisabled (also damage)
It worked at my place using this permission
crazyweather.*: true
I use permbukkit too
reloading (the config) in my plugins only works via "/crazyweather reload" or editing files when server is down
because they save the config on shutdown
this plugin was the first i made (even far before CrazyCore, and i just added the core features, without noticing, that the core feature commands aren't accesible. reload is a core feature)
the new version (2.3) will enable core features and change thundertool messages.
if i have some pleasure time in the next week i'll rework the plugin, to increase code readability.
Any further questions?
I like the simplicity of the weather command and the plugin itself. Conceptually, it's a fantastic addition to the server. However, I am having a few problems. The "/thundertool" command and creating thunder with the specified tool do not work for me. I know that ops do not have permission by default for these things, but it also does not seem to work with my permissions plugin, PermissionsBukkit, despite the fact that I also have SuperPermsBridge. I know some Java, so I tried to reprogram the plugin to give ops all the permissions, but there were some parts of the code that didn't make sense to me and the config.yml changes back to the default settings every time I reload the plugin. Could you please help me with these things? I would very much appreciate it. Thanks.