[ADMIN][ANTI-GRIEF] ContainerSecurity Plugin

Discussion in 'Inactive/Unsupported Plugins' started by Cornyfisch, Apr 29, 2012.

  1. Offline

    Cornyfisch

    ContainerSecurity[CS]

    This server plugin allows you to lock containers and save their stuff to be griefed or stolen by other players. It is very easy and handy to use, there are severeal lock/unlock modes, a info command to see wether a container is locked and of course you have the ability to enable auto locking, so it locks your containers while placing them.​

    Features
    • You can specify which type of containers player are able to lock. Default is: chest, furnace(burning furnace), dispenser, brewing stand snd enchantment table!
    • There is for each command (except "/cancelaction") a long mode meaning you don't have to type in the same command again ang again!
    • You can get information about the containers to see wether one is locked!
    • Two languages: ENGLISH [​IMG] AND GERMAN [​IMG]!
    Commands
    • /lock - lock containers
    • /lock long - enables long locking, you can lock container by clicking them and you don't have to type in the command again
    • /lock auto - toggles auto locking, you lock containers while placing them, so they're ready to be filled savely
    • /unlock - unlock containers
    • /unlock long - has the same funcation as "/lock long" but this time you unlock the containers
    • /info - gives you information about the container
    • /info - the same as "/lock long" and "/unlock long" with getting information instead of locking or unlocking containers
    • /cancelaction - Alias: /ca - cancels all actions

    TODO List
    • adding support for Permissions
    • fixing the bug when adding doors to the loackable block list in the config.yml
    NOTE

    DO NOT ADD THE ID OF DOORS TO THE LOACKABLE BLOCK LIST IN THE CONFIG.YML
    WATCH OUT WHEN ADDING IDS OF BLOCKS THAT HAVE TWO IDS, LIKE THE FURNACE
     
  2. Offline

    TrustCraft

    Very nice, please keep this going. Easiest plugin for locking I know.
     
  3. Offline

    Deleted user

    1. Latest RB in title ([1.2.5-R4.0]) at the end. [ANTI=GRIEF] isn't needed. It should be SEC.
    Code:
    [ADMN/SEC] ContainerSecurity - Protect your chests easily! [1.2.5-R4.0]
    
    Of course, you can change your short plugin description (Protect your chests easily!). That was just an example.
    2. Changelog at the end of the post please.
    3. Permissions should be easy to implement. If you're using an if/else statement to check if the command belongs to your plugin (Example: /lock), just add a && and the permissions code. Example:
    Code:java
    1. if(cmnd.getName().equalsIgnoreCase("lock") && sender.hasPermission("ContainerSecurity.lock"){


    Good luck with your plugin.
     
  4. Offline

    md_5

    What he said.
     
    Deleted user likes this.

Share This Page