Lockdown
Lock down allows you to lock the server for only certain groups or users to access. You can add as many lock down types as you want.
How to use:
Commands:
/lock disable - removes a current lock allowing all players back online.
/lock status - tells you info about current lock down
/lock [name] - Activates a lock with the following settings.
Aliases: lock, ld, lockdown
Permissions:
lock.* - Allows you to connect whenever(Default by OP)
lock.set - Can activate a lock down(Default by OP)
lock.# - # is the level they have. Note* 0 is the highest rank
Config: - Comes with an example lock
full: message: '&cServer is locked for everyone' level: 0 currentStatus: '' color-logs: true set-motd: true
Config Info:
full - this is the name of the lock down. To activate type /lock full.
message - The message sent to client when kicked. Can now use > to insert a line.
level - This is what level you need to log-in. This makes it so everyone gets disconnect unless they have the level 0 permission(lock.0 or lock.*)
Future Features
Feel free to submit some.
Bugs
Non known
Hi!
is there an issue regarding GroupManager? Because i defined 4 locks (0,1,2,100) and add myself to the lock.0 group. than i tested to join and i can't... Thats a bit strange...
A by the way, I'm using Spigot 1.8... Whcih should have almost the same API as 1.7.10...
@mmuziek
Just so you know I have implemented you idea.
@mmuziek
That is a good idea. I will look into adding this feature. It has been awhile since I have worked on this plugin so I will have to pull it out of my archives. I do not have a date to when I will finish it but message me every once in awhile if I have not added.
its a awesome plugin. i have a suggestion mabe change the servers motd when lockdown is active. configurable in the config ?
@floory565
Have you found it now as it took time for the bukkit dev staff to approve it.
Just uploaded version 0.3.2. Contains the option to add lines to your message using >.
@floory565
Ya I can for sure look into this. I am hoping to have a new version of the plugin up tomorrow(July.25th).
@XLGDrTankHead
to create a new one you just copy the first one. Here is an example.
so if you lock for staff 3 then anyone with the permissions: lock.0, lock.1, lock.2, or lock.3 can access the server.
How do you build your own lock?
I need one that allows low-admin and above I also need one that allow Mods and above
@ii_B1GM4N_xx
Yes!
Are you the person that made this plugin for me?
Uploaded V0.2.1
Fixes lock.set not working
Added new command aliases: lock, ld, lockdown
Waiting for file to be approved.
@Endercrest
Working great now thanks :)
@OldScurvyDog
I will add a new aliases in next update. If you want to fix this going to into the jar and edit the plugin.yml. In the plugin.yml add this:
aliases: [lockdown, lock]
to the bottom of the lock command in the section.
Also the plugin LWC :(
Just for your info, I tried install the plugin on another server that has lockette, and the command /lock is used by lockette. Is there an alt command for your plugin?
@OldScurvyDog
Thanks for the report. I will update the info above. Now for the lock.set I will take a look. I though I tested this. But I will take a look again.
Just figured it out, level 0 is the highest level. Works when i changed the perms around, maybe you should add a note about that. Cant seem to get lock.set to work for any admin.
Me again, level 0 works perfect now. I have added level 1 for mods and admin and level 2 for op's but it doesn't kick admin when I do a lock level 2.
@OldScurvyDog
I will take a look at this. I will do some testing.
Edit: I have fixed the issue. Error in code. Have uploaded a fix waiting for approval.