promotional bannermobile promotional banner

Whoops

Wanna shut down a friends server? just make him install this!

Please keep in mind that i'm not responseble for any trouble you get
using my plugin!

Whoops

So what is whoops you ask?
I made whoops for codename_b's 50 line challenge and thought, hey why not publish it
so here it is.
link to the challenge page is here: Yep Click Me:P

Features

So what's the features of my plugin you ask?
Basicly, nothing -.-'
EXCEPT it shuts down the server when it get's enabled xD

Output

So here is what you get from the console

16:02:38 [INFO] 195 recipes
16:02:38 [INFO] [Whoops] Loading Whoops v0.2
16:02:38 [INFO] [Whoops] Enabling Whoops v0.2
16:02:38 [INFO] [Whoops] Is enabled:D
16:02:38 [INFO] Nope!
16:02:38 [INFO] Server permissions file permissions.yml is empty, ignoring it
16:02:39 [INFO] Reload complete.
16:02:39 [INFO] Stopping server
16:02:39 [INFO] [Whoops] Disabling Whoops v0.2
16:02:39 [INFO] [Whoops] got disabled:O
16:02:39 [INFO] Saving players
16:02:39 [INFO] Saving worlds
16:02:39 [INFO] Saving chunks for level 'RainbowDash'/net.minecraft.server.WorldProviderNormal@6e214904
16:02:39 [WARNING] DSCT: Socket closed
16:02:39 [INFO] Closing listening thread
16:02:39 [INFO] Saving chunks for level 'RainbowDash_nether'/net.minecraft.server.WorldProviderHell@fb52041
16:02:40 [INFO] Saving chunks for level 'RainbowDash_the_end'/net.minecraft.server.WorldProviderTheEnd@2ea7166f
16:02:40 [INFO] Stopping server

Source

This is the source for the plugin

Whoops.java

package org.craftingdreamznetwork.Roervig2473.plugins.Whoops;
public class Whoops extends org.bukkit.plugin.java.JavaPlugin{
public void onEnable(){
System.out.println("[Whoops] Is enabled:D");
System.out.println("Nope!");
org.bukkit.Bukkit.getServer().shutdown();
}
public void onDisable(){
System.out.println("[Whoops] got disabled:O");
}
}
plugin.yml

name: Whoops
version: 0.2
description: My attemp on codename_bs under 50 lines challange
author: Roervig2473
main: org.craftingdreamznetwork.Roervig2473.plugins.Whoops.Whoops

Credit

All the credit basicly goes to me since i coded it.
But it wasnt that hard soo...
However i would like to give credit to a friend of mine
greeleysjk, since he has been a great friend, and a great support through my whole
plugin development(i have other plugins too), and is still.
So BIG thank you to you gree.

Donate

Find it awesome? and wanna support me and my work?
leave a $ or 2(Ofcause optional! only give what you can/feel like)
my paypal is Roervig2473@gmail.com
However if you can't afford donating then, just leave some feedback(i like feedback:P)

So as i said before, use at your own risk! and have fun.

Best regards,
- Roe

The Whoops Team

profile avatar
  • 2
    Projects
  • 4.7K
    Downloads

More from _ForgeUser7785514View all

  • Staff Chat project image

    Staff Chat

    • 16.6K
    • Bukkit Plugins

    A plugin used for staff members to chat in private

    • 16.6K
    • April 15, 2014
    • Bukkit Plugins
  • PrisonSuite project image

    PrisonSuite

    • 48.6K
    • Bukkit Plugins

    PrisonSuite

    • 48.6K
    • January 18, 2013
    • Bukkit Plugins
    • +1
  • Roespensable project image

    Roespensable

    • 3.7K
    • Bukkit Plugins

    Roespensable

    • 3.7K
    • August 13, 2012
    • Bukkit Plugins
    • +2
  • Staff Help project image

    Staff Help

    • 0
    • Bukkit Plugins

    Stop telling your staff what to do!!

    • 0
    • August 11, 2012
    • Bukkit Plugins
    • +1
  • Staff Chat project image

    Staff Chat

    • 16.6K
    • Bukkit Plugins

    A plugin used for staff members to chat in private

    • 16.6K
    • April 15, 2014
    • Bukkit Plugins
  • PrisonSuite project image

    PrisonSuite

    • 48.6K
    • Bukkit Plugins

    PrisonSuite

    • 48.6K
    • January 18, 2013
    • Bukkit Plugins
    • +1
  • Roespensable project image

    Roespensable

    • 3.7K
    • Bukkit Plugins

    Roespensable

    • 3.7K
    • August 13, 2012
    • Bukkit Plugins
    • +2
  • Staff Help project image

    Staff Help

    • 0
    • Bukkit Plugins

    Stop telling your staff what to do!!

    • 0
    • August 11, 2012
    • Bukkit Plugins
    • +1