[MISC] ReasonKick v1.0 - Kick every user with a custom message [1060]

Discussion in 'Inactive/Unsupported Plugins' started by dralletje, Sep 5, 2011.

  1. Offline

    dralletje

    ReasonKick
    The automatic kicker.
    Version: v1.0

    Your server got a new ip? Your server is currently under construction?
    But you got no way to tell them outside minecraft?

    Here is the solution.
    ReasonKick is not a plugin that runs standard on your server.
    It kicks every player who connects and show the customizable message.
    So you are sure players read the thing you want to say.
    As I said before, it's not a plugin to use much but sometimes it can be very handy to have it.

    Features:
    • Kick every user that connects.
    • Kicks them with a custom message.
    How to use:
    1. drop the plugin in you plugin folder.
    2. run your server once, a config file will be generated.
    3. open the config file and set 'enable' to true, and edit the message.
    4. restart/reload you server and you are done.
    Configuration:
    • enable - Set it to true to enable the plugin
    • reason - The message to show when a player is kicked.

    Downloads:
    Source Code // coming when I figured out how git works.

    Future plans:
    • Adding colors
    • Adding multiple line feature (possible)

    Changelog:
    Version 1.0
    • The release
     
    Jackster21 likes this.
  2. Offline

    seankaiser1

    Cool :D :D Gonna use that. I was ALWAYS wishing for a plugin with this function :D :D
     
  3. Offline

    dralletje

    :p
     
  4. Offline

    seankaiser1

    xD xD USING IT RIGHT NOW :D :D works PERFECTLY :D
     
  5. Offline

    dralletje

    :D
     
  6. Offline

    seankaiser1

    Um.. Sometimes i get this little error:
    2011-09-15 18:33:10 [INFO] [RestartNow] Version 0.3_2 ready to restart!
    2011-09-15 18:33:10 [INFO] [RestartNow] Permissions detected.
    2011-09-15 18:33:10 [SEVERE] java.util.zip.ZipException: error in opening zip file
    2011-09-15 18:33:10 [SEVERE] at java.util.zip.ZipFile.open(Native Method)
    2011-09-15 18:33:10 [SEVERE] at java.util.zip.ZipFile.<init>(ZipFile.java:127)
    2011-09-15 18:33:10 [SEVERE] at java.util.jar.JarFile.<init>(JarFile.java:135)
    2011-09-15 18:33:10 [SEVERE] at java.util.jar.JarFile.<init>(JarFile.java:72)
    2011-09-15 18:33:10 [SEVERE] at com.tips48.restartNow.RestartNowExtractor.extractFile(RestartNowExtractor.java:23)
    2011-09-15 18:33:10 [SEVERE] at com.tips48.restartNow.RestartNow.onEnable(RestartNow.java:192)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-09-15 18:33:10 [SEVERE] java.util.zip.ZipException: error in opening zip file
    2011-09-15 18:33:10 [SEVERE] at java.util.zip.ZipFile.open(Native Method)
    2011-09-15 18:33:10 [SEVERE] at java.util.zip.ZipFile.<init>(ZipFile.java:127)
    2011-09-15 18:33:10 [SEVERE] at java.util.jar.JarFile.<init>(JarFile.java:135)
    2011-09-15 18:33:10 [SEVERE] at java.util.jar.JarFile.<init>(JarFile.java:72)
    2011-09-15 18:33:10 [SEVERE] at com.tips48.restartNow.RestartNowExtractor.extractFile(RestartNowExtractor.java:23)
    2011-09-15 18:33:10 [SEVERE] at com.tips48.restartNow.RestartNow.onEnable(RestartNow.java:194)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-09-15 18:33:10 [SEVERE] java.net.UnknownHostException: www.tips48.99k.org
    2011-09-15 18:33:10 [SEVERE] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)
    2011-09-15 18:33:10 [SEVERE] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
    2011-09-15 18:33:10 [SEVERE] at java.net.Socket.connect(Socket.java:529)
    2011-09-15 18:33:10 [SEVERE] at java.net.Socket.connect(Socket.java:478)
    2011-09-15 18:33:10 [SEVERE] at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
    2011-09-15 18:33:10 [SEVERE] at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
    2011-09-15 18:33:10 [SEVERE] at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
    2011-09-15 18:33:10 [SEVERE] at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
    2011-09-15 18:33:10 [SEVERE] at sun.net.www.http.HttpClient.New(HttpClient.java:306)
    2011-09-15 18:33:10 [SEVERE] at sun.net.www.http.HttpClient.New(HttpClient.java:323)
    2011-09-15 18:33:10 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
    2011-09-15 18:33:10 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
    2011-09-15 18:33:10 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
    2011-09-15 18:33:10 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
    2011-09-15 18:33:10 [SEVERE] at java.net.URL.openStream(URL.java:1010)
    2011-09-15 18:33:10 [SEVERE] at couk.Adamki11s.AutoUpdater.FetchSource.fetchSource(FetchSource.java:46)
    2011-09-15 18:33:10 [SEVERE] at couk.Adamki11s.AutoUpdater.AUCore.checkVersion(AUCore.java:83)
    2011-09-15 18:33:10 [SEVERE] at com.tips48.restartNow.RestartNow.onEnable(RestartNow.java:197)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-09-15 18:33:10 [INFO] [AU][RestartNow] Error opening URL input stream!
    2011-09-15 18:33:10 [SEVERE] java.io.IOException: Stream closed
    2011-09-15 18:33:10 [SEVERE] at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:134)
    2011-09-15 18:33:10 [SEVERE] at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
    2011-09-15 18:33:10 [SEVERE] at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
    2011-09-15 18:33:10 [SEVERE] at java.io.DataInputStream.read(DataInputStream.java:132)
    2011-09-15 18:33:10 [SEVERE] at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
    2011-09-15 18:33:10 [SEVERE] at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
    2011-09-15 18:33:10 [SEVERE] at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
    2011-09-15 18:33:10 [SEVERE] at java.io.InputStreamReader.read(InputStreamReader.java:167)
    2011-09-15 18:33:10 [SEVERE] at java.io.BufferedReader.fill(BufferedReader.java:136)
    2011-09-15 18:33:10 [SEVERE] at java.io.BufferedReader.readLine(BufferedReader.java:299)
    2011-09-15 18:33:10 [SEVERE] at java.io.BufferedReader.readLine(BufferedReader.java:362)
    2011-09-15 18:33:10 [SEVERE] at couk.Adamki11s.AutoUpdater.FetchSource.fetchSource(FetchSource.java:56)
    2011-09-15 18:33:10 [SEVERE] at couk.Adamki11s.AutoUpdater.AUCore.checkVersion(AUCore.java:83)
    2011-09-15 18:33:10 [SEVERE] at com.tips48.restartNow.RestartNow.onEnable(RestartNow.java:197)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    2011-09-15 18:33:10 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    2011-09-15 18:33:10 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-09-15 18:33:10 [INFO] [AU][RestartNow] Error reading input stream!
    2011-09-15 18:33:10 [SEVERE] Error occurred while enabling RestartNow v0.3 (Is it up to date?): null
    java.lang.NullPointerException
    at couk.Adamki11s.AutoUpdater.FetchSource.fetchSource(FetchSource.java:65)
    at couk.Adamki11s.AutoUpdater.AUCore.checkVersion(AUCore.java:83)
    at com.tips48.restartNow.RestartNow.onEnable(RestartNow.java:197)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    Can u help? D:

    And now i think RestartNow isn't operating, but it starts up. I changed settings in the config, the time and from true to false for automatic reloading and restarting. THis is weird, but if u can help, thx :)

    sorry, since i installed ReasonKick, RestartNow won't work :(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  7. Offline

    dralletje

    if you delete reasonkick, does it work again?
    cause I can't see the word reasonkick in your error, so I assume I can't do anything against it :(
     
  8. Offline

    seankaiser1

    O i found out why, it was this database that was crashing my RestartNow plugin D: but ur reason kick is great xD
     
  9. Offline

    dralletje

    ok :)
     
  10. Offline

    GoofyGewber

    Awesome plugin!
     
  11. Offline

    jouki

    Is there a way to kick players in groups ? for example /kick_group player1, player2 ....If not, would you mind adding this feature?
    And is there a plugin that lets people access the server only when it is in a special state ? lets call it zero. For example when i only want people in a special group to be on the server till I switch it to zero again .
     
  12. Offline

    astipupjr

    It broke my server u fool!!!!
     
  13. Offline

    com. BOY

    Is it Minecraft 1.2.3 compatible?
     
  14. Offline

    dralletje

    I don't think so, should I update it?
     
  15. Offline

    TheLavaGuy

    Dont get it! D:
     
  16. Offline

    LZLOWBATTERY

    Yes! please update it or remake it....
     
  17. Offline

    DJdur

    Dude, i can help you with git if you want! :)
     
  18. Offline

    md_5

    Long time no see dralletje. You will notice that this thread has now been placed into the Inactive Plugin subforum.
    If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum.

    Thanks for your time.
    md_5
     
  19. Offline

    dralletje

    this post is now where it belongs.
    Thanks for taking time to clean up the forums :)
     

Share This Page