[INACTIVE][FUN/MISC] TouchTNT v1.3.1 - TNT 'splodes in your friend's face [permissions] [677]

Discussion in 'Inactive/Unsupported Plugins' started by Daniel Heppner, Apr 10, 2011.

  1. Offline

    Daniel Heppner

    TouchTNT - TNT 'splodes in your friend's face!
    If you don't want to read any of this and just download the plugin, click here.
    I'd like it if you read it, though. I did write it for you. :)
    Version: v1.3.1
    HONORED UPDATE, AS I BECAME A PLUGIN DEV! ADDED CAKE!
    The idea of this plugin is that you'll enable Touch TNT for someone, they'll start punching a block and as they do, it'll turn into TNT. By the time they realize that they're punching TNT, it'll be too late, and it'll explode in their face.

    Features:
    • Broadcast news to the server.
    • Tell the player they're going to be killed by TNT. (don't tell them how. ;)
    • Turns the block they're punching into TNT, so they're punching TNT.
    • Watch them as they're blowing up by teleporting to them automatically.
    • NEW: Activate YumMode so the block they're punching turns into cake!
    Commands:
    • /tnt [username] - Activates BoomMode on someone.
    • /tnt [username] [argument] - Activate BoomMode with argument.
    • /cake [username] [argument] - Same as /tnt, but with the awesomeness of cake!
    Arguments:
    • -n - Tells the person they're going to be blown up.
    • -b - Broadcasts to the server that it's activated on someone.
    • -t - Teleports you to the person who will blown up.
    Permissions Nodes:
    • touchtnt.tnt - Allows use of the "/tnt" command.
    • touchtnt.cake - Allows use of the "/cake" command.
    Download TouchTNT.jar (If you're a server admin you want this)
    Download TouchTNT Source Code
    Downloads Statistics

    Changelog (last three releases):
    Version 1.3 & minor update 1.3.1.
    • Added support for cake!
    • Changes some word in the /tnt help menu.
    • Added argument: -t.
    Version 1.2
    • Added Permissions Support
    • Fixed the bug where BoomMode failed to activate when broadcasting to the server.
    Version 1.1
    • Added support for arguments:
    • -n and -b.
    • Added a help menu - /tnt ?
    Complete Change Log
     
  2. Offline

    Spitfire21

    Linux mint ftw, I mean who doesnt like right-click open as root. On topic to create a config file do this:
    Code:
        if (!new File("plugins/touchTNT").exists()){
    
            new File("plugins/touchTNT").mkdir();
            Configuration config = new Configuration(new File("plugins/touchTNT", "config.yml"));
    
            config.load();
    
            config.setProperty("BlowUpMessage", "MYMESSAGE");
    
            config.save();
    
             BlowUpmessagestring = config.getString("BlowUpMessage", "MYMESSAGE");
    
            }
            else {
            Configuration config = new Configuration(new File("plugins/touchTNT", "config.yml"));
                        config.load();
    
           BlowUpmessagestring = config.getString("BlowUpMessage", "MYMESSAGE");
    
            }
    
    Have Fun :) Make sure BlowUpmessagestring is defined.
     
    Daniel Heppner likes this.
  3. Offline

    Plague

    cb 677 - inactive
     

Share This Page