General
General - a plugin for basic administrator commands
This project is now ABANDONED. However, if anyone wants to take it over, feel free to contact me either through PMs here or in the IRC at #bukkitdev (on irc.esper.net), and I'll hand over ownership of the project. Additionally, you can fork this project on github if you intend to take over.
Download:
General provides a small set of basic administrative commands for your server, such as /give, /weather, and /time.
I recommend using sk89q's CommandHelper in conjunction with this plugin. Starting from 3.4.5, there is a command-helper.txt file included with the download which you can copy to CommandHelper's config.txt for some handy aliases, such as /spawn and /home.
Okay, updated!
@candreasen
If you still get this issue on General 4.4, please file a ticket on the issue tracker. :)
I use this all the time, it's much simpler than essentials. I am having one problem though, whenever I issue a /general command it doesn't do anything (nothing, not just "Unknown Command") but other general commands are working (/spawn, /kit, etc.)
Oh, and the MOTD. Sometimes that is the only way to send players information if they don't read our forums.
Hi Celtic_Minstrel, My servers use it. This plugin is small and simple. Just what we need as we don't use many plugins. It gives us the power to control give, teleporting, weather and time beyond what Bukkit would provide easily. With over 100 players on our lists, we certainly appreciate it being updated.
We were always happy with this general mod :) Would be nice to see it beeing upgraded ^^
thxal 4 all you devs work.
Query: Does anyone actually use this anymore? I'm asking mainly to determine whether there's any point in updating it again.
Huh. It seems I still haven't uploaded the latest version that I built a couple weeks ago. Sorry!
He doesn't need permission from me (since it's open source), but he has it anyway.
@ccman972 Thanks for this motivating speech *cough*
I'm updating this mainly for myself, but i thought it couldn't be that bad to share it with the world.
Just go ahead and suggest an other Plug-In (besides Essentials). If i get tired of updating, i will look into that.
Updated for CB 1.3.1-R1.0:
Discs by name (disc:ward), Logs (log:spruce), Slabs (slab:oak), ...
Slab hooks only works with slab:type, step:type are still the old ones!
You have to delete the old items.yml for the new items to work!
https://github.com/Spodi/General/downloads
@Celtic_Minstrel
It's working now. Finally! It calculates the displayed time wrong (shows minutes instead of seconds) and it shows a debug message (kit amount:) but this is a minor bug and i will try to fix it later. i will upload it with this bug for those who cant wait.
https://github.com/Spodi/General/downloads
EDIT: I'm too lazy to fix this messages (and just too dumb to convert it to the right time format if I'm honest)... Maybe when it needs further fixes.
It's there now, though as before I didn't take the time to test it. <_<
Okay, I've got another idea that I'll push shortly. I'll get rid of the cooldown permissions (though I'll still have pseudo-permissions nodes).
@Celtic_Minstrel
I can "rewrite" it to you the timer you used for output the remaining cooldown, but this timer resets every log out (at least before you changed something, dunno what it does now). The version with permissions has a problem, that even if you set the permissions temporary to false, it still remained true for some reason (again the old version).
I compiled the new version as it is now, but cooldown isn't working. I think i need a while until i understand what your change does exactly xD
I think I got what you did. You tried to get the remaining time with getCooldown and then set the permission again if there is a remaining cooldown.
The Problems are still the same:
Permission isn't set right (dunno why, always true for no reason i can see) so you cant check the permission to look if it is in cooldown.
Also you can't get the remaining cooldown with the cooldown map, after the player logged out (also i don't know why, it should be possible), so we can't use this also.
You did the new method for nothing (yet), sry. As long we cant look up the remaining cooldown after logout nothing will work... I do my testing in offline-mode, but i don't think its related to that.
PS: you don't even need permissions to check if its in CD when it saves it between sessions. Just use
So, are you saying cooldowns work as long as the player doesn't log out?
EDIT: Added a little something to account for that; didn't test it though.
Nice Spodi, thx :)
edit: tested -> working :) n1
i fixed it with /weather but didn't change /weather zap. I will look into that.
EDIT: And 5 minutes later it's fixed. Missing "return" (command wasn't aborted). I will post a compiled version at my GitHub DL page as usual.
I have no idea how to save cooldowns between login/logout Celtic tryed to achieve that with temporary permissions, but it looks like this won't do it...
Um... I thought Spodi fixed that?
I wrote it some time ago in a comment in a ticket:
Here what i wrote:
/weather zap
gives the error:
"You don't have permission to summon lightning. (general.weather.zap)"
But in the next line there is the message "Lightning strike!" and the lightning is executed.
Thx
In the Permissions file there is just:
- general.weather.set
- general.time.set
PermissionsEx-1.19.2 is used, and newest General Version from github.
What's wrong with /weather zap?