[MISC] LitterWarn v1.0 - Warns Ops of Illegal Drops [953][INACTIVE]

Discussion in 'Inactive/Unsupported Plugins' started by chernobyl360, Jul 10, 2011.

  1. Offline

    chernobyl360

    LitterWarn
    v1.0
    Simple plugin that will warn players when they drop items. Dropped Items Create Lag in rare cases. This also warns OPS when illegal items were dropped (Sponge, Spawners , Bedrock).

    Download:
    http://dl.dropbox.com/u/1015938/LitterWarn.jar

    [​IMG]
    [​IMG]
    [​IMG]

    Features:
    • Warns OPS if illegal items were dropped.
    • Warns Players if He/She Is Littering
    • Colored Messages
    • Sponge / Spawners / Bedrock is Detected
    Todo:
    • Make It So Players Are Fined When Littering occurs!
    • Kicking procedure?
    • Give me Ideas.
    Changelog:
    • V1.0 Release. Tweaks have already been done to make sure messages are correct.
     
  2. Offline

    YouThere

    Great idea for a plugin. :)
     
  3. Offline

    chernobyl360

    Thanks, its not really all the useful lol. im thinking about adding iconomy though. So for every 10 littering warnings you get fined or something like that. im also thinking about adding a kick command. so when the player is cuaght dropping an illegal item OP will get a message - " Would You Like To Kick " + .getPlayer() + " ? " + " If so Type /yes "
     
  4. Offline

    spunkiie

    REQ: Custom messages for Multi-Language support
     
  5. Offline

    baseman101

    What if one player tries to trade an item to another? Will it say no littering?
     
  6. Offline

    chernobyl360

    WOA! damn thats a huge loop hole in my plugin. thanks for pointing that out. ill look into inventory events.

    ill look into it. configs are my weakness atm :p
     
  7. Offline

    captainawesome7

    ;)
    And config files are easy, use Bukkit's included Configuration. I'm sure examples are everywhere, but:
    Code:
    public Configuration config;
    public String message;
    
    public void onEnable() {
        config = getConfiguration();
        message = config.getString("KickMessage", "Would you like to kick %player?");
        config.save();
    } 
    You can use replacement methods to add color support for the message (and obviously replace %player with the player's display name). I'm guessing you know enough about Java to understand that fully, but if you don't just ask.
     
  8. Offline

    chernobyl360

    cool thanks, if i have any issues ill just take a look on the java docs.
     
  9. Offline

    TheAnyInbox

    Ideas (all of these can have settings in a config.yml):
    • Automatic cleanup of drops that you choose, possibly after a certain time
    • Warning on drops that you select
    • Customizable warning messages
    • Log drops and the players location
    • Players type /tradedrops to use drops to trade (like a temporary off switch), or only certain items can be traded
    • A /cleandrops [radius] or [world] that cleans up drops in a certain radius or entire world
    Permissions:
    • litterwarn.ignore - ignores littering on this group/player
    • litterwarn.ignore.<itemID> - ignores certain itemID (See above)
    • litterwarn.item.<itemID> - warn on this item (override)
    • litterwarn.ignore.log - Does warn, but does not log the players drops
    • litterwarn.ignore.cleanup - Does warn, but does not cleanup
    • litterwarn.cleandrops - Allows use of the /cleandrops command
    I just went crazy with ideas, dont blame me. I dont expect you to do any of these! By the way, the idea behind the permissions is that litterwarn is enabled on all players by default.
     
  10. Offline

    chernobyl360

    Conjoined this to ModSiren!
    this is INACTIVE!
     

Share This Page