Simple Ragequit Message

Discussion in 'Archived: Plugin Requests' started by Aitchy, Aug 17, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Aitchy

    I know there is a few plugins which allow players to enter a command to ragequit but none of these do what I want. I just want a simple plugin that does the following

    1. When a player disconnects after a set amount of time of dying it changes the player quit message to "player rage quit!"

    2. Maybe add a config setting for the time in seconds that it activates

    Thats all, that would be a very popular plugin on servers.
     
  2. Offline

    zachoooo

    This would be extremely simple to do... I'm just too lazy to make it * looks at other developers *
     
  3. Offline

    np98765

    If someone hasn't coded this -- all of five lines -- when I get back, I'll do it. That will be in ~9 hours. :p
     
  4. Offline

    Hoolean

    This would be extremely simple to do... I'm just too rubish at development of plugins at the moment to make it * looks at other developers *
     
  5. Offline

    Deathmarine

    [​IMG]
    Code:java
    1. package com.modcrafting.ragequit;
    2. public class RageQuit extends org.bukkit.plugin.java.JavaPlugin{
    3. boolean ragequit;RageQuit r = this;
    4. public void onEnable(){r.getServer().getPluginManager().registerEvents(new org.bukkit.event.Listener(){@org.bukkit.event.EventHandler public void onPlayerDeath(org.bukkit.event.player.PlayerQuitEvent event){ if(ragequit){event.setQuitMessage(event.getPlayer().getName()+" RageQuit.");}}@org.bukkit.event.EventHandler public void onPlayerDeath(org.bukkit.event.entity.PlayerDeathEvent event){ ragequit=true; getServer().getScheduler().scheduleAsyncDelayedTask(r, new Runnable(){@Override public void run() {ragequit = false;}},120L);}}, this);}
    5. }
    6.  

    [​IMG]
     
    zachoooo, gomeow, hawkfalcon and 11 others like this.
  6. Offline

    Aitchy

    Is someone going to make this plugin?

    Can someone make this plugin officially please?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Aug 18, 2018
  7. Offline

    Woobie

    Haha, i literally laughed my ass off.
     
  8. Offline

    Kodfod

    LOL ++rep for you sir!
     
  9. Offline

    Deathmarine

    Aitchy likes this.
  10. Offline

    PogoStick29

    I could make a plugin where you type /quit <message> or if you dont specify a message it says you ragequit (something like that)
    I could have permissions and everything
    Still interested? Reply yes.
     
  11. Offline

    chaseoes

    6 lines.

    [​IMG]

    [​IMG]
     
    zhuowei, gomeow, Hoolean and 3 others like this.
  12. Offline

    Aitchy

    Thanks I will try it later, you going to put it on the bukkit dev site?
     
  13. Offline

    np98765

    Aitchy: There's an Edit button...
     
  14. Offline

    Aitchy

    I take it back, it works! praise the lord,,,,,, just does not change it in console or dynamp,, thanks!

    np98765 no shit sherlock

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

    np98765

    Says the one who quadruple posted.
     
    tyzoid likes this.
  16. Offline

    Aitchy

    pft its 6am and ive not slept, give your ocd a break
     
  17. Offline

    np98765

    Not sure how that would constitue as OCD, but whatever.
     
  18. Offline

    Aitchy

  19. Offline

    JOPHESTUS

    For someone who want's others to give up their free time to make you a plugin, you sure are rude.
     
  20. Offline

    TnT

    Locked. Flaming. Request has been filled.
     
Thread Status:
Not open for further replies.

Share This Page