NoAdminKicker

NoAdminKicker

Hi! My name's Nathan. This is my first plugin I have made. It's a simple plugin that won't let players join unless there is an admin on. I hope you all enjoy it, I will try to keep it updated if enough people like it.

Setup

1. Download the "NoAdminKicker" jar File.

2. Put the jar file in your plugins directory

3. Start your server once to generate a config file

3. Add admin names to the Admins.yml OR give your admins the permission "noadminkicker.isadmin". Alternately, you can use the /addadmin <playername> in game. (View below for a detailed list of commands and permissions)

And that's all :)

Commands

  1. /addadmin <playername> - This will add a player to the 'admins.txt' file.
  2. /deladmin <playername> - This will remove a player from the 'admins.txt' file.
  3. /adminon - This is a VERY delicate command. It will change the internal variable of weather or not an admin is on, So, if you ever have a problem where the system is saying that there is an admin on, just use that command. This command is ONLY usable by an operator. There is no permission associated with it.
  4. /onlineadmins - This will list all available admins and ops (Ops are default as admins even if they're not in the admins.txt)
  5. /adminlist - This will list all of the admins in admins.txt, It won't list ops though.

Permissions

  1. noadminkicker.addadmin - Allows the person to use the /addadmin command. (this will default to op)
  2. noadminkicker.deladmin - Allows the person to use the /deladmin command. (this will default to op)
  3. noadminkicker.exempt - Allows a player to join even if there is no admins on. (Experimental)
  4. noadminkicker.isadmin - Same thing as adding a user to the admins list, only gives them the permisson instead.
  5. noadminkicker.onlineadmins - Allows a user to use the /onlineadmins command
  6. noadminkicker.adminlist - Allows a user to use the /adminlist command
  7. noadminkicker.admintool - Allows a user to set up the S-Area. (Please scroll down for more info)
  8. noadminkicker.spawn - Allows a user to use the /s-spawn command (Only if S-Area is enabled)

S-Area

S-Area is a simple setup, It makes it so that playerse can join when admins are not on, But it restricts them to a specific area.

YOU MUST COMPLETE THIS SETUP ALL THE WAY OR NOTHING WILL WORK RIGHT

  1. First, Open up config.yml and set "S-Area" to "true"
  2. Next, Get in game and do /admintool. It will give you a bone.
  3. With the bone, select a cubiod. Left click to select the first position and right click to select the second position.
  4. Next, do /asz and it will set the S-Area to that zone.
  5. Now, somewhere in that zone, stand in a spawn spot and do /set-s-spawn
  6. And that's it. You're done. :D

If you have any issues PLEASE let me know. S-Area is still experimental

Source Code

https://github.com/thefiscster510/NoAdminKicker/

Download

V3.6

http://dev.bukkit.org/server-mods/noadminkick/files/7-noadmin-kick-jar-v3-6/

ChangeLog:

  1. Added prefix in config.
  2. Made JRE6 Friendly

V3.5

http://dev.bukkit.org/server-mods/noadminkick/files/6-noadmin-kick-jar-v3-5/

ChangeLog:

  1. Fixed Some Typos
  2. Fixed messages being displayed twice
  3. Fixed "NoAdminOn" message showing whenever anyone leaves

V3.0

http://dev.bukkit.org/server-mods/noadminkick/files/4-noadmin-kick-jar-v3-0/

ChangeLog:

  1. Added S-Area BIG UPDATE
  2. Fixed commands being sent from console.

V2.2

http://dev.bukkit.org/server-mods/noadminkick/files/3-noadmin-kicker-v2-2-jar/

ChangeLog:

  1. Fixed admin leaving and others still being on, but system not thinking so errors.

V2.1

http://dev.bukkit.org/server-mods/noadminkick/files/2-noadmin-kickerv2-1-jar/

ChangeLog:

  1. Fixed Permissions Nodes

V2.0

http://dev.bukkit.org/server-mods/noadminkick/files/1-noadmin-kicker-jar/

ChangeLog:

  1. Added /adminlist Which will list all admins in admins.txt
  2. Added /onlineadmins Which will list all online admins at the time
  3. Added /deladmin Which allows you to remove an admin form the admins.txt
  4. Fixed the "All admins are gone" message
  5. Added config file
  6. Added permissions
  7. Added /adminon command

Contact

You can contact me at [email protected]

Known Bugs

If an admin is on, And you reload the server. Everythign will be screwed up. You can TRY having him do the /adminon command. But that doesn't always work. So, just make sure that all admins are off the server before you reload. That's the only known bug right now :)

Have fun!

Thanks to PoopYou for getting me started with plugin coding!


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files