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.
Is my ticket going to be looked at soon? :)
@epicbastion
Thank you for your ticket.. I'm on it! Will be responding though PM and ticket.
ed not passing login event to essentials so it creates a severe exception, rather messy, see ticket.
@Cory94bailly
It's already done :P
@dakoslug
Any ETA on that? I think it's an excellent idea.
@dakoslug
Great! Thanks for that option :)
@CoreEM
Yes, ill make that option either next version or very soon! Thanks for the input! Infact, instead of timed downtime, ill add this option first.
Is it possible that Emerceny Downtime reactivate after reload?
Maybe for next version?
@Sleaker
Thanks for the info, after changing the event to both options the plugin stops working... I'll have it working the next version.
@dakoslug
The issue with Herochat is caused by ED improperly kicking players during onplayerJoin. onPlayerJoin events should NEVER be used to determine if a player should be allowed on the server.
If you want to lock a server you need to be using onPlayerLogin, or onPlayerPreLogin.
@Technius
Is the HeroChat problem caused by ED?
@Technius
Do the basic structure on it..this is my training plugin :c
@Cory94bailly
It's HeroChat's problem.
I recently re-added HeroChat on my server, and now when someone gets kicked during 'downtime', I see these errors in the console - http://pastebin.com/Aem8A55d
Any possible fix? I'm using the latest versions of both plugins.
@Fecer5
Thanks for the report! uploaded a fix, give it 10 mins from this post to be available to you.
@Fecer5
Ok let me check. Revert to beta 6.
When ever i start my server with EmergencyDowntime Beta 7 it says "Could not load desktop/minecraft pub server/plugins/emergencydowntime.jar" and then a huge error log comes. It didn't happen with EmergencyDowntime Beta 6 though.
@ambushed91
Roger, changing it.
Make that /ed because DragonTravel already using /dt
If i could combinate it with this i would be very happy! :)
Glad to see again Technius! Will implement next version!