EmergencyDowntime
EmergencyDowntime
This plugin has been updated for full release.
Features
Features:
What this plugin basically does is puts the server on "emergency mode" It kicks all non-op players out of the server and stops non-op players from joining. The only players that can remain in the server during emergency mode are OPs and the players with permission to be exempt from emergency mode. It allows server admins to do what they have to do without having to take care or worry about the players. It prevents further damage and frustration to be done. Instead of just stopping you're server for awhile to prevent players from entering, you can use this plugin. Please visit our other pages for more details.
Usage
Basic usage: Usage subject to change, we'll do our best to update this page
Commands:
/ed build - Disables building (use /ed off to disable)
/ed full - Put the server on Emergency mode or (if the server was already in emergency mode) put it on normal mode for everybody to join.
/ed help - List commands
/ed off - Turns off both full downtime and partial downtime!
/ed partial - Put the server on partial emergency mode. It stops non-op players from joining the server BUT does not kick the players that are non-op in the server currently.
/ed check -Check if server is in downtime!
/ed ver - Find what version you are running!
/ed kickall Kicks everybody out of the server (including OPs and possibly you too) and stops them from entering. .
/ed reload Allow for persistant downtime during reloading. Can only be used when /ed full is on. (use /ed off to make this false)
HOW TO USE TIMED COMMANDS
Timed commands can only be used for the following commands
- /ed kickall
- /ed partial
- /ed full
- /ed build
How to actually use timed commands: When you wish to use any of the commands above, first type them out and then add how many seconds the task should be delayed.
Example use: /ed full 30 Full downtime will be enabled in 30 seconds.
Permission
Permission nodes. SuperPerms only
emergencydowntime.check (Allows player to do /downtime-check)
emergencydowntime.kickall (Allows player to do /downtime-kickall
emergencydowntime.ver (Allows player to see version of EmergencyDowntime
emergencydowntime.partial (Allows player to do /downtime-partial
emergencydowntime.off (Allows player to turn off downtime)
emergencydowntime.full (Allows player to do /downtime-full. Allow full downtime basically.)
emergencydowntime.exempt (Allows player to be exempt from partial/full downtime)
emergencydowntime.reload (Allows player to use /ed-reload)
emergencydowntime.build (Allows player to use /ed build)
Config File
Features in the Config File (Allows changes in kickmessages and other messages within EmergencyDowntime. Also allows the ability to change colors of the messages)
Values;
Kickmessage - is the value used for kicking someone. (The kick message)
OPExempt - message sent to OPs who remain in the server during "downtime"
PartialDowntimeMsg - sent to all players during partial downtime
reload - true or false value, whether persistant downtime is enabled or not. (toggle using /downtime-partial)
How to change the colors of the messages.
MAKE SURE YOU LEAVE THE QUOTATIONS ON IN THE CONFIG VALUES
Use the standard Minecraft Color codes found here.
Example of use '&2You Have been Kicked From The Server'
Support
Please create a ticket for this plugin and make sure you are descriptive! Also don't forget to post a comment saying you have created a ticket and give a brief description of the error/bug.
-
View User Profile
-
Send Message
Posted Dec 11, 2011Timing can be done easy.
Or something like that. I'm not sure if that's the actual code, so copy/paste part by part.
-
View User Profile
-
Send Message
Posted Dec 11, 2011@Tombikos
lol okay..This is my first plugin (just coming straight out of learning java) and the plugin isn't finished yet :P . I'll soon destroy the competition though...
-
View User Profile
-
Send Message
Posted Dec 11, 2011Nice plugin but i think that AutoKick is way better!
-
View User Profile
-
Send Message
Posted Dec 10, 2011No worries just reporting it in case you weren't aware. Hopefully you can fix it up for the release since it's a Beta after all.
-
View User Profile
-
Send Message
Posted Dec 10, 2011@spinner0205
I personally apologize for that bug. I was very messy with the last update. Also there is already a custom kick message. But I do think if you keep joining and getting kicked eventually it will give you the End of Stream message.
Edit: Fixed the permission bug. All permission bugs MOF.
-
View User Profile
-
Send Message
Posted Dec 10, 2011Also, I seem to have a bug where even with the emergencydowntime.exempt permission I am still kicked with the /downtime-full command. I am able to rejoin but is it supposed to kick you in the first place?
-
View User Profile
-
Send Message
Posted Dec 10, 2011I've got a suggestion to make. Not sure if it was already said but add the ability to have a custom kick message because the End of stream message is sort of misleading for players.
-
View User Profile
-
Send Message
Posted Dec 6, 2011@dakoslug
Basically, yes, you could define it by minutes, or even hours using that setup. :)
-
View User Profile
-
Send Message
Posted Dec 6, 2011Really helpful!
-
View User Profile
-
Send Message
Posted Dec 1, 2011@Technius Would it work for all Permission plugins then?
@TechJawa Ok, so if the command was used in console it'd kick everyone out but if it was used ingame by a op, then keep the OP? Ok Got it
@Taryq
So basically you do /downtime full 5? This means downtime for 5 minutes? Or something else?
-
View User Profile
-
Send Message
Posted Nov 30, 2011@dakoslug
No need to do all that, all you need is
player.hasPermission("somepermission.somepermission")
-
View User Profile
-
Send Message
Posted Nov 30, 2011@dakoslug
Hey there, my intention was to use this via the command line, but in an ideal setting I suppose the person who issues /downtime-full would not be kicked. I could see myself using this while I do some LogBlock rollbacks or something similar that had no need for anybody else to be online except one admin.
Thanks!
-
View User Profile
-
Send Message
Posted Nov 30, 2011It would be cool if this could also be configured for time entry (in minutes or seconds!) so that downtime can be scheduled. :P
-
View User Profile
-
Send Message
Posted Nov 30, 2011@spinner0205
I would like to add permissions by beta version of the plugin. When I finish update 3, i will probably start working on permission and then beta will be update 4 . Give me a week or so.
Edit: I will add support for PEX.
-
View User Profile
-
Send Message
Posted Nov 30, 2011When do you expect a version that supports Permissions?
-
View User Profile
-
Send Message
Posted Nov 29, 2011@TechJawa
So would the person who does /downtime-full be kicked too? Or will he be excluded?
-
View User Profile
-
Send Message
Posted Nov 29, 2011@dakoslug
Actually my ops.txt is completely empty and locked down. We want a nice level playing field for ALL players, even admins. Admins just have some special permissions obviously which can help control the server, such as kicks, bans, jailing, etc. We don't want anybody to have access to /give or /time or /gamemode :)
-
View User Profile
-
Send Message
Posted Nov 28, 2011Yes it is. I wanted to tell you cause they have a lockdown command too.
-
View User Profile
-
Send Message
Posted Nov 28, 2011@gyroninja
Thanks for the input! I may have a fix ready, but I need to fix a console error I'm getting! If the fix doesn't work I'll try you're suggestion And the link to that file is this right?
-
View User Profile
-
Send Message
Posted Nov 28, 2011@TechJawa
So basically what you want is /downtime-all which kicks all ops and NON-ops out and prevents them from entering? I was thinking of the same thing :D. I will add it even though you figured out a solution. And permissions is working yet. I'll PM you when I think the plugin is ready for you're server (Probably Beta status)
Plus it'd be inconvenient for the OPs.txt to be empty, you need to be OP right? And also should the person who starts /downtime-full be kicked?